- java.lang.Object
-
- com.sun.xml.txw2.Document
-
public final class Document extends Object
Coordinates the entire writing process.- Author:
- Kohsuke Kawaguchi ([email protected])
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDatatypeWriter(DatatypeWriter<Object> dw)
Defines additional user object->
string conversion logic.
-
-
-
Method Detail
-
addDatatypeWriter
public void addDatatypeWriter(DatatypeWriter<Object> dw)
Defines additional user object->
string conversion logic.Applications can add their own
DatatypeWriter
so that application-specific objects can be turned intoString
for output.- Parameters:
dw
- TheDatatypeWriter
to be added. Must not be null.
-
-