Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.xml.stream.XMLInputFactory
gnu.xml.stream.XMLInputFactoryImpl
public class XMLInputFactoryImpl
extends XMLInputFactory
Field Summary | |
protected XMLEventAllocator | |
protected boolean | |
protected boolean | |
protected boolean | |
protected boolean | |
protected boolean | |
protected XMLReporter | |
protected XMLResolver | |
protected boolean | |
protected boolean | |
protected boolean | |
protected boolean |
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 | |
|
Method Summary | |
XMLEventReader |
|
XMLStreamReader |
|
XMLEventReader |
|
XMLEventReader |
|
XMLEventReader |
|
XMLEventReader |
|
XMLEventReader |
|
XMLEventReader |
|
XMLEventReader |
|
XMLStreamReader |
|
XMLStreamReader |
|
XMLStreamReader |
|
XMLStreamReader |
|
XMLStreamReader |
|
XMLStreamReader |
|
XMLEventAllocator |
|
protected InputStream |
|
Object |
|
XMLReporter |
|
XMLResolver |
|
boolean | |
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public XMLInputFactoryImpl()
The basic constructor. Object is special, because it has no superclass, so there is no call to super().
public XMLEventReader createFilteredReader(XMLEventReader reader, EventFilter filter) throws XMLStreamException
Create a new filtered reader.
- Overrides:
- createFilteredReader in interface XMLInputFactory
public XMLStreamReader createFilteredReader(XMLStreamReader reader, StreamFilter filter) throws XMLStreamException
Create a new filtered reader.
- Overrides:
- createFilteredReader in interface XMLInputFactory
public XMLEventReader createXMLEventReader(InputStream in) throws XMLStreamException
Creates a new event reader.
- Overrides:
- createXMLEventReader in interface XMLInputFactory
public XMLEventReader createXMLEventReader(InputStream in, String encoding) throws XMLStreamException
Creates a new event reader.
- Overrides:
- createXMLEventReader in interface XMLInputFactory
public XMLEventReader createXMLEventReader(Reader reader) throws XMLStreamException
Creates a new event reader.
- Overrides:
- createXMLEventReader in interface XMLInputFactory
public XMLEventReader createXMLEventReader(String systemId, InputStream in) throws XMLStreamException
Creates a new event reader.
- Overrides:
- createXMLEventReader in interface XMLInputFactory
public XMLEventReader createXMLEventReader(String systemId, Reader reader) throws XMLStreamException
Creates a new event reader.
- Overrides:
- createXMLEventReader in interface XMLInputFactory
public XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException
Creates a new event reader.
- Overrides:
- createXMLEventReader in interface XMLInputFactory
public XMLEventReader createXMLEventReader(Source source) throws XMLStreamException
Creates a new event reader.
- Overrides:
- createXMLEventReader in interface XMLInputFactory
public XMLStreamReader createXMLStreamReader(InputStream in) throws XMLStreamException
Creates a new stream reader.
- Overrides:
- createXMLStreamReader in interface XMLInputFactory
public XMLStreamReader createXMLStreamReader(InputStream in, String encoding) throws XMLStreamException
Creates a new stream reader.
- Overrides:
- createXMLStreamReader in interface XMLInputFactory
public XMLStreamReader createXMLStreamReader(Reader reader) throws XMLStreamException
Creates a new stream reader.
- Overrides:
- createXMLStreamReader in interface XMLInputFactory
public XMLStreamReader createXMLStreamReader(String systemId, InputStream in) throws XMLStreamException
Creates a new stream reader.
- Overrides:
- createXMLStreamReader in interface XMLInputFactory
public XMLStreamReader createXMLStreamReader(String systemId, Reader reader) throws XMLStreamException
Creates a new stream reader.
- Overrides:
- createXMLStreamReader in interface XMLInputFactory
public XMLStreamReader createXMLStreamReader(Source source) throws XMLStreamException
Creates a new stream reader.
- Overrides:
- createXMLStreamReader in interface XMLInputFactory
public XMLEventAllocator getEventAllocator()
Returns the event allocator.
- Overrides:
- getEventAllocator in interface XMLInputFactory
public Object getProperty(String name) throws IllegalArgumentException
Returns the implementation-specific property of the given name.
- Overrides:
- getProperty in interface XMLInputFactory
- Throws:
IllegalArgumentException
- if the property is not supported
public XMLReporter getXMLReporter()
Returns the error reporter.
- Overrides:
- getXMLReporter in interface XMLInputFactory
public XMLResolver getXMLResolver()
Returns the entity resolver.
- Overrides:
- getXMLResolver in interface XMLInputFactory
public boolean isPropertySupported(String name)
Indicates whether the specified property is supported.
- Overrides:
- isPropertySupported in interface XMLInputFactory
public void setEventAllocator(XMLEventAllocator allocator)
Sets the event allocator.
- Overrides:
- setEventAllocator in interface XMLInputFactory
public void setProperty(String name, Object value) throws IllegalArgumentException
Sets the implementation-specific property of the given name.
- Overrides:
- setProperty in interface XMLInputFactory
- Throws:
IllegalArgumentException
- if the property is not supported
public void setXMLReporter(XMLReporter reporter)
Sets the error reporter.
- Overrides:
- setXMLReporter in interface XMLInputFactory
public void setXMLResolver(XMLResolver resolver)
Sets the entity resolver.
- Overrides:
- setXMLResolver in interface XMLInputFactory