com.sun.xml.txw2
public interface DatatypeWriter<DT>
Modifier and Type | Field and Description |
---|---|
static DatatypeWriter<?>[] |
BUILDIN |
Modifier and Type | Method and 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 DatatypeWriter<?>[] BUILDIN
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.