|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ResponseRuleType>
org.qtitools.qti.node.item.response.processing.ResponseRuleType
public enum ResponseRuleType
This class creates all supported response rules from given CLASS_TAG.
Supported response rules: responseCondition, setOutcomeValue, responseProcessingFragment, responseCondition, exitResponse.
Not implemented response rules: include.
| Enum Constant Summary | |
|---|---|
EXIT_RESPONSE
Creates exitResponse response rule. |
|
LOOKUP_OUTCOME_VALUE
Creates lookupOutcomeValue response rule. |
|
RESPONSE_CONDITION
Creates responseCondition response rule. |
|
RESPONSE_PROCESSING_FRAGMENT
Creates responseProcessingFragment response rule. |
|
SET_OUTCOME_VALUE
Creates setOutcomeValue response rule. |
|
| Method Summary | |
|---|---|
abstract ResponseRule |
create(XmlObject parent)
Creates response rule. |
static ResponseRule |
getInstance(XmlObject parent,
java.lang.String classTag)
Creates response rule. |
java.lang.String |
toString()
|
static ResponseRuleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ResponseRuleType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ResponseRuleType LOOKUP_OUTCOME_VALUE
LookupOutcomeValuepublic static final ResponseRuleType RESPONSE_CONDITION
ResponseConditionpublic static final ResponseRuleType RESPONSE_PROCESSING_FRAGMENT
ResponseProcessingFragmentpublic static final ResponseRuleType SET_OUTCOME_VALUE
SetOutcomeValuepublic static final ResponseRuleType EXIT_RESPONSE
SetOutcomeValue| Method Detail |
|---|
public static final ResponseRuleType[] values()
for(ResponseRuleType c : ResponseRuleType.values())
System.out.println(c);
public static ResponseRuleType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic abstract ResponseRule create(XmlObject parent)
parent - parent of created response rule
public java.lang.String toString()
toString in class java.lang.Enum<ResponseRuleType>
public static ResponseRule getInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created response ruleclassTag - CLASS_TAG of created response rule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||