Class ImmutableXMLInputFactory
java.lang.Object
javax.xml.stream.XMLInputFactory
org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper
org.apache.axiom.util.stax.wrapper.ImmutableXMLInputFactory
Wraps an
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.-
Field Summary
Fields inherited from class javax.xml.stream.XMLInputFactory
ALLOCATOR, IS_COALESCING, IS_NAMESPACE_AWARE, IS_REPLACING_ENTITY_REFERENCES, IS_SUPPORTING_EXTERNAL_ENTITIES, IS_VALIDATING, REPORTER, RESOLVER, SUPPORT_DTD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetEventAllocator(XMLEventAllocator allocator) voidsetProperty(String name, Object value) voidsetXMLReporter(XMLReporter reporter) voidsetXMLResolver(XMLResolver resolver) Methods inherited from class org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper
createFilteredReader, createFilteredReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, getEventAllocator, getProperty, getXMLReporter, getXMLResolver, isPropertySupportedMethods inherited from class javax.xml.stream.XMLInputFactory
newDefaultFactory, newFactory, newFactory, newInstance, newInstance
-
Constructor Details
-
ImmutableXMLInputFactory
Constructor.- Parameters:
parent- the parent factory
-
-
Method Details
-
setEventAllocator
- Overrides:
setEventAllocatorin classXMLInputFactoryWrapper
-
setProperty
- Overrides:
setPropertyin classXMLInputFactoryWrapper- Throws:
IllegalArgumentException
-
setXMLReporter
- Overrides:
setXMLReporterin classXMLInputFactoryWrapper
-
setXMLResolver
- Overrides:
setXMLResolverin classXMLInputFactoryWrapper
-