public class AutoArrayTarget extends Object implements JsonStreamTarget
JsonXMLStreamWriter.writeStartArray(String) and
JsonXMLStreamWriter.writeEndArray() methods
or by producing <?xml-muliple ...?>
processing instructions.| Constructor and Description |
|---|
AutoArrayTarget(JsonStreamTarget delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
endArray()
End array.
|
void |
endObject()
End object.
|
void |
flush() |
void |
name(String name)
Write name.
|
void |
startArray()
Start array.
|
void |
startObject()
Start object
|
void |
value(Object value)
Write value.
|
public AutoArrayTarget(JsonStreamTarget delegate)
public void name(String name) throws IOException
JsonStreamTargetname in interface JsonStreamTargetIOExceptionpublic void value(Object value) throws IOException
JsonStreamTargetvalue in interface JsonStreamTargetIOExceptionpublic void startObject()
throws IOException
JsonStreamTargetstartObject in interface JsonStreamTargetIOExceptionpublic void endObject()
throws IOException
JsonStreamTargetendObject in interface JsonStreamTargetIOExceptionpublic void startArray()
throws IOException
JsonStreamTargetstartArray in interface JsonStreamTargetIOExceptionpublic void endArray()
throws IOException
JsonStreamTargetendArray in interface JsonStreamTargetIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void flush()
throws IOException
flush in interface FlushableIOExceptionCopyright © 2005–2019 Apache Software Foundation. All rights reserved.