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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractUnmarshallerImpl.unmarshal(XMLEventReader reader) |
<T> JAXBElement<T> |
AbstractUnmarshallerImpl.unmarshal(XMLEventReader reader,
Class<T> expectedType) |
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.
|
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
|
Modifier and Type | Class and Description |
---|---|
class |
EventReaderDelegate
This is the base class for deriving an XMLEventReader
filter.
|
Modifier and Type | Method and Description |
---|---|
XMLEventReader |
EventReaderDelegate.getParent()
Get the parent of this instance.
|
Modifier and Type | Method and Description |
---|---|
void |
EventReaderDelegate.setParent(XMLEventReader reader)
Set the parent of this instance.
|
Constructor and Description |
---|
EventReaderDelegate(XMLEventReader reader)
Construct an filter with the specified parent.
|
Modifier and Type | Method and Description |
---|---|
XMLEventReader |
StAXSource.getXMLEventReader()
Get the
XMLEventReader used by this
StAXSource . |
Constructor and Description |
---|
StAXSource(XMLEventReader xmlEventReader)
Creates a new instance of a
StAXSource
by supplying an XMLEventReader . |
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, 2011, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b138