public static class DataMapperUtils.StaxSource extends SAXSource
| Constructor and Description |
|---|
StaxSource(XMLEventReader eventReader)
Constructs a new instance of the
StaxSource with the specified XMLEventReader. |
| Modifier and Type | Method and Description |
|---|---|
void |
setInputSource(InputSource inputSource)
Throws a
UnsupportedOperationException. |
void |
setXMLReader(XMLReader reader)
Throws a
UnsupportedOperationException. |
getInputSource, getSystemId, getXMLReader, setSystemId, sourceToInputSourcepublic StaxSource(XMLEventReader eventReader)
StaxSource with the specified XMLEventReader. The
supplied event reader must be in XMLStreamConstants.START_DOCUMENT or
XMLStreamConstants.START_ELEMENT state.eventReader - the XMLEventReader to read fromIllegalStateException - if the reader is not at the start of a document or elementpublic void setInputSource(InputSource inputSource)
UnsupportedOperationException.setInputSource in class SAXSourceUnsupportedOperationException - alwayspublic void setXMLReader(XMLReader reader)
UnsupportedOperationException.setXMLReader in class SAXSourceUnsupportedOperationException - alwaysCopyright © 2022. All rights reserved.