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:
java.io.Serializable
public abstract class Node_Ext<X> extends Node
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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.jena.graph.Node
Node.NotLiteral
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Nodes only equal other Nodes that have equal labels.X
get()
int
hashCode()
boolean
isConcrete()
Answer true iff this node is concrete, ie not variable, ie URI, blank, or literal.java.lang.Object
visitWith(NodeVisitor v)
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 Detail
-
visitWith
public java.lang.Object visitWith(NodeVisitor v)
Description copied from class:Node
Visit a Node and dispatch on it to the appropriate method from the NodeVisitorv
.
-
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
-
get
public X get()
-
-