Java javax.xml.stream XMLInputFactory fields, constructors, methods, implement or subclass

Example usage for Java javax.xml.stream XMLInputFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.xml.stream XMLInputFactory.

The text is from its open source code.

Field

StringIS_NAMESPACE_AWARE
The property used to turn on/off namespace support, this is to support XML 1.0 documents, only the true setting must be supported
StringIS_VALIDATING
The property used to turn on/off implementation specific validation
StringIS_COALESCING
The property that requires the parser to coalesce adjacent character data sections
StringIS_REPLACING_ENTITY_REFERENCES
Requires the parser to replace internal entity references with their replacement text and report them as characters
StringIS_SUPPORTING_EXTERNAL_ENTITIES
The property that requires the parser to resolve external parsed entities
StringSUPPORT_DTD
The property that requires the parser to support DTDs

Method

XMLStreamReadercreateFilteredReader(XMLStreamReader reader, StreamFilter filter)
Create a filtered reader that wraps the filter around the reader
XMLEventReadercreateFilteredReader(XMLEventReader reader, EventFilter filter)
Create a filtered event reader that wraps the filter around the event reader
XMLEventReadercreateXMLEventReader(java.io.Reader reader)
Create a new XMLEventReader from a reader
XMLEventReadercreateXMLEventReader(XMLStreamReader reader)
Create a new XMLEventReader from an XMLStreamReader.
XMLEventReadercreateXMLEventReader(Source source)
Create a new XMLEventReader from a JAXP source.
XMLEventReadercreateXMLEventReader(java.io.InputStream stream)
Create a new XMLEventReader from a java.io.InputStream
XMLEventReadercreateXMLEventReader(String systemId, java.io.Reader reader)
Create a new XMLEventReader from a reader
XMLEventReadercreateXMLEventReader(java.io.InputStream stream, String encoding)
Create a new XMLEventReader from a java.io.InputStream
XMLEventReadercreateXMLEventReader(String systemId, java.io.InputStream stream)
Create a new XMLEventReader from a java.io.InputStream
XMLStreamReadercreateXMLStreamReader(java.io.Reader reader)
Create a new XMLStreamReader from a reader
XMLStreamReadercreateXMLStreamReader(Source source)
Create a new XMLStreamReader from a JAXP source.
XMLStreamReadercreateXMLStreamReader(java.io.InputStream stream)
Create a new XMLStreamReader from a java.io.InputStream
XMLStreamReadercreateXMLStreamReader(java.io.InputStream stream, String encoding)
Create a new XMLStreamReader from a java.io.InputStream
XMLStreamReadercreateXMLStreamReader(String systemId, java.io.InputStream stream)
Create a new XMLStreamReader from a java.io.InputStream
XMLStreamReadercreateXMLStreamReader(String systemId, java.io.Reader reader)
Create a new XMLStreamReader from a java.io.InputStream
ClassgetClass()
Returns the runtime class of this Object .
XMLEventAllocatorgetEventAllocator()
Gets the allocator used by streams created with this factory
booleanisPropertySupported(String name)
Query the set of properties that this factory supports.
XMLInputFactorynewFactory()
Create a new instance of the factory.
XMLInputFactorynewFactory(String factoryId, ClassLoader classLoader)
Create a new instance of the factory.
XMLInputFactorynewInstance()
Creates a new instance of the factory in exactly the same manner as the #newFactory() method.
XMLInputFactorynewInstance(String factoryId, ClassLoader classLoader)
Create a new instance of the factory
voidsetEventAllocator(XMLEventAllocator allocator)
Set a user defined event allocator for events
voidsetProperty(java.lang.String name, Object value)
Allows the user to set specific feature/property on the underlying implementation.
voidsetXMLReporter(XMLReporter reporter)
The reporter that will be set on any XMLStreamReader or XMLEventReader created by this factory instance.
voidsetXMLResolver(XMLResolver resolver)
The resolver that will be set on any XMLStreamReader or XMLEventReader created by this factory instance.