public final class JSONUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
XSI_PREFIX |
static String |
XSI_URI |
Modifier and Type | Method and Description |
---|---|
static XMLStreamReader |
createBadgerFishReader(InputStream is,
String enc) |
static XMLStreamWriter |
createBadgerFishWriter(OutputStream os,
String enc) |
static org.codehaus.jettison.mapped.Configuration |
createConfiguration(ConcurrentHashMap<String,String> namespaceMap,
boolean writeXsiType,
boolean attributesAsElements,
org.codehaus.jettison.mapped.TypeConverter converter) |
static XMLStreamWriter |
createIgnoreMixedContentWriterIfNeeded(XMLStreamWriter writer,
boolean ignoreMixedContent) |
static XMLStreamWriter |
createIgnoreNsWriterIfNeeded(XMLStreamWriter writer,
boolean ignoreNamespaces,
boolean ignoreXsiAttributes) |
static XMLStreamReader |
createStreamReader(InputStream is,
boolean readXsiType,
ConcurrentHashMap<String,String> namespaceMap) |
static XMLStreamReader |
createStreamReader(InputStream is,
boolean readXsiType,
ConcurrentHashMap<String,String> namespaceMap,
String namespaceSeparator,
List<String> primitiveArrayKeys,
DocumentDepthProperties depthProps,
String enc) |
static XMLStreamWriter |
createStreamWriter(OutputStream os,
QName qname,
boolean writeXsiType,
org.codehaus.jettison.mapped.Configuration config,
boolean serializeAsArray,
List<String> arrayKeys,
boolean dropRootElement,
String enc) |
public static final String XSI_PREFIX
public static final String XSI_URI
public static XMLStreamWriter createBadgerFishWriter(OutputStream os, String enc) throws XMLStreamException
XMLStreamException
public static XMLStreamReader createBadgerFishReader(InputStream is, String enc) throws XMLStreamException
XMLStreamException
public static XMLStreamWriter createStreamWriter(OutputStream os, QName qname, boolean writeXsiType, org.codehaus.jettison.mapped.Configuration config, boolean serializeAsArray, List<String> arrayKeys, boolean dropRootElement, String enc) throws Exception
Exception
public static org.codehaus.jettison.mapped.Configuration createConfiguration(ConcurrentHashMap<String,String> namespaceMap, boolean writeXsiType, boolean attributesAsElements, org.codehaus.jettison.mapped.TypeConverter converter)
public static XMLStreamWriter createIgnoreMixedContentWriterIfNeeded(XMLStreamWriter writer, boolean ignoreMixedContent)
public static XMLStreamWriter createIgnoreNsWriterIfNeeded(XMLStreamWriter writer, boolean ignoreNamespaces, boolean ignoreXsiAttributes)
public static XMLStreamReader createStreamReader(InputStream is, boolean readXsiType, ConcurrentHashMap<String,String> namespaceMap) throws Exception
Exception
public static XMLStreamReader createStreamReader(InputStream is, boolean readXsiType, ConcurrentHashMap<String,String> namespaceMap, String namespaceSeparator, List<String> primitiveArrayKeys, DocumentDepthProperties depthProps, String enc) throws Exception
Exception
Apache CXF