public class Node_Triple extends Node_Ext<Triple>
Node.NotLiteral| Constructor and Description |
|---|
Node_Triple(Node s,
Node p,
Node o) |
Node_Triple(Triple triple) |
| Modifier and Type | Method and Description |
|---|---|
static Node_Triple |
cast(Node n) |
boolean |
isConcrete()
Answer true iff this node is concrete, ie not variable, ie URI, blank, or literal.
|
boolean |
isNodeTriple()
Answer true iff this node is an "triple node" (RDF*)
|
String |
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.
|
static Triple |
triple(Node n)
Return the triple from a Node_Triple.
|
static Triple |
tripleOrNull(Node n) |
create, getBlankNodeId, getBlankNodeLabel, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getName, getNameSpace, getURI, hasURI, isBlank, isLiteral, isNodeGraph, isURI, isVariable, matches, sameValueAs, toString, toString, toStringpublic Node_Triple(Triple triple)
public static Triple triple(Node n)
JenaException if not a Node_Triple.
Pairs with Node.isNodeTriple()public static Node_Triple cast(Node n)
public boolean isConcrete()
NodeisConcrete in class Node_Ext<Triple>public boolean isNodeTriple()
NodeisNodeTriple in class Nodepublic String toString(PrefixMapping pm, boolean quoting)
NodeLicenced under the Apache License, Version 2.0