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.| 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(java.lang.String name,
java.lang.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, isPropertySupportedpublic ImmutableXMLInputFactory(javax.xml.stream.XMLInputFactory parent)
parent - the parent factorypublic void setEventAllocator(javax.xml.stream.util.XMLEventAllocator allocator)
setEventAllocator in class XMLInputFactoryWrapperpublic void setProperty(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalArgumentException
setProperty in class XMLInputFactoryWrapperjava.lang.IllegalArgumentExceptionpublic void setXMLReporter(javax.xml.stream.XMLReporter reporter)
setXMLReporter in class XMLInputFactoryWrapperpublic void setXMLResolver(javax.xml.stream.XMLResolver resolver)
setXMLResolver in class XMLInputFactoryWrapper