Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.xml.txw2
Class Document

    java.lang.Object
      com.sun.xml.txw2.Document

    public final class Document

extends java.lang.Object

Coordinates the entire writing process.

Author:
  Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Method Summary
`void` | `addDatatypeWriter(DatatypeWriter<?> dw)` Defines additional user object -> string conversion logic.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### addDatatypeWriter

    public void addDatatypeWriter(DatatypeWriter<?> dw)

  Defines additional user object -> string conversion logic.

  Applications can add their own `DatatypeWriter` so that application-specific objects can be turned into `String` for output.

  Parameters:
    `dw` - The `DatatypeWriter` to be added. Must not be null.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD