|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Chunk.Processor
This interface specifies the method that must be implemented by a class that processes the chunks that are visited in the traversal of a document tree or subtree.
ChunkList.processChunks(NlfConstants.TraversalOrder, Chunk.Processor)
,
Document.processChunks(NlfConstants.TraversalOrder, Chunk.Processor)
Method Summary | |
---|---|
void |
process(Chunk chunk)
Processes the specified chunk. |
Method Detail |
---|
void process(Chunk chunk) throws TerminatedException
A processor that wants to terminate the traversal of the tree should throw a TerminatedException
, which can wrap another java.lang.Throwable
.
chunk
- the chunk that is to be processed.
TerminatedException
- if the traversal of the tree or subtree is terminated.TerminatedException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |