|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hp.hpl.jena.graph.Node com.hp.hpl.jena.graph.Node_Fluid com.hp.hpl.jena.graph.Node_ANY
public class Node_ANY
A Node_ANY (there should be only one) is a meta-node that is used to stand for any other node in a query.
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)
Node_ANY's are only equal to other Node_ANY's |
boolean |
matches(Node other)
Answer true iff this node accepts the other one as a match. |
String |
toString()
Answer a human-readable representation of this Node. |
String |
toString(PrefixMapping pm,
boolean quoting)
Answer a human readable representation of this Node, quoting literals if specified, and compressing URIs using the prefix mapping supplied. |
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_Fluid |
---|
isConcrete |
Methods inherited from class com.hp.hpl.jena.graph.Node |
---|
create, createAnon, createAnon, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createUncachedLiteral, createUncachedLiteral, createURI, createVariable, getBlankNodeId, getBlankNodeLabel, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getName, getNameSpace, getType, getURI, hashCode, hasURI, isBlank, isLiteral, isURI, isVariable, sameValueAs, toString, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean equals(Object other)
equals
in class Node
public Object visitWith(NodeVisitor v)
Node
v
.
visitWith
in class Node
v
- the visitor to apply to the node
public boolean matches(Node other)
Node
matches
in class Node
other
- a node to test for matching
public String toString()
Node
toString
in class Node
public String toString(PrefixMapping pm, boolean quoting)
Node
toString
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |