net.ontopia.topicmaps.classify
Class Document

java.lang.Object
  extended by net.ontopia.topicmaps.classify.Document
All Implemented Interfaces:
TextHandlerIF

public class Document
extends java.lang.Object
implements TextHandlerIF

INTERNAL:


Method Summary
 void dump()
           
 void endRegion()
          INTERNAL: Ends the current document region.
 Region getRoot()
           
 void setTokenized(boolean tokenized)
           
 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.
 void visitTokens(TokenVisitor visitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRoot

public Region getRoot()

startRegion

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


Copyright © 2000-2012 Ontopia.