| Modifier and Type | Method and Description |
|---|---|
boolean |
IAnswerDataSerializer.canSerialize(IAnswerData element)
Identifies whether this serializer can turn the AnswerData
object inside of the given element into an external format.
|
Boolean |
IAnswerDataSerializer.containsExternalData(IAnswerData data)
Identifies whether an answer data object contains data
that needs to be extracted to be handled differently
than the serialized answer data.
|
void |
FormDef.copyItemsetAnswer(QuestionDef q,
TreeElement targetNode,
IAnswerData data) |
boolean |
FormDef.evaluateConstraint(TreeReference ref,
IAnswerData data) |
IDataPointer[] |
IAnswerDataSerializer.retrieveExternalDataPointer(IAnswerData data)
Retrieves a pointer to external data contained in the
provided answer data, if one exists.
|
Object |
IAnswerDataSerializer.serializeAnswerData(IAnswerData data)
Serializes the given data object into a format that can
be stored externally.
|
Object |
IAnswerDataSerializer.serializeAnswerData(IAnswerData data,
int dataType)
Serializes the given data object into a format that can
be stored externally using the defined schemas
|
void |
FormDef.setAnswer(IAnswerData data,
TreeElement node) |
void |
FormDef.setAnswer(IAnswerData data,
TreeReference ref) |
void |
FormDef.setValue(IAnswerData data,
TreeReference ref,
boolean midSurvey) |
void |
FormDef.setValue(IAnswerData data,
TreeReference ref,
TreeElement node,
boolean midSurvey) |
| Modifier and Type | Field and Description |
|---|---|
IAnswerData |
EvaluationContext.candidateValue |
| Modifier and Type | Class and Description |
|---|---|
class |
RangeHint<T extends IAnswerData> |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanData |
class |
DateData
A response to a question requesting a Date Value
|
class |
DateTimeData
A response to a question requesting a DateTime Value
|
class |
DecimalData
A response to a question requesting an Decimal Value.
|
class |
GeoPointData
A response to a question requesting an GeoPoint Value.
|
class |
GeoShapeData
A response to a question requesting an GeoShape Value.
|
class |
GeoTraceData
A response to a question requesting an GeoTrace Value.
|
class |
IntegerData
A response to a question requesting an Integer Value
|
class |
LongData
A response to a question requesting an Long Numeric Value
|
class |
MultipleItemsData
A response to a question requesting a selection of
any number of items from a list or ordering them.
|
class |
MultiPointerAnswerData
An answer data storing multiple pointers
|
class |
PointerAnswerData
Answer data representing a pointer object.
|
class |
SelectMultiData
This class is only for providing backwards compatibility after renaming SelectMultiData.class to MultipleItemsData
|
class |
SelectOneData
A response to a question requesting a selection
of one and only one item from a list
|
class |
StringData
A response to a question requesting a String Value
|
class |
TimeData |
class |
UncastData
Uncast data values are those which are not assigned a particular
data type.
|
| Modifier and Type | Method and Description |
|---|---|
IAnswerData |
IAnswerData.cast(UncastData data)
Casts the provided data into this data type.
|
IAnswerData |
TimeData.clone() |
IAnswerData |
DateData.clone() |
IAnswerData |
LongData.clone() |
IAnswerData |
GeoTraceData.clone() |
IAnswerData |
GeoShapeData.clone() |
IAnswerData |
IntegerData.clone() |
IAnswerData |
BooleanData.clone() |
IAnswerData |
GeoPointData.clone() |
IAnswerData |
UncastData.clone() |
IAnswerData |
PointerAnswerData.clone() |
IAnswerData |
DecimalData.clone() |
IAnswerData |
DateTimeData.clone() |
IAnswerData |
SelectOneData.clone() |
IAnswerData |
IAnswerData.clone() |
IAnswerData |
MultiPointerAnswerData.clone() |
IAnswerData |
MultipleItemsData.clone() |
IAnswerData |
StringData.clone() |
static IAnswerData |
AnswerDataFactory.template(int controlType,
int datatype)
The one-template to rule them all.
|
static IAnswerData |
AnswerDataFactory.templateByDataType(int datatype) |
static IAnswerData |
IAnswerData.wrapData(Object val,
int intDataType)
convert the data object returned by the xpath expression into an IAnswerData suitable for
storage in the FormInstance
|
| Modifier and Type | Method and Description |
|---|---|
IAnswerData |
InvalidDataException.getUncastStandin() |
| Modifier and Type | Method and Description |
|---|---|
IAnswerData |
TreeElement.getValue() |
IAnswerData |
AbstractTreeElement.getValue() |
| Modifier and Type | Method and Description |
|---|---|
TreeReference |
FormInstance.addNode(TreeReference ambigRef,
IAnswerData data,
int dataType) |
boolean |
TreeElement.setAnswer(IAnswerData answer) |
void |
TreeElement.setValue(IAnswerData value) |
| Modifier and Type | Method and Description |
|---|---|
IAnswerData |
DefaultAnswerResolver.resolveAnswer(String textVal,
TreeElement treeElement,
FormDef formDef) |
IAnswerData |
IAnswerResolver.resolveAnswer(String textVal,
TreeElement treeElement,
FormDef formDef) |
| Modifier and Type | Method and Description |
|---|---|
IAnswerData |
IXFormyFactory.parseData(String textVal,
int dataType,
TreeReference ref,
FormDef f) |
| Modifier and Type | Method and Description |
|---|---|
String |
IXFormyFactory.serializeData(IAnswerData data) |
| Modifier and Type | Method and Description |
|---|---|
IAnswerData |
QuestionPreloader.getQuestionPreload(String preloadType,
String preloadParams)
Returns the IAnswerData preload value for the given preload type and parameters
|
IAnswerData |
IPreloadHandler.handlePreload(String preloadParams)
Takes in a set of preload parameters, and determines the
proper IAnswerData to be preloaded for a question.
|
static IAnswerData |
PreloadUtils.wrapIndeterminedObject(Object o)
Note: This method is a hack to fix the problem that we don't know what
data type we're using when we have a preloader.
|
| Modifier and Type | Method and Description |
|---|---|
IAnswerData |
FormEntryPrompt.getAnswerValue() |
| Modifier and Type | Method and Description |
|---|---|
int |
FormEntryController.answerQuestion(FormIndex index,
IAnswerData data,
boolean midSurvey)
Attempts to save the answer at the given
FormIndex into the instance
and returns one of three possible int attempt result codes:
FormEntryController.ANSWER_OK
FormEntryController.ANSWER_REQUIRED_BUT_EMPTY
FormEntryController.ANSWER_CONSTRAINT_VIOLATED
|
int |
FormEntryController.answerQuestion(IAnswerData data,
boolean midSurvey)
Attempts to save answer at the current FormIndex into the datamodel.
|
String |
FormEntryPrompt.getConstraintText(IAnswerData attemptedValue) |
String |
FormEntryPrompt.getConstraintText(String textForm,
IAnswerData attemptedValue) |
boolean |
FormEntryController.saveAnswer(FormIndex index,
IAnswerData data,
boolean midSurvey)
saveAnswer attempts to save the current answer into the data model
without doing any constraint checking.
|
boolean |
FormEntryController.saveAnswer(IAnswerData data,
boolean midSurvey)
saveAnswer attempts to save the current answer into the data model
without doing any constraint checking.
|
| Modifier and Type | Method and Description |
|---|---|
static IAnswerData |
XFormAnswerDataParser.getAnswerData(String text,
int dataType) |
static IAnswerData |
XFormAnswerDataParser.getAnswerData(String text,
int intDataType,
QuestionDef q) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
XFormAnswerDataSerializer.canSerialize(IAnswerData data) |
Boolean |
XFormAnswerDataSerializer.containsExternalData(IAnswerData data) |
IDataPointer[] |
XFormAnswerDataSerializer.retrieveExternalDataPointer(IAnswerData data) |
Object |
XFormAnswerDataSerializer.serializeAnswerData(IAnswerData data) |
Object |
XFormAnswerDataSerializer.serializeAnswerData(IAnswerData data,
int dataType) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
XPathPathExpr.unpackValue(IAnswerData val) |
Copyright © 2021. All rights reserved.