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, isPropertySupported
newFactory, newFactory, newInstance, newInstance
public ImmutableXMLInputFactory(javax.xml.stream.XMLInputFactory parent)
parent
- the parent factorypublic void setEventAllocator(javax.xml.stream.util.XMLEventAllocator allocator)
setEventAllocator
in class XMLInputFactoryWrapper
public void setProperty(String name, Object value) throws IllegalArgumentException
setProperty
in class XMLInputFactoryWrapper
IllegalArgumentException
public void setXMLReporter(javax.xml.stream.XMLReporter reporter)
setXMLReporter
in class XMLInputFactoryWrapper
public void setXMLResolver(javax.xml.stream.XMLResolver resolver)
setXMLResolver
in class XMLInputFactoryWrapper
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.