public interface NodeFormatter
Modifier and Type | Method and Description |
---|---|
void |
format(AWriter w,
Node n) |
void |
formatBNode(AWriter w,
Node n)
Node is guaranteed to be a blank node
|
void |
formatBNode(AWriter w,
String label) |
void |
formatLitDT(AWriter w,
String lex,
String datatypeURI)
Literal with datatype, not a simple literal, not an xsd:string (RDF 1.1), no language tag.
|
void |
formatLiteral(AWriter w,
Node n)
Node is guaranteed to be a literal
|
void |
formatLitLang(AWriter w,
String lex,
String langTag)
String with language tag
|
void |
formatLitString(AWriter w,
String lex)
Plain string / xsd:string (RDF 1.1)
|
void |
formatURI(AWriter w,
Node n)
Node is guaranteed to be a URI node
|
void |
formatURI(AWriter w,
String uriStr) |
void |
formatVar(AWriter w,
Node n) |
void |
formatVar(AWriter w,
String name) |
Licenced under the Apache License, Version 2.0