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 TypeMethodDescriptionboolean
Nodes only equal other Nodes that have equal labels.Get the triple for a triple term (embedded triple), 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 "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:Node
Get the triple for a triple term (embedded triple), otherwise die horribly -
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
-
isNodeTriple
public boolean isNodeTriple()Description copied from class:Node
Answer true iff this node is an "triple node" (RDF-star)- Overrides:
isNodeTriple
in classNode
-
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.
-