|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deri.wsmo4j.io.parser.rdf.RDFParserMessage
org.deri.wsmo4j.io.parser.rdf.RDFParserWarning
public class RDFParserWarning
This class represents a RDF Parse Warning.
Created on May 02, 2006 Committed by $Author: morcen $ $Source$
| Constructor Summary | |
|---|---|
RDFParserWarning(String warningMessage,
int lineNo,
int colNo)
|
|
| Method Summary | |
|---|---|
void |
addToTriples(org.openrdf.model.Statement statement)
All triples that were not recognized, and thus not transformed and added to the WSMO object model, are put into a Set. |
boolean |
equals(Object obj)
The equals method implements an equivalence relation
on non-null object references. |
Set |
getTriples()
This method returns a Set containing all triples that were not recognized, and thus not transformed and added to the WSMO object model. |
int |
hashCode()
If two objects are equal according to the equals(Object) method, then calling
the hashCode method on each of the two objects must produce the same integer
result. |
| Methods inherited from class org.deri.wsmo4j.io.parser.rdf.RDFParserMessage |
|---|
getColumn, getLine, getMessage, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RDFParserWarning(String warningMessage,
int lineNo,
int colNo)
| Method Detail |
|---|
public void addToTriples(org.openrdf.model.Statement statement)
statement - statement to be added to the triples setpublic Set getTriples()
public boolean equals(Object obj)
The equals method implements an equivalence relation
on non-null object references. RDFParserWarnings are equal if their
warning message and their line and column numbers are equal.
It is generally necessary to override the hashCode method whenever this method
is overridden.
equals in class Objecto - the reference object with which to compare.
true if this object is the same as the obj
argument; false otherwise.Object.equals(java.lang.Object),
Object.hashCode()public int hashCode()
If two objects are equal according to the equals(Object) method, then calling
the hashCode method on each of the two objects must produce the same integer
result. However, it is not required that if two objects are unequal according to
the equals(Object) method, then calling the hashCode method on each of the two
objects must produce distinct integer results.
This method should be overriden, when the equals(Object) method is overriden.
hashCode in class ObjectObject.hashCode(),
Object.equals(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||