public abstract class NodeFormatterBase extends Object implements NodeFormatter
| Constructor and Description |
|---|
NodeFormatterBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
format(Writer w,
Node n) |
void |
formatBNode(Writer w,
Node n)
Node is guaranteed to be a blank node
|
void |
formatLiteral(Writer w,
Node n)
Node is guaranteed to be a literal
|
void |
formatURI(Writer w,
Node n)
Node is guaranteed to be a URI node
|
void |
formatVar(Writer w,
Node n) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitformatBNode, formatLitDT, formatLitLang, formatLitString, formatURI, formatVarpublic void format(Writer w, Node n)
format in interface NodeFormatterpublic void formatURI(Writer w, Node n)
NodeFormatterformatURI in interface NodeFormatterpublic void formatBNode(Writer w, Node n)
NodeFormatterformatBNode in interface NodeFormatterpublic void formatLiteral(Writer w, Node n)
NodeFormatterformatLiteral in interface NodeFormatterpublic void formatVar(Writer w, Node n)
formatVar in interface NodeFormatterLicenced under the Apache License, Version 2.0