|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public 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(List<QName> currentXPath,
QName handlerQName,
String xmlChunk,
QName childQName,
XMLChunkHandler childHandler)
Invoked if the end tag of an element, for which a child handler is registered is reached. |
void |
handleChunkBeforChildHandler(List<QName> currentXPath,
QName handlerQName,
String xmlChunk,
QName childQName,
XMLChunkHandler childHandler)
Invoked if the start tag of an element, for which a child handler is registered is reached. |
void |
handleChunkEnd(List<QName> currentXPath,
QName handlerQName,
String xmlChunk)
Invoked if the end tag of the xml block/chunk is reached. |
void |
handleChunkStart(List<QName> currentXPath,
QName handlerQName)
|
Method Detail |
---|
void handleChunkStart(List<QName> currentXPath, QName handlerQName)
void handleChunkEnd(List<QName> currentXPath, QName handlerQName, String xmlChunk)
currentXPath
- Xpath (QName Path) to the current element.handlerQName
- the handlerQName.xmlChunk
- the partialXml.void handleChunkBeforChildHandler(List<QName> currentXPath, QName handlerQName, String xmlChunk, QName childQName, XMLChunkHandler childHandler)
currentXPath
- Xpath (QName Path) to the current element.handlerQName
- the handlerQName.xmlChunk
- the xmlChunk.childQName
- the childQName.childHandler
- the childHandler.void handleChunkAfterChildHandler(List<QName> currentXPath, QName handlerQName, String xmlChunk, QName childQName, XMLChunkHandler childHandler)
currentXPath
- Xpath (QName Path) to the current element.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 |