public static interface NodeWriter.Factory
Modifier and Type | Field and Description |
---|---|
static NodeWriter.Factory |
JSON
A factory to instantiate a writer producing JSON format.
|
static NodeWriter.Factory |
XML
A factory to instantiate a writer producing XML format.
|
Modifier and Type | Method and Description |
---|---|
NodeWriter |
create(Writer writer,
Map<?,?> options)
Creates a new node writer instance for the specified output and options.
|
static final NodeWriter.Factory XML
static final NodeWriter.Factory JSON
NodeWriter create(Writer writer, Map<?,?> options)
writer
- the writer used to serialize characters produced by the node writer.options
- properties to configure the writing process. This is not used at this time.