org.infinispan.schematic.internal.document
Class PrettyJsonWriter
java.lang.Object
org.infinispan.schematic.internal.document.CompactJsonWriter
org.infinispan.schematic.internal.document.PrettyJsonWriter
- All Implemented Interfaces:
- JsonWriter
public class PrettyJsonWriter
- extends CompactJsonWriter
Methods inherited from class org.infinispan.schematic.internal.document.CompactJsonWriter |
write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeNull |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrettyJsonWriter
public PrettyJsonWriter()
write
protected void write(Document bson,
Writer writer)
throws IOException
- Overrides:
write
in class CompactJsonWriter
- Throws:
IOException
write
protected void write(Iterable<?> arrayValue,
Writer writer)
throws IOException
- Overrides:
write
in class CompactJsonWriter
- Throws:
IOException
writeArray
protected void writeArray(Object array,
Writer writer)
throws IOException
- Overrides:
writeArray
in class CompactJsonWriter
- Throws:
IOException
indent
protected void indent(Writer writer)
throws IOException
- Throws:
IOException
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.