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