public class SaajXmlReader
extends org.springframework.xml.sax.AbstractXmlReader
XMLReader that reads from a SAAJ Node. Consumes XMLEvents from an
XMLEventReader, and calls the corresponding methods on the SAX callback interfaces.Node,
SOAPElement| Constructor and Description |
|---|
SaajXmlReader(Node startNode)
Constructs a new instance of the
SaajXmlReader that reads from the given Node. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFeature(String name) |
void |
parse(InputSource ignored)
Parses the StAX XML reader passed at construction-time.
|
void |
parse(String ignored)
Parses the StAX XML reader passed at construction-time.
|
void |
setFeature(String name,
boolean value) |
public SaajXmlReader(Node startNode)
SaajXmlReader that reads from the given Node.startNode - the SAAJ Node to read frompublic boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException
getFeature in interface XMLReadergetFeature in class org.springframework.xml.sax.AbstractXmlReaderSAXNotRecognizedExceptionSAXNotSupportedExceptionpublic void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException
setFeature in interface XMLReadersetFeature in class org.springframework.xml.sax.AbstractXmlReaderSAXNotRecognizedExceptionSAXNotSupportedExceptionpublic final void parse(InputSource ignored) throws SAXException
Note that the given InputSource is not read, but ignored.
ignored - is ignoredSAXException - A SAX exception, possibly wrapping a XMLStreamExceptionpublic final void parse(String ignored) throws SAXException
Note that the given system identifier is not read, but ignored.
ignored - is ignoredSAXException - A SAX exception, possibly wrapping a XMLStreamException