# 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
  Description
  `static JsonXMLOutputFactory`
  JsonUtil.`generateJSONOutputFactory(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(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
  Description
  `static 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, 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, OutputStream outputStream, Map properties, JsonXMLOutputFactory jsonOutputFactory)`
  `static void`
  JsonUtil.`writeAsJson(org.apache.axiom.om.OMElement element, OutputStream outputStream, Map properties, JsonXMLOutputFactory jsonOutputFactory, 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
  Description
  `protected JsonXMLOutputFactory`
  JsonXMLBinder.`createOutputFactory(Class<?> type, JsonXML config)`