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 . |
isConcrete
create, getBlankNodeId, getBlankNodeLabel, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getName, hashCode, isBlank, isLiteral, isVariable, matches, sameValueAs, toString, toString, toString
public String getURI()
Node
public Object visitWith(NodeVisitor v)
Node
v
.public boolean isURI()
Node
public String toString(PrefixMapping pm, boolean quoting)
public boolean equals(Object other)
Node
public String getNameSpace()
Node
getNameSpace
in class Node
public String getLocalName()
Node
getLocalName
in class Node
Licenced under the Apache License, Version 2.0