org.coode.owl.rdf.model
Class RDFLiteralNode
java.lang.Object
   org.coode.owl.rdf.model.RDFNode
org.coode.owl.rdf.model.RDFNode
       org.coode.owl.rdf.model.RDFLiteralNode
org.coode.owl.rdf.model.RDFLiteralNode
- public class RDFLiteralNode 
- extends RDFNode
Author: Matthew Horridge
 The University Of Manchester
 Bio-Health Informatics Group
 Date: 06-Dec-2006
 
 
| Methods inherited from class java.lang.Object | 
| getClass, notify, notifyAll, wait, wait, wait | 
 
RDFLiteralNode
public RDFLiteralNode(java.lang.String literal)
RDFLiteralNode
public RDFLiteralNode(java.lang.String literal,
                      java.net.URI datatype)
RDFLiteralNode
public RDFLiteralNode(java.lang.String literal,
                      java.lang.String lang)
getURI
public java.net.URI getURI()
- Description copied from class: RDFNode
- Gets the URI of the resource.
 
- 
- Specified by:
- getURIin class- RDFNode
 
- 
- Returns:
- The URI or nullif this is an anonymous resource.
 
isAnonymous
public boolean isAnonymous()
- Description copied from class: RDFNode
- Determines if this node is a resource and is anonymous.
 
- 
- Specified by:
- isAnonymousin class- RDFNode
 
- 
- Returns:
- trueif this is a resource node (i.e.- isLiteralreturns- false) and the
 node is anonymous, or- falseif this is a
 resource node and is not anonymous.
 
getLiteral
public java.lang.String getLiteral()
- 
 
getLang
public java.lang.String getLang()
- 
 
getDatatype
public java.net.URI getDatatype()
- 
 
isTyped
public boolean isTyped()
- 
 
isLiteral
public boolean isLiteral()
- 
- Specified by:
- isLiteralin class- RDFNode
 
- 
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object
 
- 
 
equals
public boolean equals(java.lang.Object obj)
- 
- Overrides:
- equalsin class- java.lang.Object
 
- 
 
hashCode
public int hashCode()
- 
- Overrides:
- hashCodein class- java.lang.Object
 
-