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 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:
  • Constructor Details

    • JsonXMLStreamConstants

      public JsonXMLStreamConstants()