Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Interface
javax.xml.stream.XMLEventReader

Packages that use XMLEventReader
Package Description
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
Modifier and Type Method and Description
 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
Modifier and Type Method and Description
 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
Modifier and Type Method and Description
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
Modifier and Type Method and Description
 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
Modifier and Type Class and Description
 class EventReaderDelegate
          This is the base class for deriving an XMLEventReader filter.
 

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

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

Constructors in javax.xml.stream.util with parameters of type XMLEventReader
Constructor and Description
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
Modifier and Type Method and Description
 XMLEventReader StAXSource.getXMLEventReader()
          Get the XMLEventReader used by this StAXSource.
 

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


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

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