public class SaajXmlReader extends 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)
Throws a
SAXNotRecognizedException exception. |
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)
Throws a
SAXNotRecognizedException exception. |
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLexicalHandler, getProperty, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setPropertypublic SaajXmlReader(Node startNode)
SaajXmlReader that reads from the given Node.startNode - the SAAJ Node to read frompublic boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException
AbstractXmlReaderSAXNotRecognizedException exception.getFeature in interface XMLReadergetFeature in class AbstractXmlReaderSAXNotRecognizedException - alwaysSAXNotSupportedExceptionpublic void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException
AbstractXmlReaderSAXNotRecognizedException exception.setFeature in interface XMLReadersetFeature in class AbstractXmlReaderSAXNotRecognizedException - alwaysSAXNotSupportedExceptionpublic 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