java.lang.Object
org.apache.jena.riot.out.NodeFormatterBase
- All Implemented Interfaces:
NodeFormatter
- Direct Known Subclasses:
NodeFormatterNT
Provide implementations of the operations of
NodeFormatter
in terms
of core operations for each node type. N-Triples/N-Quads format.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
formatBNode
(org.apache.jena.atlas.io.AWriter w, Node n) Node is guaranteed to be a blank nodevoid
formatLiteral
(org.apache.jena.atlas.io.AWriter w, Node n) Node is guaranteed to be a literalvoid
Node is guaranteed to be a URI nodevoid
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.riot.out.NodeFormatter
formatBNode, formatLitDT, formatLitLang, formatLitString, formatURI, formatVar
-
Constructor Details
-
NodeFormatterBase
public NodeFormatterBase()
-
-
Method Details
-
format
- Specified by:
format
in interfaceNodeFormatter
-
formatURI
Description copied from interface:NodeFormatter
Node is guaranteed to be a URI node- Specified by:
formatURI
in interfaceNodeFormatter
-
formatBNode
Description copied from interface:NodeFormatter
Node is guaranteed to be a blank node- Specified by:
formatBNode
in interfaceNodeFormatter
-
formatLiteral
Description copied from interface:NodeFormatter
Node is guaranteed to be a literal- Specified by:
formatLiteral
in interfaceNodeFormatter
-
formatVar
- Specified by:
formatVar
in interfaceNodeFormatter
-