public class XmlSnippetSplitter
extends java.lang.Object
| Constructor and Description |
|---|
XmlSnippetSplitter(XmlSnippetHandler snippetHandler,
javax.xml.namespace.QName begin,
javax.xml.namespace.QName end)
Conversion Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
read(java.io.InputStream inputStream)
Reads in the given InputStream and parses it for XML snippets describe by the begin and end marker tags.
|
public XmlSnippetSplitter(XmlSnippetHandler snippetHandler, javax.xml.namespace.QName begin, javax.xml.namespace.QName end)
snippetHandler - the XmlSnippetHandler to handle splitted xml snippetsbegin - the MarkerTag that describes the begin of a snippetend - the MarkerTag that describes the end of a snippetpublic void read(java.io.InputStream inputStream)
throws javax.xml.stream.XMLStreamException
inputStream - the InputStream to read fromjavax.xml.stream.XMLStreamException - the StAX Exception