org.w3c.rdf.implementation.model
Class RDFNodeImpl
java.lang.Object
|
+--org.w3c.rdf.implementation.model.RDFNodeImpl
- All Implemented Interfaces:
- Digestable, RDFNode
- Direct Known Subclasses:
- LiteralImpl, ResourceImpl
- public abstract class RDFNodeImpl
- extends java.lang.Object
- implements RDFNode, Digestable
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
label
protected java.lang.String label
digest
protected Digest digest
RDFNodeImpl
protected RDFNodeImpl()
RDFNodeImpl
public RDFNodeImpl(java.lang.String label)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getLabel
public java.lang.String getLabel()
- Description copied from interface:
RDFNode
- The formal string label of the node.
URI in case of a resource, string in case of a literal.
- Specified by:
getLabel
in interface RDFNode
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getDigest
public Digest getDigest()
throws DigestException
- Specified by:
getDigest
in interface Digestable
- Following copied from interface:
org.w3c.tools.crypt.Digestable
- Returns:
- a Digest
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in class java.lang.Object