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)
TextHandlerIFstartRegion in interface TextHandlerIFpublic void text(char[] ch,
int start,
int length)
TextHandlerIFtext in interface TextHandlerIFpublic void endRegion()
TextHandlerIFendRegion in interface TextHandlerIFpublic void dump()
public void visitTokens(TokenVisitor visitor)
public void setTokenized(boolean tokenized)