|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdebugger.resources.pr.RuleModel
Copyright (c) Ontos AG (http://www.ontosearch.com).
This class is part of JAPE Debugger component for
GATE (Copyright (c) "The University of Sheffield" see http://gate.ac.uk/)
Nested Class Summary | |
(package private) class |
RuleModel.RuleName
|
Field Summary | |
private RuleAnnotationHistory |
annotationHistory
Annotation history for this rule |
private HashMap |
bindings
|
private RightHandSide |
rhs
Reference to RightHandSide of this rule |
private RuleModel.RuleName |
ruleName
Represents this rule name |
private boolean |
stopOnMatch
Designates if this rule marked as breakpoint |
Constructor Summary | |
RuleModel(RightHandSide rhs)
Constructs RuleModel from given RightHandSide |
Method Summary | |
boolean |
equals(Object obj)
|
RuleAnnotationHistory |
getAnnotationHistory()
|
HashMap |
getBindings()
|
ArrayList |
getMatchedAnnotations()
|
ArrayList |
getMatchedText()
|
ArrayList |
getMatshedRuleTable()
|
String |
getName()
|
PhaseModel |
getParentPhase()
|
RightHandSide |
getRHS()
|
String |
getRuleText()
|
boolean |
isStopOnMatch()
|
private Annotation |
neededAnnotation(AnnotationSet annSet,
String target)
|
void |
setBindings(HashMap bindings)
|
void |
setStopOnMatch(boolean stopOnMatch)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private HashMap bindings
private final RightHandSide rhs
RightHandSide
of this rule
private final RuleModel.RuleName ruleName
private final RuleAnnotationHistory annotationHistory
private boolean stopOnMatch
Constructor Detail |
public RuleModel(RightHandSide rhs)
RightHandSide
rhs
- RightHandSide
to construct this RuleModel.Method Detail |
public String getName()
ruleName
.
Simply RuleModel.RuleName.toString()
public RightHandSide getRHS()
rhs
for this rulepublic RuleAnnotationHistory getAnnotationHistory()
annotationHistory
for this rulepublic boolean isStopOnMatch()
public void setStopOnMatch(boolean stopOnMatch)
stopOnMatch
- set true to set breakpoint for this rulepublic boolean equals(Object obj)
public void setBindings(HashMap bindings)
public HashMap getBindings()
public ArrayList getMatshedRuleTable()
public ArrayList getMatchedText()
private Annotation neededAnnotation(AnnotationSet annSet, String target)
public ArrayList getMatchedAnnotations()
public PhaseModel getParentPhase()
public String getRuleText()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |