public class StAXInputFactory extends 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 and Description |
|---|
StAXInputFactory() |
newFactory, newFactory, newInstancepublic static javax.xml.stream.XMLInputFactory newInstance()
public javax.xml.stream.XMLStreamReader createXMLStreamReader(Reader xmlfile) throws javax.xml.stream.XMLStreamException
createXMLStreamReader in class javax.xml.stream.XMLInputFactoryxmlfile - the XML data to read fromjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamReader createXMLStreamReader(InputStream s) throws javax.xml.stream.XMLStreamException
createXMLStreamReader in class javax.xml.stream.XMLInputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamReader createXMLStreamReader(String systemId, Reader xmlfile) throws javax.xml.stream.XMLStreamException
createXMLStreamReader in class javax.xml.stream.XMLInputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamReader createXMLStreamReader(Source source) throws javax.xml.stream.XMLStreamException
createXMLStreamReader in class javax.xml.stream.XMLInputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamReader createXMLStreamReader(String systemId, InputStream inputstream) throws javax.xml.stream.XMLStreamException
createXMLStreamReader in class javax.xml.stream.XMLInputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamReader createXMLStreamReader(InputStream inputstream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLStreamReader in class javax.xml.stream.XMLInputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventReader createXMLEventReader(InputStream inputstream) throws javax.xml.stream.XMLStreamException
createXMLEventReader in class javax.xml.stream.XMLInputFactoryinputstream - javax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventReader createXMLEventReader(Reader reader) throws javax.xml.stream.XMLStreamException
createXMLEventReader in class javax.xml.stream.XMLInputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventReader createXMLEventReader(Source source) throws javax.xml.stream.XMLStreamException
createXMLEventReader in class javax.xml.stream.XMLInputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventReader createXMLEventReader(String systemId, InputStream inputstream) throws javax.xml.stream.XMLStreamException
createXMLEventReader in class javax.xml.stream.XMLInputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventReader createXMLEventReader(InputStream stream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLEventReader in class javax.xml.stream.XMLInputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventReader createXMLEventReader(String systemId, Reader reader) throws javax.xml.stream.XMLStreamException
createXMLEventReader in class javax.xml.stream.XMLInputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventReader createXMLEventReader(javax.xml.stream.XMLStreamReader streamReader) throws javax.xml.stream.XMLStreamException
createXMLEventReader in class javax.xml.stream.XMLInputFactorystreamReader - the XMLStreamReader to read from (may not be modified)javax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.util.XMLEventAllocator getEventAllocator()
getEventAllocator in class javax.xml.stream.XMLInputFactorypublic javax.xml.stream.XMLReporter getXMLReporter()
getXMLReporter in class javax.xml.stream.XMLInputFactorypublic javax.xml.stream.XMLResolver getXMLResolver()
getXMLResolver in class javax.xml.stream.XMLInputFactorypublic void setXMLReporter(javax.xml.stream.XMLReporter xmlreporter)
setXMLReporter in class javax.xml.stream.XMLInputFactorypublic void setXMLResolver(javax.xml.stream.XMLResolver xmlresolver)
setXMLResolver in class javax.xml.stream.XMLInputFactorypublic javax.xml.stream.XMLEventReader createFilteredReader(javax.xml.stream.XMLEventReader reader, javax.xml.stream.EventFilter filter) throws javax.xml.stream.XMLStreamException
createFilteredReader in class javax.xml.stream.XMLInputFactoryreader - the event reader to wrapfilter - the filter to apply to the event readerjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamReader createFilteredReader(javax.xml.stream.XMLStreamReader reader, javax.xml.stream.StreamFilter filter) throws javax.xml.stream.XMLStreamException
createFilteredReader in class javax.xml.stream.XMLInputFactoryreader - the reader to filterfilter - the filter to apply to the readerjavax.xml.stream.XMLStreamExceptionpublic Object getProperty(String name) throws IllegalArgumentException
getProperty in class javax.xml.stream.XMLInputFactoryname - The name of the property (may not be null)IllegalArgumentException - if the property is not supportedpublic boolean isPropertySupported(String name)
isPropertySupported in class javax.xml.stream.XMLInputFactoryname - The name of the property (may not be null)public void setEventAllocator(javax.xml.stream.util.XMLEventAllocator allocator)
setEventAllocator in class javax.xml.stream.XMLInputFactoryallocator - the user defined allocatorpublic void setProperty(String name, Object value) throws IllegalArgumentException
setProperty in class javax.xml.stream.XMLInputFactoryname - The name of the property (may not be null)value - The value of the propertyIllegalArgumentException - if the property is not supportedCopyright © 2012 Oracle Corpration. All Rights Reserved.