public static class InputPanel.TRegexGUITreeVisitor extends java.lang.Object implements TreeVisitor
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilename() |
java.util.Map<TreeFromFile,java.util.List<Tree>> |
getMatchedParts() |
java.util.List<TreeFromFile> |
getMatches() |
TregexPattern |
getPattern() |
int |
numUniqueMatches()
Method for returning the number of matches found in the last tree
visited by this tree visitor.
|
void |
setFilename(java.lang.String curFilename) |
void |
visitTree(Tree t)
Does whatever one needs to do to a particular parse tree.
|
public java.util.Map<TreeFromFile,java.util.List<Tree>> getMatchedParts()
public void visitTree(Tree t)
TreeVisitor
visitTree
in interface TreeVisitor
t
- A tree. Classes implementing this interface can assume
that the tree passed in is not null
.public int numUniqueMatches()
public java.util.List<TreeFromFile> getMatches()
public java.lang.String getFilename()
public void setFilename(java.lang.String curFilename)
public TregexPattern getPattern()