public final class Document extends Object
Modifier and Type | Method and Description |
---|---|
void |
addDatatypeWriter(DatatypeWriter<?> dw)
Defines additional user object -> string conversion logic.
|
public void addDatatypeWriter(DatatypeWriter<?> dw)
Applications can add their own DatatypeWriter
so that
application-specific objects can be turned into String
for output.
dw
- The DatatypeWriter
to be added. Must not be null.Copyright © 2019 Oracle Corporation. All rights reserved.