|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLChunkHandler
Interface XMLChunkHandler processes xml chunks.
Xml chunks are valid xml documents which were part of an greater xml document. The interface is directly related to a XMLChunkReader, which reads an big xml document and calls an XMLChunkHandler to process some of it's parts. A XMLChunkHandler can parse the chunk with an DOMParser or an other XMLprocessing tool. If an XMLChunkHandler is responsible for a special xml element and within it's scope other XMLChunkHandlers are registered, then the handler is informed about the processing of the childs through the *Child* methods.
Method Summary | |
---|---|
void |
handleChunkAfterChildHandler(javax.xml.namespace.QName handlerQName,
java.lang.String xmlChunk,
javax.xml.namespace.QName childQName,
XMLChunkHandler childHandler)
Method is invoked if the end tag of an element, for which a child handler is registered is reached. |
void |
handleChunkBeforChildHandler(javax.xml.namespace.QName handlerQName,
java.lang.String xmlChunk,
javax.xml.namespace.QName childQName,
XMLChunkHandler childHandler)
Method is invoked if the start tag of an element, for which a child handler is registered is reached. |
void |
handleChunkEnd(javax.xml.namespace.QName handlerQName,
java.lang.String xmlChunk)
Method is invoked if the end tag of the xml chunk is reached. |
void |
handleChunkStart(javax.xml.namespace.QName handlerQName)
Method handleChunkStart, informs about the start element of a chunk. |
Method Detail |
---|
void handleChunkStart(javax.xml.namespace.QName handlerQName)
handlerQName
- the handlerQName.void handleChunkEnd(javax.xml.namespace.QName handlerQName, java.lang.String xmlChunk)
handlerQName
- the handlerQName.xmlChunk
- the partialXml.void handleChunkBeforChildHandler(javax.xml.namespace.QName handlerQName, java.lang.String xmlChunk, javax.xml.namespace.QName childQName, XMLChunkHandler childHandler)
handlerQName
- the handlerQName.xmlChunk
- the xmlChunk.childQName
- the childQName.childHandler
- the childHandler.void handleChunkAfterChildHandler(javax.xml.namespace.QName handlerQName, java.lang.String xmlChunk, javax.xml.namespace.QName childQName, XMLChunkHandler childHandler)
handlerQName
- the handlerQName.xmlChunk
- the xmlChunk.childQName
- the childQName.childHandler
- the childHandler.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |