org.w3c.rdf.model
Interface RDFNode
- All Known Subinterfaces:
- Literal, Model, Resource, SetModel, Statement, VirtualModel
- All Known Implementing Classes:
- RDFNodeImpl, RDFNodeImpl
- public interface RDFNode
An abstract RDF node. Can either be resource or literal, exclusively.
Method Summary |
java.lang.String |
getLabel()
The formal string label of the node. |
getLabel
public java.lang.String getLabel()
throws ModelException
- The formal string label of the node.
URI in case of a resource, string in case of a literal.