|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJet.Pat.PatternSet
a set of pattern-action rules which are applied together when processing a document.
Field Summary | |
static int |
limit
applies the rules in the PatternSet to the specified span of the document. |
InternalPatternNode |
rootNode
|
Constructor Summary | |
PatternSet()
creates an empty PatternSet (with no rules) |
Method Summary | |
void |
addRule(PatternRule rule)
adds a rule to a PatternSet |
void |
apply(Document doc)
applies the rules in the PatternSet to the entire document. |
void |
apply(Document doc,
Span span)
|
void |
makePatternGraph(PatternCollection collection)
converts the set of rules in this pattern set into a graph. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public InternalPatternNode rootNode
public static int limit
Constructor Detail |
public PatternSet()
Method Detail |
public void addRule(PatternRule rule)
public void makePatternGraph(PatternCollection collection)
public void apply(Document doc)
public void apply(Document doc, Span span)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |