Package net.ontopia.topicmaps.classify
Interface TextHandlerIF
- All Known Implementing Classes:
Document
public interface TextHandlerIF
INTERNAL: Callback interface used by format modules to tell the
classification framework about the structure of classifiable
content.
The calls to startRegion can be nested, but they must have been unnested via calls to endRegion at the time when the end of the classifiable content has been reached.
-
Method Summary
Modifier and TypeMethodDescriptionvoidINTERNAL: Ends the current document region.voidstartRegion(String regionName) INTERNAL: Starts a new document region.voidtext(char[] ch, int start, int length) INTERNAL: Text found in the classifiable content.
-
Method Details
-
startRegion
INTERNAL: Starts a new document region. Regions can be nested. -
text
void text(char[] ch, int start, int length) INTERNAL: Text found in the classifiable content. Subsequent calls to this method is allowed. -
endRegion
void endRegion()INTERNAL: Ends the current document region.
-