Spring Web Services Framework

org.springframework.xml.transform
Interface TraxUtils.SourceCallback

Enclosing class:
TraxUtils

public static interface TraxUtils.SourceCallback

Callback interface invoked on each sort of Source.

See Also:
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

domSource

void domSource(Node node)
               throws Exception
Perform an operation on the node contained in a DOMSource.

Parameters:
node - the node
Throws:
Exception

saxSource

void saxSource(XMLReader reader,
               InputSource inputSource)
               throws Exception
Perform an operation on the XMLReader and InputSource contained in a SAXSource.

Parameters:
reader - the reader, can be null
inputSource - the input source, can be null
Throws:
Exception

staxSource

void staxSource(XMLEventReader eventReader)
                throws Exception
Perform an operation on the XMLEventReader contained in a JAXP 1.4 StAXSource or Spring StaxSource.

Parameters:
eventReader - the reader
Throws:
Exception

staxSource

void staxSource(XMLStreamReader streamReader)
                throws Exception
Perform an operation on the XMLStreamReader contained in a JAXP 1.4 StAXSource or Spring StaxSource.

Parameters:
streamReader - the reader
Throws:
Exception

streamSource

void streamSource(InputStream inputStream)
                  throws Exception
Perform an operation on the InputStream contained in a StreamSource.

Parameters:
inputStream - the input stream
Throws:
Exception

streamSource

void streamSource(Reader reader)
                  throws Exception
Perform an operation on the Reader contained in a StreamSource.

Parameters:
reader - the reader
Throws:
Exception

source

void source(String systemId)
            throws Exception
Perform an operation on the system identifier contained in any Source.

Parameters:
systemId - the system identifier
Throws:
Exception

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.