## Uses of Class
org.apache.synapse.commons.staxon.core.json.JsonXMLOutputFactory

- Packages that use JsonXMLOutputFactory
  Package | Description
  --- | ---
  org.apache.synapse.commons.json |
  org.apache.synapse.commons.staxon.core.json.jaxb | JAXB support for JSON.

- - ### Uses of JsonXMLOutputFactory in org.apache.synapse.commons.json

    Methods in org.apache.synapse.commons.json that return JsonXMLOutputFactory
    Modifier and Type | Method and Description
    --- | ---
    `static JsonXMLOutputFactory` | JsonUtil.`generateJSONOutputFactory(java.util.Properties props)` Generate factory that is used to create JSON Writers It uses configuration that is used to format the JSON output produced by the JSON writer.
    `static JsonXMLOutputFactory` | JsonUtil.`generateJSONOutputFactoryWithOveride(java.util.Properties props)` Generate factory that is used to create JSON Writers This is will override the global configration

    Methods in org.apache.synapse.commons.json with parameters of type JsonXMLOutputFactory
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.StringBuilder` | JsonUtil.`toJsonString(org.apache.axiom.om.OMElement element, JsonXMLOutputFactory jsonOutputFactory)` Converts an XML element to its JSON representation and returns it as a String.
    `static void` | JsonUtil.`transformElement(org.apache.axiom.om.OMElement element, boolean processAttrbs, java.util.Map properties, JsonXMLOutputFactory jsonOutputFactory)` Removes XML namespace declarations, and namespace prefixes from an XML element.
    `static void` | JsonUtil.`writeAsJson(org.apache.axiom.om.OMElement element, java.io.OutputStream outputStream, java.util.Map properties, JsonXMLOutputFactory jsonOutputFactory)`
    `static void` | JsonUtil.`writeAsJson(org.apache.axiom.om.OMElement element, java.io.OutputStream outputStream, java.util.Map properties, JsonXMLOutputFactory jsonOutputFactory, java.lang.String encoding)` Converts an XML element to its JSON representation and writes it to an output stream. Note that this method removes all existing namespace declarations and namespace prefixes of the provided XML element

  - ### Uses of JsonXMLOutputFactory in org.apache.synapse.commons.staxon.core.json.jaxb

    Methods in org.apache.synapse.commons.staxon.core.json.jaxb that return JsonXMLOutputFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected JsonXMLOutputFactory` | JsonXMLBinder.`createOutputFactory(java.lang.Class<?> type, JsonXML config)`

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