|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TraxUtils.SourceCallback
Callback interface invoked on each sort of Source
.
TraxUtils.doWithSource(Source, SourceCallback)
Method Summary | |
---|---|
void |
domSource(Node node)
Perform an operation on the node contained in a DOMSource . |
void |
saxSource(XMLReader reader,
InputSource inputSource)
Perform an operation on the XMLReader and InputSource contained in a SAXSource . |
void |
source(String systemId)
Perform an operation on the system identifier contained in any Source . |
void |
staxSource(XMLEventReader eventReader)
Perform an operation on the XMLEventReader contained in a JAXP 1.4 StAXSource or Spring
StaxSource . |
void |
staxSource(XMLStreamReader streamReader)
Perform an operation on the XMLStreamReader contained in a JAXP 1.4 StAXSource or Spring
StaxSource . |
void |
streamSource(InputStream inputStream)
Perform an operation on the InputStream contained in a StreamSource . |
void |
streamSource(Reader reader)
Perform an operation on the Reader contained in a StreamSource . |
Method Detail |
---|
void domSource(Node node) throws Exception
DOMSource
.
node
- the node
Exception
void saxSource(XMLReader reader, InputSource inputSource) throws Exception
XMLReader
and InputSource
contained in a SAXSource
.
reader
- the reader, can be null
inputSource
- the input source, can be null
Exception
void staxSource(XMLEventReader eventReader) throws Exception
XMLEventReader
contained in a JAXP 1.4 StAXSource
or Spring
StaxSource
.
eventReader
- the reader
Exception
void staxSource(XMLStreamReader streamReader) throws Exception
XMLStreamReader
contained in a JAXP 1.4 StAXSource
or Spring
StaxSource
.
streamReader
- the reader
Exception
void streamSource(InputStream inputStream) throws Exception
InputStream
contained in a StreamSource
.
inputStream
- the input stream
Exception
void streamSource(Reader reader) throws Exception
Reader
contained in a StreamSource
.
reader
- the reader
Exception
void source(String systemId) throws Exception
Source
.
systemId
- the system identifier
Exception
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |