fr.inria.oadymppac.parsing.gentra4cp
Class BasicChoiceConstraintEvent
java.lang.Object
fr.inria.oadymppac.parsing.event.EventImpl
fr.inria.oadymppac.parsing.gentra4cp.BasicChoiceConstraintEvent
- All Implemented Interfaces:
- ChoiceConstraintAttributes, ChoiceConstraintEvent, java.lang.Cloneable, DTDChoiceConstraintElement, Event
- Direct Known Subclasses:
- DefaultChoiceConstraintEvent
- public class BasicChoiceConstraintEvent
- extends EventImpl
- implements ChoiceConstraintEvent
- Author:
- raf
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event |
logger |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicChoiceConstraintEvent
public BasicChoiceConstraintEvent()
init
public void init(ContentHandler handler,
org.xml.sax.Attributes atts)
- Specified by:
init
in interface Event
- Overrides:
init
in class EventImpl
reset
public void reset()
- Specified by:
reset
in interface Event
- Overrides:
reset
in class EventImpl
getConstraints
public java.lang.String[] getConstraints()
- Specified by:
getConstraints
in interface ChoiceConstraintAttributes
- Returns:
getValue
public int getValue()
- Specified by:
getValue
in interface ChoiceConstraintAttributes
- Returns:
getVariable
public java.lang.String getVariable()
- Specified by:
getVariable
in interface ChoiceConstraintAttributes
- Returns:
setConstraints
public void setConstraints(java.lang.String[] constraints)
- Specified by:
setConstraints
in interface ChoiceConstraintAttributes
- Parameters:
constraints
-
setValue
public void setValue(int value)
- Specified by:
setValue
in interface ChoiceConstraintAttributes
- Parameters:
value
-
setVariable
public void setVariable(java.lang.String variable)
- Specified by:
setVariable
in interface ChoiceConstraintAttributes
- Parameters:
variable
-
getInfo
public Info getInfo()
throws java.lang.CloneNotSupportedException
- Specified by:
getInfo
in interface Event
- Throws:
java.lang.CloneNotSupportedException
getEventType
public int getEventType()
- Specified by:
getEventType
in interface Event