Package net.ontopia.topicmaps.classify
Class Document
java.lang.Object
net.ontopia.topicmaps.classify.Document
- All Implemented Interfaces:
TextHandlerIF
INTERNAL:
-
Method Summary
Modifier and TypeMethodDescriptionvoiddump()voidINTERNAL: Ends the current document region.getRoot()voidsetTokenized(boolean tokenized) voidstartRegion(String regionName) INTERNAL: Starts a new document region.voidtext(char[] ch, int start, int length) INTERNAL: Text found in the classifiable content.voidvisitTokens(TokenVisitor visitor)
-
Method Details
-
getRoot
-
startRegion
Description copied from interface:TextHandlerIFINTERNAL: Starts a new document region. Regions can be nested.- Specified by:
startRegionin interfaceTextHandlerIF
-
text
public void text(char[] ch, int start, int length) Description copied from interface:TextHandlerIFINTERNAL: Text found in the classifiable content. Subsequent calls to this method is allowed.- Specified by:
textin interfaceTextHandlerIF
-
endRegion
public void endRegion()Description copied from interface:TextHandlerIFINTERNAL: Ends the current document region.- Specified by:
endRegionin interfaceTextHandlerIF
-
dump
public void dump() -
visitTokens
-
setTokenized
public void setTokenized(boolean tokenized)
-