org.deri.wsmo4j.io.parser.rdf
Class RDFParserError

java.lang.Object
  extended by org.deri.wsmo4j.io.parser.rdf.RDFParserMessage
      extended by org.deri.wsmo4j.io.parser.rdf.RDFParserError

public class RDFParserError
extends RDFParserMessage

This class represents a RDF Parser Error.

  Created on Nov 14, 2006
  Committed by $Author: nathaliest $
  $Source$
 

Version:
$Revision: 1876 $ $Date: 2006-11-16 11:53:28 +0200 (Thu, 16 Nov 2006) $
Author:
nathalie.steinmetz@deri.org

Constructor Summary
RDFParserError(String message, int lineNo, int colNo)
           
 
Method Summary
 boolean equals(Object obj)
           The equals method implements an equivalence relation on non-null object references.
 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

RDFParserError

public RDFParserError(String message,
                      int lineNo,
                      int colNo)
Method Detail

equals

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.

Overrides:
equals in class Object
Parameters:
o - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.
See Also:
Object.equals(java.lang.Object), Object.hashCode()

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.

Overrides:
hashCode in class Object
Returns:
A hash code value for this Object.
See Also:
Object.hashCode(), Object.equals(Object)


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.