| com.sun.xml.txw2.DatatypeWriter
DatatypeWriter | public interface DatatypeWriter (Code) | | Pluggable datatype writer.
author: Kohsuke Kawaguchi |
Method Summary | |
Class<DT> | getType() Gets the Java class that this writer can write.
must not be null. | void | print(DT dt, NamespaceResolver resolver, StringBuilder buf) Prints the given datatype object and appends that result
into the given buffer. |
getType | Class<DT> getType()(Code) | | Gets the Java class that this writer can write.
must not be null. Must be the same value always. |
print | void print(DT dt, NamespaceResolver resolver, StringBuilder buf)(Code) | | Prints the given datatype object and appends that result
into the given buffer.
Parameters: dt - the datatype object to be printed. Parameters: resolver - allows the converter to declare additional namespace prefixes. |
|
|