Java™ Platform
Standard Ed. 6

Uses of Interface
javax.xml.stream.XMLEventReader

Packages that use XMLEventReader
javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities. 
javax.xml.bind.helpers JAXB Provider Use Only: Provides partial default implementations for some of the javax.xml.bind interfaces. 
javax.xml.stream   
javax.xml.stream.util   
javax.xml.transform.stax Provides for StAX-specific transformation APIs. 
 

Uses of XMLEventReader in javax.xml.bind
 

Methods in javax.xml.bind with parameters of type XMLEventReader
 Object Unmarshaller.unmarshal(XMLEventReader reader)
          Unmarshal XML data from the specified pull parser and return the resulting content tree.
<T> JAXBElement<T>
Unmarshaller.unmarshal(XMLEventReader reader, Class<T> declaredType)
          Unmarshal root element to JAXB mapped declaredType and return the resulting content tree.
 

Uses of XMLEventReader in javax.xml.bind.helpers
 

Methods in javax.xml.bind.helpers with parameters of type XMLEventReader
 Object AbstractUnmarshallerImpl.unmarshal(XMLEventReader reader)
           
<T> JAXBElement<T>
AbstractUnmarshallerImpl.unmarshal(XMLEventReader reader, Class<T> expectedType)
           
 

Uses of XMLEventReader in javax.xml.stream
 

Methods in javax.xml.stream that return XMLEventReader
abstract  XMLEventReader XMLInputFactory.createFilteredReader(XMLEventReader reader, EventFilter filter)
          Create a filtered event reader that wraps the filter around the event reader
abstract  XMLEventReader XMLInputFactory.createXMLEventReader(InputStream stream)
          Create a new XMLEventReader from a java.io.InputStream
abstract  XMLEventReader XMLInputFactory.createXMLEventReader(InputStream stream, String encoding)
          Create a new XMLEventReader from a java.io.InputStream
abstract  XMLEventReader XMLInputFactory.createXMLEventReader(Reader reader)
          Create a new XMLEventReader from a reader
abstract  XMLEventReader XMLInputFactory.createXMLEventReader(Source source)
          Create a new XMLEventReader from a JAXP source.
abstract  XMLEventReader XMLInputFactory.createXMLEventReader(String systemId, InputStream stream)
          Create a new XMLEventReader from a java.io.InputStream
abstract  XMLEventReader XMLInputFactory.createXMLEventReader(String systemId, Reader reader)
          Create a new XMLEventReader from a reader
abstract  XMLEventReader XMLInputFactory.createXMLEventReader(XMLStreamReader reader)
          Create a new XMLEventReader from an XMLStreamReader.
 

Methods in javax.xml.stream with parameters of type XMLEventReader
 void XMLEventWriter.add(XMLEventReader reader)
          Adds an entire stream to an output stream, calls next() on the inputStream argument until hasNext() returns false This should be treated as a convenience method that will perform the following loop over all the events in an event reader and call add on each event.
abstract  XMLEventReader XMLInputFactory.createFilteredReader(XMLEventReader reader, EventFilter filter)
          Create a filtered event reader that wraps the filter around the event reader
 

Uses of XMLEventReader in javax.xml.stream.util
 

Classes in javax.xml.stream.util that implement XMLEventReader
 class EventReaderDelegate
          This is the base class for deriving an XMLEventReader filter.
 

Methods in javax.xml.stream.util that return XMLEventReader
 XMLEventReader EventReaderDelegate.getParent()
          Get the parent of this instance.
 

Methods in javax.xml.stream.util with parameters of type XMLEventReader
 void EventReaderDelegate.setParent(XMLEventReader reader)
          Set the parent of this instance.
 

Constructors in javax.xml.stream.util with parameters of type XMLEventReader
EventReaderDelegate(XMLEventReader reader)
          Construct an filter with the specified parent.
 

Uses of XMLEventReader in javax.xml.transform.stax
 

Methods in javax.xml.transform.stax that return XMLEventReader
 XMLEventReader StAXSource.getXMLEventReader()
          Get the XMLEventReader used by this StAXSource.
 

Constructors in javax.xml.transform.stax with parameters of type XMLEventReader
StAXSource(XMLEventReader xmlEventReader)
          Creates a new instance of a StAXSource by supplying an XMLEventReader.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.