Class Document

    • Method Detail

      • getRoot

        public Region getRoot()
      • startRegion

        public void startRegion​(String regionName)
        Description copied from interface: TextHandlerIF
        INTERNAL: Starts a new document region. Regions can be nested.
        Specified by:
        startRegion in interface TextHandlerIF
      • text

        public void text​(char[] ch,
                         int start,
                         int length)
        Description copied from interface: TextHandlerIF
        INTERNAL: Text found in the classifiable content. Subsequent calls to this method is allowed.
        Specified by:
        text in interface TextHandlerIF
      • endRegion

        public void endRegion()
        Description copied from interface: TextHandlerIF
        INTERNAL: Ends the current document region.
        Specified by:
        endRegion in interface TextHandlerIF
      • dump

        public void dump()
      • visitTokens

        public void visitTokens​(TokenVisitor visitor)
      • setTokenized

        public void setTokenized​(boolean tokenized)