Package org.apache.synapse.commons.staxon.core.json

# Class JsonXMLStreamConstants

java.lang.Object
org.apache.synapse.commons.staxon.core.json.JsonXMLStreamConstants

public class JsonXMLStreamConstants extends Object
Constants used by reader and writer classes.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `MULTIPLE_PI_TARGET`
  The name of the processing instruction used to indicate collections: `<?xml-multiple bob?>`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JsonXMLStreamConstants()`

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### 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

- ## Constructor Details

  - ### JsonXMLStreamConstants

    public JsonXMLStreamConstants()