Package org.apache.jena.graph
Class Node_Ext<X>
java.lang.Object
org.apache.jena.graph.Node
org.apache.jena.graph.Node_Ext<X>
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Node_Marker
Extension to the RDF Data model.
This class and any subclasses exist for experimentation and custom extensions.
There is no support for them within Apache Jena.
Extension nodes exist so that the machinery of datastructures (graphs, triples) can be used. There is no guarantee that processing Nodes (e.g. writing) will handle extensions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.graph.Node
Node.NotLiteral -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbooleanNodes only equal other Nodes that have equal labels.get()inthashCode()booleanAnswer true iff this node is concrete, ie not variable, ie URI, blank, or literal.booleanisExt()Extension node.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, getGraph, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getName, getNameSpace, getTriple, getURI, hasURI, isBlank, isLiteral, isNodeGraph, isNodeTriple, isURI, isVariable, matches, sameValueAs, toString, toString, toString, toString
-
Method Details
-
visitWith
Description copied from class:NodeVisit a Node and dispatch on it to the appropriate method from the NodeVisitorv. -
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
-
get
-
isExt
public boolean isExt()Description copied from class:NodeExtension node. Typically used in data structures based on triples. -
hashCode
public int hashCode() -
equals
Description copied from class:NodeNodes only equal other Nodes that have equal labels.
-