Uses of Interface
javax.xml.stream.XMLStreamReader
Package
Description
Defines interfaces and classes for the Streaming API for XML (StAX).
Provides utility classes for the Streaming API for XML (StAX).
Provides StAX specific transformation classes.
-
Uses of XMLStreamReader in javax.xml.stream
Modifier and TypeMethodDescriptionabstract XMLStreamReader
XMLInputFactory.createFilteredReader(XMLStreamReader reader, StreamFilter filter)
Create a filtered reader that wraps the filter around the readerabstract XMLStreamReader
XMLInputFactory.createXMLStreamReader(InputStream stream)
Create a new XMLStreamReader from a java.io.InputStream.abstract XMLStreamReader
XMLInputFactory.createXMLStreamReader(InputStream stream, String encoding)
Create a new XMLStreamReader from a java.io.InputStream.abstract XMLStreamReader
XMLInputFactory.createXMLStreamReader(Reader reader)
Create a new XMLStreamReader from a reader.abstract XMLStreamReader
XMLInputFactory.createXMLStreamReader(String systemId, InputStream stream)
Create a new XMLStreamReader from a java.io.InputStream.abstract XMLStreamReader
XMLInputFactory.createXMLStreamReader(String systemId, Reader reader)
Create a new XMLStreamReader from a java.io.InputStream.abstract XMLStreamReader
XMLInputFactory.createXMLStreamReader(Source source)
Create a new XMLStreamReader from a JAXP source.Modifier and TypeMethodDescriptionboolean
StreamFilter.accept(XMLStreamReader reader)
Tests whether the current state is part of this stream.abstract XMLStreamReader
XMLInputFactory.createFilteredReader(XMLStreamReader reader, StreamFilter filter)
Create a filtered reader that wraps the filter around the readerabstract XMLEventReader
XMLInputFactory.createXMLEventReader(XMLStreamReader reader)
Create a new XMLEventReader from an XMLStreamReader. -
Uses of XMLStreamReader in javax.xml.stream.util
Modifier and TypeClassDescriptionclass
This is the base class for deriving an XMLStreamReader filter This class is designed to sit between an XMLStreamReader and an application's XMLStreamReader.Modifier and TypeMethodDescriptionStreamReaderDelegate.getParent()
Get the parent of this instance.Modifier and TypeMethodDescriptionXMLEventAllocator.allocate(XMLStreamReader reader)
This method allocates an event given the current state of the XMLStreamReader.void
XMLEventAllocator.allocate(XMLStreamReader reader, XMLEventConsumer consumer)
This method allocates an event or set of events given the current state of the XMLStreamReader and adds the event or set of events to the consumer that was passed in.void
StreamReaderDelegate.setParent(XMLStreamReader reader)
Set the parent of this instance.ModifierConstructorDescriptionStreamReaderDelegate(XMLStreamReader reader)
Construct an filter with the specified parent. -
Uses of XMLStreamReader in javax.xml.transform.stax
Modifier and TypeMethodDescriptionStAXSource.getXMLStreamReader()
Get theXMLStreamReader
used by thisStAXSource
.ModifierConstructorDescriptionStAXSource(XMLStreamReader xmlStreamReader)
Creates a new instance of aStAXSource
by supplying anXMLStreamReader
.