public interface DatatypeWriter<DT>
Modifier and Type | Field and Description |
---|---|
static java.util.List<DatatypeWriter<?>> |
BUILTIN |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<DT> |
getType()
Gets the Java class that this writer can write.
|
void |
print(DT dt,
NamespaceResolver resolver,
java.lang.StringBuilder buf)
Prints the given datatype object and appends that result
into the given buffer.
|
static final java.util.List<DatatypeWriter<?>> BUILTIN
java.lang.Class<DT> getType()
void print(DT dt, NamespaceResolver resolver, java.lang.StringBuilder buf)
dt
- the datatype object to be printed.resolver
- allows the converter to declare additional namespace prefixes.