public class ImmutableXMLInputFactory extends XMLInputFactoryWrapper
XMLInputFactory so that its state can no longer be changed. The state includes
the properties as well as the XMLEventAllocator, XMLReporter and
XMLResolver instances configured on the factory.ALLOCATOR, IS_COALESCING, IS_NAMESPACE_AWARE, IS_REPLACING_ENTITY_REFERENCES, IS_SUPPORTING_EXTERNAL_ENTITIES, IS_VALIDATING, REPORTER, RESOLVER, SUPPORT_DTD| Constructor and Description |
|---|
ImmutableXMLInputFactory(javax.xml.stream.XMLInputFactory parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setEventAllocator(javax.xml.stream.util.XMLEventAllocator allocator) |
void |
setProperty(String name,
Object value) |
void |
setXMLReporter(javax.xml.stream.XMLReporter reporter) |
void |
setXMLResolver(javax.xml.stream.XMLResolver resolver) |
createFilteredReader, createFilteredReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, getEventAllocator, getProperty, getXMLReporter, getXMLResolver, isPropertySupportednewFactory, newFactory, newInstance, newInstancepublic ImmutableXMLInputFactory(javax.xml.stream.XMLInputFactory parent)
parent - the parent factorypublic void setEventAllocator(javax.xml.stream.util.XMLEventAllocator allocator)
setEventAllocator in class XMLInputFactoryWrapperpublic void setProperty(String name, Object value) throws IllegalArgumentException
setProperty in class XMLInputFactoryWrapperIllegalArgumentExceptionpublic void setXMLReporter(javax.xml.stream.XMLReporter reporter)
setXMLReporter in class XMLInputFactoryWrapperpublic void setXMLResolver(javax.xml.stream.XMLResolver resolver)
setXMLResolver in class XMLInputFactoryWrapperCopyright © The Apache Software Foundation. All Rights Reserved.