|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.graph.Node
com.hp.hpl.jena.graph.Node_Concrete
com.hp.hpl.jena.graph.Node_URI
public class Node_URI
RDF nodes with a global identity given by a URI.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.hp.hpl.jena.graph.Node |
|---|
Node.NotLiteral |
| Field Summary |
|---|
| Fields inherited from class com.hp.hpl.jena.graph.Node |
|---|
ANY, NULL |
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Nodes only equal other Nodes that have equal labels. |
String |
getLocalName()
get the localname part of this node if it's a URI node, else die horribly |
String |
getNameSpace()
get the namespace part of this node if it's a URI node, else die horribly |
String |
getURI()
get the URI of this node if it has one, else die horribly |
boolean |
hasURI(String uri)
answer true iff this node is a URI node with the given URI |
boolean |
isURI()
Answer true iff this node is a URI node [subclasses override] |
String |
toString(PrefixMapping pm,
boolean quoting)
Answer a String representing the node, taking into account the PrefixMapping. |
Object |
visitWith(NodeVisitor v)
Visit a Node and dispatch on it to the appropriate method from the NodeVisitor v. |
| Methods inherited from class com.hp.hpl.jena.graph.Node_Concrete |
|---|
isConcrete |
| Methods inherited from class com.hp.hpl.jena.graph.Node |
|---|
cache, create, createAnon, createAnon, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createUncachedLiteral, createUncachedLiteral, createURI, createVariable, getBlankNodeId, getBlankNodeLabel, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getName, getType, hashCode, isBlank, isLiteral, isVariable, matches, sameValueAs, toString, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getURI()
Node
getURI in class Nodepublic Object visitWith(NodeVisitor v)
Nodev.
visitWith in class Nodev - the visitor to apply to the node
public boolean isURI()
Node
isURI in class Node
public String toString(PrefixMapping pm,
boolean quoting)
toString in class Nodepublic boolean equals(Object other)
Node
equals in class Nodepublic String getNameSpace()
Node
getNameSpace in class Nodepublic String getLocalName()
Node
getLocalName in class Nodepublic boolean hasURI(String uri)
Node
hasURI in class Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||