java.lang.Object
org.apache.jena.graph.Node
org.apache.jena.graph.Node_Triple
- All Implemented Interfaces:
Serializable
RDF triples as RDF terms for RDF-star embedded triples.
- 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.Get the triple for a triple term (embedded triple), 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 "triple node" (RDF-star)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.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, getURI, hasURI, isBlank, isExt, isLiteral, isNodeGraph, isURI, isVariable, matches, sameValueAs, toString, toString, toString
-
Constructor Details
-
Node_Triple
-
Node_Triple
-
-
Method Details
-
getTriple
Description copied from class:NodeGet the triple for a triple term (embedded triple), otherwise die horribly -
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
-
isNodeTriple
public boolean isNodeTriple()Description copied from class:NodeAnswer true iff this node is an "triple node" (RDF-star)- Overrides:
isNodeTriplein classNode
-
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.
-