Uses of Interface
javax.xml.stream.XMLStreamReader
-
Packages that use XMLStreamReader Package Description javax.xml.stream Defines interfaces and classes for the Streaming API for XML (StAX).javax.xml.stream.util Provides utility classes for the Streaming API for XML (StAX).javax.xml.transform.stax Provides StAX specific transformation classes. -
-
Uses of XMLStreamReader in javax.xml.stream
Methods in javax.xml.stream that return XMLStreamReader Modifier and Type Method Description abstract 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.InputStreamabstract XMLStreamReader
XMLInputFactory. createXMLStreamReader(InputStream stream, String encoding)
Create a new XMLStreamReader from a java.io.InputStreamabstract XMLStreamReader
XMLInputFactory. createXMLStreamReader(Reader reader)
Create a new XMLStreamReader from a readerabstract XMLStreamReader
XMLInputFactory. createXMLStreamReader(String systemId, InputStream stream)
Create a new XMLStreamReader from a java.io.InputStreamabstract XMLStreamReader
XMLInputFactory. createXMLStreamReader(String systemId, Reader reader)
Create a new XMLStreamReader from a java.io.InputStreamabstract XMLStreamReader
XMLInputFactory. createXMLStreamReader(Source source)
Create a new XMLStreamReader from a JAXP source.Methods in javax.xml.stream with parameters of type XMLStreamReader Modifier and Type Method Description boolean
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
Classes in javax.xml.stream.util that implement XMLStreamReader Modifier and Type Class Description class
StreamReaderDelegate
This is the base class for deriving an XMLStreamReader filter This class is designed to sit between an XMLStreamReader and an application's XMLStreamReader.Methods in javax.xml.stream.util that return XMLStreamReader Modifier and Type Method Description XMLStreamReader
StreamReaderDelegate. getParent()
Get the parent of this instance.Methods in javax.xml.stream.util with parameters of type XMLStreamReader Modifier and Type Method Description XMLEvent
XMLEventAllocator. 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.Constructors in javax.xml.stream.util with parameters of type XMLStreamReader Constructor Description StreamReaderDelegate(XMLStreamReader reader)
Construct an filter with the specified parent. -
Uses of XMLStreamReader in javax.xml.transform.stax
Methods in javax.xml.transform.stax that return XMLStreamReader Modifier and Type Method Description XMLStreamReader
StAXSource. getXMLStreamReader()
Get theXMLStreamReader
used by thisStAXSource
.Constructors in javax.xml.transform.stax with parameters of type XMLStreamReader Constructor Description StAXSource(XMLStreamReader xmlStreamReader)
Creates a new instance of aStAXSource
by supplying anXMLStreamReader
.
-