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

    • startRegion

      void startRegion(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.