public class Document extends Object implements TextHandlerIF
Modifier and Type | Method and Description |
---|---|
void |
dump() |
void |
endRegion()
INTERNAL: Ends the current document region.
|
Region |
getRoot() |
void |
setTokenized(boolean tokenized) |
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.
|
void |
visitTokens(TokenVisitor visitor) |
public Region getRoot()
public void startRegion(String regionName)
TextHandlerIF
startRegion
in interface TextHandlerIF
public void text(char[] ch, int start, int length)
TextHandlerIF
text
in interface TextHandlerIF
public void endRegion()
TextHandlerIF
endRegion
in interface TextHandlerIF
public void dump()
public void visitTokens(TokenVisitor visitor)
public void setTokenized(boolean tokenized)