Class SaajXmlReader
java.lang.Object
org.springframework.xml.sax.AbstractXmlReader
org.springframework.ws.soap.saaj.support.SaajXmlReader
- All Implemented Interfaces:
XMLReader
SAX
XMLReader
that reads from a SAAJ Node
. Consumes XMLEvents
from an XMLEventReader
,
and calls the corresponding methods on the SAX callback interfaces.- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
-
Node
SOAPElement
-
Constructor Summary
ConstructorDescriptionSaajXmlReader
(jakarta.xml.soap.Node startNode) Constructs a new instance of theSaajXmlReader
that reads from the givenNode
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFeature
(String name) Throws aSAXNotRecognizedException
exception.final void
Parses the StAX XML reader passed at construction-time.final void
parse
(InputSource ignored) Parses the StAX XML reader passed at construction-time.void
setFeature
(String name, boolean value) Throws aSAXNotRecognizedException
exception.Methods inherited from class org.springframework.xml.sax.AbstractXmlReader
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLexicalHandler, getProperty, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setProperty
-
Constructor Details
-
SaajXmlReader
public SaajXmlReader(jakarta.xml.soap.Node startNode) Constructs a new instance of theSaajXmlReader
that reads from the givenNode
.- Parameters:
startNode
- the SAAJNode
to read from
-
-
Method Details
-
getFeature
Description copied from class:AbstractXmlReader
Throws aSAXNotRecognizedException
exception.- Specified by:
getFeature
in interfaceXMLReader
- Overrides:
getFeature
in classAbstractXmlReader
- Throws:
SAXNotRecognizedException
- alwaysSAXNotSupportedException
-
setFeature
public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException Description copied from class:AbstractXmlReader
Throws aSAXNotRecognizedException
exception.- Specified by:
setFeature
in interfaceXMLReader
- Overrides:
setFeature
in classAbstractXmlReader
- Throws:
SAXNotRecognizedException
- alwaysSAXNotSupportedException
-
parse
Parses the StAX XML reader passed at construction-time.Note that the given
InputSource
is not read, but ignored.- Parameters:
ignored
- is ignored- Throws:
SAXException
- A SAX exception, possibly wrapping aXMLStreamException
-
parse
Parses the StAX XML reader passed at construction-time.Note that the given system identifier is not read, but ignored.
- Parameters:
ignored
- is ignored- Throws:
SAXException
- A SAX exception, possibly wrapping aXMLStreamException
-