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 JsonXMLOutputFactoryJsonUtil. 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 JsonXMLOutputFactoryJsonUtil. generateJSONOutputFactoryWithOveride(Properties props)Generate factory that is used to create JSON Writers This is will override the global configrationMethods in org.apache.synapse.commons.json with parameters of type JsonXMLOutputFactory Modifier and Type Method Description static StringBuilderJsonUtil. toJsonString(org.apache.axiom.om.OMElement element, JsonXMLOutputFactory jsonOutputFactory)Converts an XML element to its JSON representation and returns it as a String.static voidJsonUtil. 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 voidJsonUtil. writeAsJson(org.apache.axiom.om.OMElement element, OutputStream outputStream, Map properties, JsonXMLOutputFactory jsonOutputFactory)static voidJsonUtil. 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 JsonXMLOutputFactoryJsonXMLBinder. createOutputFactory(Class<?> type, JsonXML config)
-