Public interface for any Rule subclass which is interested in handling text segments as well as the complete body text.
A simple "test harness" which demonstrates how the MarkupDigester class (plus the supporting interface/rule classes) can process "document-markup" style xml data.
This is a subclass of digester which supports rules which implement the TextSegmentHandler interface, causing the "textSegment" method on each matching rule (of the appropriate type) to be invoked when an element contains a segment of text followed by a child element.
When a text segment is discovered, it calls a specific method on the top object on the stack.
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.