Package com.groiss.xforms
Interface XFormInstance
public interface XFormInstance
Utility for handling an xform instance with accessor methods to the instance data.
Contains the information about the current model and its instances.
You get an instance with XFormImpl.getFormInstance(req) in a submission request.
-
Method Summary
Modifier and TypeMethodDescriptiongetFieldValue
(String path) Get the instance element - if only one instance exists in the model.Get the instance element by id.getModel()
getSubmission
(String submissionId) boolean
isValid()
void
processBindings
(boolean checkConstraints) void
-
Method Details
-
getInstanceElement
Element getInstanceElement()Get the instance element - if only one instance exists in the model. -
getInstanceElement
Get the instance element by id. -
getType
-
getField
-
getFieldValue
-
setField
-
getModel
Element getModel() -
getModelId
String getModelId() -
getDefaultInstanceId
String getDefaultInstanceId() -
isValid
boolean isValid() -
getSubmission
-
processBindings
- Throws:
Exception
-