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 TypeMethodDescriptionbooleanNodes only equal other Nodes that have equal labels.getGraph()Get the graph for a graph term (N3 formula), otherwise die horriblyinthashCode()booleanAnswer true iff this node is concrete, ie not variable, ie URI, blank, or literal.booleanAnswer 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:NodeAnswer true iff this node is an "graph node" (N3 formula). This is not related to named graphs.- Overrides:
isNodeGraphin classNode
-
getGraph
Description copied from class:NodeGet the graph for a graph term (N3 formula), otherwise die horribly -
visitWith
Description copied from class:NodeVisit a Node and dispatch on it to the appropriate method from the NodeVisitorv. -
hashCode
public int hashCode() -
equals
Description copied from class:NodeNodes only equal other Nodes that have equal labels. -
isConcrete
public boolean isConcrete()Description copied from class:NodeAnswer true iff this node is concrete, ie not variable, ie URI, blank, or literal.- Specified by:
isConcretein classNode
-