public final class HardenedMappedXMLInputFactory extends SetPropertyAllowingMappedXMLInputFactory
SetPropertyAllowingMappedXMLInputFactory (controlling max string length in JSON keys and values)ALLOCATOR, IS_COALESCING, IS_NAMESPACE_AWARE, IS_REPLACING_ENTITY_REFERENCES, IS_SUPPORTING_EXTERNAL_ENTITIES, IS_VALIDATING, REPORTER, RESOLVER, SUPPORT_DTD| Constructor and Description |
|---|
HardenedMappedXMLInputFactory(Configuration config,
int maxStringLength)
Creates instance from given configuration and enforcing a maximum JSON string length
|
| Modifier and Type | Method and Description |
|---|---|
protected org.codehaus.jettison.json.JSONTokener |
createNewJSONTokener(String doc) |
setPropertycreateJSONObject, createXMLStreamReadercreateFilteredReader, createFilteredReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, getEventAllocator, getProperty, getXMLReporter, getXMLResolver, isPropertySupported, setEventAllocator, setXMLReporter, setXMLResolvernewFactory, newFactory, newInstance, newInstancepublic HardenedMappedXMLInputFactory(Configuration config, int maxStringLength)
config - configurationmaxStringLength - maximum string length allowed for JSON keys and string valuesprotected org.codehaus.jettison.json.JSONTokener createNewJSONTokener(String doc)
createNewJSONTokener in class org.codehaus.jettison.AbstractXMLInputFactoryCopyright © 2012–2020. All rights reserved.