|
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 |
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)
DOMSource
.
node
- the nodevoid saxSource(XMLReader reader, InputSource inputSource) throws IOException, SAXException
XMLReader
and InputSource
contained in a SAXSource
.
reader
- the reader, can be null
inputSource
- the input source, can be null
IOException
SAXException
void staxSource(XMLEventReader eventReader) throws XMLStreamException
XMLEventReader
contained in a JAXP 1.4 StAXSource
or Spring
StaxSource
.
eventReader
- the reader
XMLStreamException
void staxSource(XMLStreamReader streamReader) throws XMLStreamException
XMLStreamReader
contained in a JAXP 1.4 StAXSource
or Spring
StaxSource
.
streamReader
- the reader
XMLStreamException
void streamSource(InputStream inputStream) throws IOException
InputStream
contained in a StreamSource
.
inputStream
- the input stream
IOException
void streamSource(Reader reader) throws IOException
Reader
contained in a StreamSource
.
reader
- the reader
IOException
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |