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
 void endRegion()
          INTERNAL: Ends the current document region.
 void startRegion(java.lang.String regionName)
          INTERNAL: Starts a new document region.
 void text(char[] ch, int start, int length)
          INTERNAL: Text found in the classifiable content.
 

Method Detail

startRegion

void startRegion(java.lang.String regionName)
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.



Copyright © 2000-2012 Ontopia.