Package org.apache.jena.graph
Class Node_Graph
java.lang.Object
org.apache.jena.graph.Node
org.apache.jena.graph.Node_Graph
- All Implemented Interfaces:
Serializable
RDF Graphs as RDF terms.
Beware that equality and hashCode are defined by object identity, not graph same-triples nor isomorphism.
For experimentation. Otherwise, unsupported.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.graph.Node
Node.NotLiteral
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Nodes only equal other Nodes that have equal labels.getGraph()
Get the graph for a graph term (N3 formula), otherwise die horriblyint
hashCode()
boolean
Answer true iff this node is concrete, ie not variable, ie URI, blank, or literal.boolean
Answer true iff this node is an "graph node" (N3 formula).Visit a Node and dispatch on it to the appropriate method from the NodeVisitorv
.Methods inherited from class org.apache.jena.graph.Node
getBlankNodeId, getBlankNodeLabel, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getName, getNameSpace, getTriple, getURI, hasURI, isBlank, isExt, isLiteral, isNodeTriple, isURI, isVariable, matches, sameValueAs, toString, toString, toString, toString
-
Constructor Details
-
Node_Graph
-
-
Method Details
-
isNodeGraph
public boolean isNodeGraph()Description copied from class:Node
Answer true iff this node is an "graph node" (N3 formula). This is not related to named graphs.- Overrides:
isNodeGraph
in classNode
-
getGraph
Description copied from class:Node
Get the graph for a graph term (N3 formula), otherwise die horribly -
visitWith
Description copied from class:Node
Visit a Node and dispatch on it to the appropriate method from the NodeVisitorv
. -
hashCode
public int hashCode() -
equals
Description copied from class:Node
Nodes only equal other Nodes that have equal labels. -
isConcrete
public boolean isConcrete()Description copied from class:Node
Answer true iff this node is concrete, ie not variable, ie URI, blank, or literal.- Specified by:
isConcrete
in classNode
-