public class JsonInfosetOutputter extends InfosetOutputterProxy
Constructor and Description |
---|
JsonInfosetOutputter(java.io.OutputStream os,
boolean pretty)
Output the infoset as json text, written to a java.io.OutputStream
|
JsonInfosetOutputter(java.io.Writer writer)
Deprecated.
This constructor is deprecated. Use JsonInfosetOutputter(java.io.OutputStream, Boolean) instead. Since 2.4.0.
|
JsonInfosetOutputter(java.io.Writer writer,
boolean pretty)
Deprecated.
This constructor is deprecated. Use JsonInfosetOutputter(java.io.OutputStream, Boolean) instead. Since 2.4.0.
|
Modifier and Type | Method and Description |
---|---|
org.apache.daffodil.infoset.JsonInfosetOutputter |
infosetOutputter() |
endArray, endComplex, endDocument, endSimple, reset, startArray, startComplex, startDocument, startSimple
public JsonInfosetOutputter(java.io.Writer writer, boolean pretty)
writer
- the java.io.Writer to write the json text topretty
- enable or disable pretty printing. Pretty printing will only
insert indentation and newlines where it will not affect the
content of the json.public JsonInfosetOutputter(java.io.Writer writer)
writer
- the java.io.Writer to write the json text topublic JsonInfosetOutputter(java.io.OutputStream os, boolean pretty)
os
- the java.io.OutputStream to write the json text topretty
- enable or disable pretty printing. Pretty printing will only
insert indentation and newlines where it will not affect the
content of the json.public org.apache.daffodil.infoset.JsonInfosetOutputter infosetOutputter()
infosetOutputter
in class InfosetOutputterProxy