public class JsonInfosetOutputter extends InfosetOutputterProxy
InfosetOutputter
to build an infoset represented as JSON written to a java.io.OutputStreamConstructor 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()
The InfosetOutputter to proxy infoset events to
|
endArray, endComplex, endDocument, endSimple, reset, startArray, startComplex, startDocument, startSimple
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, getBlobDirectory, getBlobPaths, getBlobPrefix, getBlobSuffix, getStatus, isNilled, org$apache$daffodil$infoset$InfosetOutputter$$blobDirectory_$eq, org$apache$daffodil$infoset$InfosetOutputter$$blobDirectory, org$apache$daffodil$infoset$InfosetOutputter$$blobPaths_$eq, org$apache$daffodil$infoset$InfosetOutputter$$blobPaths, org$apache$daffodil$infoset$InfosetOutputter$$blobPrefix_$eq, org$apache$daffodil$infoset$InfosetOutputter$$blobPrefix, org$apache$daffodil$infoset$InfosetOutputter$$blobSuffix_$eq, org$apache$daffodil$infoset$InfosetOutputter$$blobSuffix, setBlobAttributes, setBlobPaths, status
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()
InfosetOutputterProxy
infosetOutputter
in class InfosetOutputterProxy