| |
|
| java.lang.Object javax.xml.transform.sax.SAXSource org.springframework.xml.transform.StaxSource
Constructor Summary | |
public | StaxSource(XMLStreamReader streamReader) Constructs a new instance of the StaxSource with the specified XMLStreamReader . | public | StaxSource(XMLEventReader eventReader) Constructs a new instance of the StaxSource with the specified XMLEventReader . |
StaxSource | public StaxSource(XMLStreamReader streamReader)(Code) | | Constructs a new instance of the StaxSource with the specified XMLStreamReader . The
supplied stream reader must be in XMLStreamConstants.START_DOCUMENT or
XMLStreamConstants.START_ELEMENT state.
Parameters: streamReader - the XMLStreamReader to read from throws: IllegalStateException - if the reader is not at the start of a document or element |
StaxSource | public StaxSource(XMLEventReader eventReader)(Code) | | Constructs a new instance of the StaxSource with the specified XMLEventReader . The
supplied event reader must be in XMLStreamConstants.START_DOCUMENT or
XMLStreamConstants.START_ELEMENT state.
Parameters: eventReader - the XMLEventReader to read from throws: IllegalStateException - if the reader is not at the start of a document or element |
|
|
|