|
||||||||||
| 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(org.w3c.dom.Node node)
Perform an operation on the node contained in a DOMSource. |
void |
saxSource(org.xml.sax.XMLReader reader,
org.xml.sax.InputSource inputSource)
Perform an operation on the XMLReader and InputSource contained in a SAXSource. |
void |
staxSource(javax.xml.stream.XMLEventReader eventReader)
Perform an operation on the XMLEventReader contained in a JAXP 1.4 StAXSource or Spring
StaxSource. |
void |
staxSource(javax.xml.stream.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(org.w3c.dom.Node node)
DOMSource.
node - the node
void saxSource(org.xml.sax.XMLReader reader,
org.xml.sax.InputSource inputSource)
throws IOException,
org.xml.sax.SAXException
XMLReader and InputSource contained in a SAXSource.
reader - the reader, can be nullinputSource - the input source, can be null
IOException
org.xml.sax.SAXException
void staxSource(javax.xml.stream.XMLEventReader eventReader)
throws javax.xml.stream.XMLStreamException
XMLEventReader contained in a JAXP 1.4 StAXSource or Spring
StaxSource.
eventReader - the reader
javax.xml.stream.XMLStreamException
void staxSource(javax.xml.stream.XMLStreamReader streamReader)
throws javax.xml.stream.XMLStreamException
XMLStreamReader contained in a JAXP 1.4 StAXSource or Spring
StaxSource.
streamReader - the reader
javax.xml.stream.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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||