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

## Class JsonXMLStreamConstants

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

-     public class JsonXMLStreamConstants
      extends java.lang.Object

  Constants used by reader and writer classes.

- - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsonXMLStreamConstants()`

  - ### Method Summary

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

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

- - ### Field Detail

    - #### MULTIPLE_PI_TARGET

          public static final java.lang.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 Detail

    - #### JsonXMLStreamConstants

          public JsonXMLStreamConstants()

Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.