de.odysseus.staxon.json
Class JsonXMLStreamConstants
java.lang.Object
de.odysseus.staxon.json.JsonXMLStreamConstants
public class JsonXMLStreamConstants
- extends Object
Constants used by reader and writer classes.
|
Field Summary |
static String |
MULTIPLE_PI_TARGET
The name of the processing instruction used to indicate collections:
<?xml-multiple bob?> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MULTIPLE_PI_TARGET
public static final String MULTIPLE_PI_TARGET
- The name of the processing instruction used to indicate collections:
<?xml-multiple bob?>
When writing JSON, information about starting a "collection" as in
<alice><bob>charlie</bob><bob>david</bob></alice>
may be required by the writer. This PI may be used to pass the name
of the muliple element to the writer. The writer will typically close the
array automatically.
When reading JSON, a reader may report this processing instruction on array starts.
- See Also:
- Constant Field Values
JsonXMLStreamConstants
public JsonXMLStreamConstants()
Copyright © 2011-2012. All Rights Reserved.