public class Node_URI extends Node_Concrete
Node.NotLiteral| Modifier and Type | Method and Description |
|---|---|
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. |
isConcretecreate, 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, toStringpublic String getURI()
Nodepublic Object visitWith(NodeVisitor v)
Nodev.public boolean isURI()
Nodepublic String toString(PrefixMapping pm, boolean quoting)
public boolean equals(Object other)
Nodepublic String getNameSpace()
NodegetNameSpace in class Nodepublic String getLocalName()
NodegetLocalName in class NodeLicenced under the Apache License, Version 2.0