| Modifier and Type | Field and Description |
|---|---|
TreeElement |
SelectChoice.copyNode
if this choice represents part of an
|
| Modifier and Type | Method and Description |
|---|---|
List<TreeElement> |
GroupDef.getAdditionalAttributes() |
List<TreeElement> |
FormDef.getAdditionalAttributes() |
List<TreeElement> |
IFormElement.getAdditionalAttributes()
Retrieve all additional attributes on a Question or Group
|
List<TreeElement> |
DataBinding.getAdditionalAttributes() |
List<TreeElement> |
QuestionDef.getAdditionalAttributes() |
| Modifier and Type | Method and Description |
|---|---|
void |
FormDef.copyItemsetAnswer(QuestionDef q,
TreeElement targetNode,
IAnswerData data) |
void |
FormElementStateListener.formElementStateChanged(TreeElement question,
int changeFlags) |
void |
FormDef.preloadInstance(TreeElement node)
Preloads the Data Model with the preload values that are enumerated in the
data bindings.
|
void |
FormDef.setAnswer(IAnswerData data,
TreeElement node) |
void |
FormDef.setValue(IAnswerData data,
TreeReference ref,
TreeElement node,
boolean midSurvey) |
| Modifier and Type | Field and Description |
|---|---|
static TreeElement |
ExternalDataInstance.PLACEHOLDER_ROOT |
| Modifier and Type | Method and Description |
|---|---|
static TreeElement |
TreeElement.constructAttributeElement(String namespace,
String name,
String value)
Construct a TreeElement which represents an attribute with the provided
namespace and name.
|
TreeElement |
FormInstance.copyNode(TreeElement src,
TreeReference to) |
TreeElement |
TreeElement.deepCopy(boolean includeTemplates) |
static TreeElement |
TreeElement.getAttribute(List<TreeElement> attributes,
String namespace,
String name)
Retrieves the TreeElement representing the attribute for
the provided namespace and name, or null if none exists.
|
TreeElement |
TreeElement.getAttribute(String namespace,
String name) |
TreeElement |
FormInstance.getBase() |
TreeElement |
TreeElement.getBindAttribute(String namespace,
String name)
Retrieves the TreeElement representing an arbitrary bind attribute
for this element at the provided namespace and name, or null if none exists.
|
TreeElement |
TreeElement.getChild(String name,
int multiplicity) |
TreeElement |
TreeElement.getChildAt(int i) |
TreeElement |
FormInstance.getRoot()
Get this instance's document root which is the root's first child.
|
static TreeElement |
XmlExternalInstance.parse(String instanceId,
String path) |
static TreeElement |
CsvExternalInstance.parse(String instanceId,
String path) |
TreeElement |
FormInstance.processSaved(FormInstance template,
FormDef f) |
TreeElement |
TreeElement.shallowCopy() |
| Modifier and Type | Method and Description |
|---|---|
List<TreeElement> |
TreeElement.getBindAttributes() |
List<TreeElement> |
TreeElement.getChildrenWithName(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
TreeElement.addChild(TreeElement child) |
void |
FormInstance.copyItemsetNode(TreeElement copyNode,
TreeReference destRef,
FormDef f) |
TreeElement |
FormInstance.copyNode(TreeElement src,
TreeReference to) |
static boolean |
FormInstance.isHomogeneous(TreeElement a,
TreeElement b) |
void |
TreeElement.populate(TreeElement incoming,
FormDef f) |
void |
TreeElement.populateTemplate(TreeElement incoming,
FormDef f) |
void |
TreeElement.removeChild(TreeElement child) |
static void |
TreeElement.setAttribute(TreeElement parent,
List<TreeElement> attrs,
String namespace,
String name,
String value) |
void |
FormInstance.setRoot(TreeElement topLevel)
Sets the root element of this instance's tree.
|
| Modifier and Type | Method and Description |
|---|---|
static TreeElement |
TreeElement.getAttribute(List<TreeElement> attributes,
String namespace,
String name)
Retrieves the TreeElement representing the attribute for
the provided namespace and name, or null if none exists.
|
static void |
TreeElement.setAttribute(TreeElement parent,
List<TreeElement> attrs,
String namespace,
String name,
String value) |
void |
TreeElement.setBindAttributes(List<TreeElement> bindAttributes) |
| Constructor and Description |
|---|
FormInstance(TreeElement root) |
FormInstance(TreeElement root,
String id)
Creates a new instance using the provided document root.
|
| Modifier and Type | Method and Description |
|---|---|
TreeElement |
TreeElementChildrenList.get(int index)
Gets the child at the specified index
|
TreeElement |
TreeElementChildrenList.get(String name,
int multiplicity)
Gets the child with the specified name and multiplicity
|
TreeElement |
TreeElementChildrenList.remove(int index)
Removes a child at the specified index
|
| Modifier and Type | Method and Description |
|---|---|
List<TreeElement> |
TreeElementChildrenList.get(String name)
Gets all children with the specified name
|
Iterator<TreeElement> |
TreeElementChildrenList.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
TreeElementChildrenList.add(int index,
TreeElement child)
Adds a child at the specified index
|
void |
TreeElementChildrenList.addInOrder(TreeElement child) |
static boolean |
TreeElementNameComparator.elementMatchesName(TreeElement treeElement,
String name)
Determines whether treeElement matches name.
|
boolean |
TreeElementChildrenList.remove(TreeElement treeElement)
Removes a specific child
|
IAnswerData |
DefaultAnswerResolver.resolveAnswer(String textVal,
TreeElement treeElement,
FormDef formDef) |
IAnswerData |
IAnswerResolver.resolveAnswer(String textVal,
TreeElement treeElement,
FormDef formDef) |
| Modifier and Type | Method and Description |
|---|---|
void |
TreeElementChildrenList.addAll(Iterable<TreeElement> childIterable)
Adds all of the provided children
|
| Modifier and Type | Method and Description |
|---|---|
static FormInstance |
RestoreUtils.subDataModel(TreeElement top) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IPreloadHandler.handlePostProcess(TreeElement node,
String params)
Handles any post processing tasks that should be completed after the form entry
interaction is completed.
|
boolean |
QuestionPreloader.questionPostProcess(TreeElement node,
String preloadType,
String params) |
| Modifier and Type | Method and Description |
|---|---|
static List<TreeElement> |
ExtUtil.readAttributes(DataInputStream in,
TreeElement parent) |
| Modifier and Type | Method and Description |
|---|---|
static List<TreeElement> |
ExtUtil.readAttributes(DataInputStream in,
TreeElement parent) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ExtUtil.writeAttributes(DataOutputStream out,
List<TreeElement> attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected TreeElement |
FormEntryModel.getTreeElement(FormIndex index) |
| Modifier and Type | Method and Description |
|---|---|
List<TreeElement> |
FormEntryPrompt.getBindAttributes() |
| Modifier and Type | Method and Description |
|---|---|
void |
FormEntryCaption.formElementStateChanged(TreeElement instanceNode,
int changeFlags) |
void |
FormEntryPrompt.formElementStateChanged(TreeElement instanceNode,
int changeFlags) |
| Modifier and Type | Method and Description |
|---|---|
String |
CompactSerializingVisitor.serializeNode(TreeElement instanceNode) |
org.kxml2.kdom.Element |
XFormSerializingVisitor.serializeNode(TreeElement instanceNode) |
String |
SMSSerializingVisitor.serializeNode(TreeElement instanceNode)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static TreeElement |
XFormParser.buildInstanceStructure(org.kxml2.kdom.Element node,
TreeElement parent,
Map<String,String> namespacePrefixesByUri,
Integer multiplicityFromGroup) |
static TreeElement |
XFormParser.buildInstanceStructure(org.kxml2.kdom.Element node,
TreeElement parent,
String instanceName,
String docnamespace,
Map<String,String> namespacePrefixesByUri,
Integer multiplicityFromGroup)
Parses instance hierarchy and turns into a skeleton model; ignoring data content,
but respecting repeated nodes and 'template' flags
|
| Modifier and Type | Method and Description |
|---|---|
static TreeElement |
XFormParser.buildInstanceStructure(org.kxml2.kdom.Element node,
TreeElement parent,
Map<String,String> namespacePrefixesByUri,
Integer multiplicityFromGroup) |
static TreeElement |
XFormParser.buildInstanceStructure(org.kxml2.kdom.Element node,
TreeElement parent,
String instanceName,
String docnamespace,
Map<String,String> namespacePrefixesByUri,
Integer multiplicityFromGroup)
Parses instance hierarchy and turns into a skeleton model; ignoring data content,
but respecting repeated nodes and 'template' flags
|
| Modifier and Type | Method and Description |
|---|---|
TreeElement |
TreeElementParser.parse() |
| Modifier and Type | Method and Description |
|---|---|
List<TreeElement> |
TreeElementParser.parseInternalSecondaryInstances()
Parses the internal instances from an XForm (excluding the main instance)
|
Copyright © 2021. All rights reserved.