Package com.sun.xml.txw2
Class Document
java.lang.Object
com.sun.xml.txw2.Document
Coordinates the entire writing process.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDatatypeWriter
(DatatypeWriter<?> dw) Defines additional user object->
string conversion logic.
-
Method Details
-
addDatatypeWriter
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.
-