|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.security.common.xml.XMLChunkReader
public class XMLChunkReader
Reads an xml document with an internal xml stream reader and as chunks and calls a subsets of XMLStreamChunkHandler instances.
Xml elements for which no handler is defined are simply skipped.
Constructor Summary | |
---|---|
XMLChunkReader()
|
Method Summary | |
---|---|
XMLChunkReader |
addHandler(QName qname,
XMLChunkHandler handler)
Method registers a PartialStreamHandler for a Qname. |
XMLChunkHandler |
getHandler(QName qname)
Method gets the Handler for the qname. |
void |
read(InputSource source)
Method reads an xml source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLChunkReader()
Method Detail |
---|
public XMLChunkReader addHandler(QName qname, XMLChunkHandler handler)
qname
- the qname.handler
- the handler.
public XMLChunkHandler getHandler(QName qname)
qname
- the qname.
public void read(InputSource source)
source
- the source.
XMLStreamException
- if error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |