Package org.javarosa.core.model.actions
Class SetValueAction
java.lang.Object
org.javarosa.core.model.actions.Action
org.javarosa.core.model.actions.SetValueAction
- All Implemented Interfaces:
Externalizable
public class SetValueAction extends Action
- Author:
- ctsims
-
Field Summary
Fields Modifier and Type Field Description static StringELEMENT_NAMEFields inherited from class org.javarosa.core.model.actions.Action
EVENT_JR_INSERT, EVENT_ODK_INSTANCE_FIRST_LOAD, EVENT_ODK_NEW_REPEAT, EVENT_QUESTION_VALUE_CHANGED, EVENT_XFORMS_READY, EVENT_XFORMS_REVALIDATE -
Constructor Summary
Constructors Constructor Description SetValueAction()SetValueAction(TreeReference target, String explicitValue)SetValueAction(TreeReference target, XPathExpression value) -
Method Summary
Modifier and Type Method Description static IElementHandlergetHandler()TreeReferenceprocessAction(FormDef model, TreeReference contextRef)Process actions that were triggered in the form.voidreadExternal(DataInputStream in, PrototypeFactory pf)voidwriteExternal(DataOutputStream out)
-
Field Details
-
ELEMENT_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SetValueAction
public SetValueAction() -
SetValueAction
-
SetValueAction
-
-
Method Details
-
getHandler
-
processAction
Description copied from class:ActionProcess actions that were triggered in the form. NOTE: Currently actions are only processed on nodes that are WITHIN the context provided, if one is provided. This will need to get changed possibly for future action types.- Specified by:
processActionin classAction- Returns:
- TreeReference targeted by the action or null if the action wasn't completed.
-
readExternal
public void readExternal(DataInputStream in, PrototypeFactory pf) throws IOException, DeserializationException- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classAction- Throws:
IOExceptionDeserializationException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classAction- Throws:
IOException
-