| |
|
| java.lang.Object javax.xml.stream.XMLInputFactory com.sun.xml.stream.ZephyrParserFactory
ZephyrParserFactory | public class ZephyrParserFactory extends javax.xml.stream.XMLInputFactory (Code) | | Factory Implementation for XMLInputFactory.
author: Neeraj Bajaj Sun Microsystems author: K.Venugopal Sun Microsystems |
Method Summary | |
public XMLEventReader | createFilteredReader(XMLEventReader reader, EventFilter filter) | public XMLStreamReader | createFilteredReader(XMLStreamReader reader, StreamFilter filter) | public XMLEventReader | createXMLEventReader(InputStream inputstream) | public XMLEventReader | createXMLEventReader(Reader reader) | public XMLEventReader | createXMLEventReader(Source source) | public XMLEventReader | createXMLEventReader(String systemId, InputStream inputstream) | public XMLEventReader | createXMLEventReader(java.io.InputStream stream, String encoding) | public XMLEventReader | createXMLEventReader(String systemId, Reader reader) | public XMLEventReader | createXMLEventReader(XMLStreamReader reader) Create a new XMLEventReader from an XMLStreamReader. | public XMLStreamReader | createXMLStreamReader(Reader reader) | public XMLStreamReader | createXMLStreamReader(String systemId, Reader reader) | public XMLStreamReader | createXMLStreamReader(Source source) | public XMLStreamReader | createXMLStreamReader(InputStream inputStream) | public XMLStreamReader | createXMLStreamReader(String systemId, InputStream inputStream) | public XMLStreamReader | createXMLStreamReader(InputStream inputStream, String encoding) | public XMLStreamReader | createXMLStreamReader(String systemId, InputStream inputStream, String encoding) | public XMLEventAllocator | getEventAllocator() | public Object | getProperty(java.lang.String name) | public XMLReporter | getXMLReporter() | public XMLResolver | getXMLResolver() | XMLStreamReader | getXMLStreamReaderImpl(XMLInputSource inputSource) | void | initEventReader() | public boolean | isPropertySupported(String name) Query the set of fProperties that this factory supports. | XMLInputSource | jaxpSourcetoXMLInputSource(Source source) | public void | setEventAllocator(XMLEventAllocator allocator) | public void | setProperty(java.lang.String name, Object value) Allows the user to set specific feature/property on the underlying implementation. | public void | setXMLReporter(XMLReporter xmlreporter) | public void | setXMLResolver(XMLResolver xmlresolver) |
fPropertyChanged | boolean fPropertyChanged(Code) | | |
fReuseInstance | boolean fReuseInstance(Code) | | |
ZephyrParserFactory | public ZephyrParserFactory()(Code) | | Creates a new instance of ZephryParserFactory
|
createXMLEventReader | public XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException(Code) | | Create a new XMLEventReader from an XMLStreamReader. After being used
to construct the XMLEventReader instance returned from this method
the XMLStreamReader must not be used.
Parameters: reader - the XMLStreamReader to read from (may not be modified) a new XMLEventReader throws: XMLStreamException - |
initEventReader | void initEventReader()(Code) | | |
isPropertySupported | public boolean isPropertySupported(String name)(Code) | | Query the set of fProperties that this factory supports.
Parameters: name - The name of the property (may not be null) true if the property is supported and false otherwise |
setEventAllocator | public void setEventAllocator(XMLEventAllocator allocator)(Code) | | Set a user defined event allocator for events
Parameters: allocator - the user defined allocator |
setProperty | public void setProperty(java.lang.String name, Object value) throws java.lang.IllegalArgumentException(Code) | | Allows the user to set specific feature/property on the underlying implementation. The underlying implementation
is not required to support every setting of every property in the specification and may use IllegalArgumentException
to signal that an unsupported property may not be set with the specified value.
Parameters: name - The name of the property (may not be null) Parameters: value - The value of the property throws: java.lang.IllegalArgumentException - if the property is not supported |
Methods inherited from javax.xml.stream.XMLInputFactory | abstract public XMLStreamReader createFilteredReader(XMLStreamReader reader, StreamFilter filter) throws XMLStreamException(Code)(Java Doc) abstract public XMLEventReader createFilteredReader(XMLEventReader reader, EventFilter filter) throws XMLStreamException(Code)(Java Doc) abstract public XMLEventReader createXMLEventReader(java.io.Reader reader) throws XMLStreamException(Code)(Java Doc) abstract public XMLEventReader createXMLEventReader(String systemId, java.io.Reader reader) throws XMLStreamException(Code)(Java Doc) abstract public XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException(Code)(Java Doc) abstract public XMLEventReader createXMLEventReader(Source source) throws XMLStreamException(Code)(Java Doc) abstract public XMLEventReader createXMLEventReader(java.io.InputStream stream) throws XMLStreamException(Code)(Java Doc) abstract public XMLEventReader createXMLEventReader(java.io.InputStream stream, String encoding) throws XMLStreamException(Code)(Java Doc) abstract public XMLEventReader createXMLEventReader(String systemId, java.io.InputStream stream) throws XMLStreamException(Code)(Java Doc) abstract public XMLStreamReader createXMLStreamReader(java.io.Reader reader) throws XMLStreamException(Code)(Java Doc) abstract public XMLStreamReader createXMLStreamReader(Source source) throws XMLStreamException(Code)(Java Doc) abstract public XMLStreamReader createXMLStreamReader(java.io.InputStream stream) throws XMLStreamException(Code)(Java Doc) abstract public XMLStreamReader createXMLStreamReader(java.io.InputStream stream, String encoding) throws XMLStreamException(Code)(Java Doc) abstract public XMLStreamReader createXMLStreamReader(String systemId, java.io.InputStream stream) throws XMLStreamException(Code)(Java Doc) abstract public XMLStreamReader createXMLStreamReader(String systemId, java.io.Reader reader) throws XMLStreamException(Code)(Java Doc) abstract public XMLEventAllocator getEventAllocator()(Code)(Java Doc) abstract public Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException(Code)(Java Doc) abstract public XMLReporter getXMLReporter()(Code)(Java Doc) abstract public XMLResolver getXMLResolver()(Code)(Java Doc) abstract public boolean isPropertySupported(String name)(Code)(Java Doc) public static XMLInputFactory newInstance() throws FactoryConfigurationError(Code)(Java Doc) public static XMLInputFactory newInstance(String factoryId, ClassLoader classLoader) throws FactoryConfigurationError(Code)(Java Doc) abstract public void setEventAllocator(XMLEventAllocator allocator)(Code)(Java Doc) abstract public void setProperty(java.lang.String name, Object value) throws java.lang.IllegalArgumentException(Code)(Java Doc) abstract public void setXMLReporter(XMLReporter reporter)(Code)(Java Doc) abstract public void setXMLResolver(XMLResolver resolver)(Code)(Java Doc)
|
|
|
|