Interface TraxUtils.SourceCallback
- Enclosing class:
- TraxUtils
public static interface TraxUtils.SourceCallback
Callback interface invoked on each sort of
Source.-
Method Summary
Modifier and TypeMethodDescriptionvoidPerform an operation on the node contained in aDOMSource.voidsaxSource(XMLReader reader, InputSource inputSource) voidPerform an operation on the system identifier contained in anySource.voidstaxSource(XMLEventReader eventReader) voidstaxSource(XMLStreamReader streamReader) Perform an operation on theXMLStreamReadercontained in a JAXP 1.4StAXSourceor SpringStaxSource.voidstreamSource(InputStream inputStream) Perform an operation on theInputStreamcontained in aStreamSource.voidstreamSource(Reader reader) Perform an operation on theReadercontained in aStreamSource.
-
Method Details
-
domSource
Perform an operation on the node contained in aDOMSource.- Parameters:
node- the node- Throws:
Exception
-
saxSource
- Parameters:
reader- the reader, can benullinputSource- the input source, can benull- Throws:
Exception
-
staxSource
- Parameters:
eventReader- the reader- Throws:
Exception
-
staxSource
Perform an operation on theXMLStreamReadercontained in a JAXP 1.4StAXSourceor SpringStaxSource.- Parameters:
streamReader- the reader- Throws:
Exception
-
streamSource
Perform an operation on theInputStreamcontained in aStreamSource.- Parameters:
inputStream- the input stream- Throws:
Exception
-
streamSource
Perform an operation on theReadercontained in aStreamSource.- Parameters:
reader- the reader- Throws:
Exception
-
source
Perform an operation on the system identifier contained in anySource.- Parameters:
systemId- the system identifier- Throws:
Exception
-