Uses of Class
org.javarosa.core.model.instance.TreeElement
-
Uses of TreeElement in org.javarosa.core.model
Fields in org.javarosa.core.model declared as TreeElement Modifier and Type Field Description TreeElementSelectChoice. copyNodeMethods in org.javarosa.core.model that return types with arguments of type TreeElement Modifier and Type Method Description List<TreeElement>DataBinding. getAdditionalAttributes()List<TreeElement>FormDef. getAdditionalAttributes()List<TreeElement>GroupDef. getAdditionalAttributes()List<TreeElement>IFormElement. getAdditionalAttributes()Retrieve all additional attributes on a Question or GroupList<TreeElement>QuestionDef. getAdditionalAttributes()Methods in org.javarosa.core.model with parameters of type TreeElement Modifier and Type Method Description voidApril2014DagImpl. copyItemsetAnswer(FormInstance mainInstance, EvaluationContext evalContext, TreeReference copyRef, TreeElement copyToElement, boolean midSurvey)voidFast2014DagImpl. copyItemsetAnswer(FormInstance mainInstance, EvaluationContext evalContext, TreeReference copyRef, TreeElement copyToElement, boolean midSurvey)voidFormDef. copyItemsetAnswer(QuestionDef q, TreeElement targetNode, IAnswerData data, boolean midSurvey)abstract voidIDag. copyItemsetAnswer(FormInstance mainInstance, EvaluationContext evalContext, TreeReference ref, TreeElement copyToElement, boolean midSurvey)Take actions related to changes of select-one and select-multiple itemsets.voidLegacyDagImpl. copyItemsetAnswer(FormInstance mainInstance, EvaluationContext evalContext, TreeReference copyRef, TreeElement copyToElement, boolean midSurvey)voidSafe2014DagImpl. copyItemsetAnswer(FormInstance mainInstance, EvaluationContext evalContext, TreeReference copyRef, TreeElement copyToElement, boolean midSurvey)voidApril2014DagImpl. createRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference createRef, TreeElement parentElement, TreeElement createdElement)voidFast2014DagImpl. createRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference createRef, TreeElement parentElement, TreeElement createdElement)abstract voidIDag. createRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference ref, TreeElement parentElement, TreeElement createdElement)Take whatever action is required when creating a repeat group.voidLegacyDagImpl. createRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference createRef, TreeElement parentElement, TreeElement createdElement)voidSafe2014DagImpl. createRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference createRef, TreeElement parentElement, TreeElement createdElement)voidApril2014DagImpl. deleteRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference deleteRef, TreeElement parentElement, TreeElement deletedElement)voidFast2014DagImpl. deleteRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference deleteRef, TreeElement parentElement, TreeElement deletedElement)abstract voidIDag. deleteRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference ref, TreeElement parentElement, TreeElement deletedElement)Take whatever action is required when deleting a repeat group.voidLegacyDagImpl. deleteRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference deleteRef, TreeElement parentElement, TreeElement deletedElement)voidSafe2014DagImpl. deleteRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference deleteRef, TreeElement parentElement, TreeElement deletedElement)voidFormElementStateListener. formElementStateChanged(TreeElement question, int changeFlags)IConditionExprFormDef. getConditionExpressionForTrueAction(TreeElement instanceNode, int action)Pull this in from FormOverview so that we can make fields private.IConditionExprIDag. getConditionExpressionForTrueAction(FormInstance mainInstance, TreeElement instanceNode, int action)Pull this in from FormOverview so that we can make fields private.voidFormDef. preloadInstance(TreeElement node)Preloads the Data Model with the preload values that are enumerated in the data bindings.voidFormDef. setAnswer(IAnswerData data, TreeElement node)voidFormDef. setValue(IAnswerData data, TreeReference ref, TreeElement node, boolean midSurvey) -
Uses of TreeElement in org.javarosa.core.model.instance
Fields in org.javarosa.core.model.instance declared as TreeElement Modifier and Type Field Description protected TreeElementFormInstance. rootThe root of this treeMethods in org.javarosa.core.model.instance that return TreeElement Modifier and Type Method Description static TreeElementTreeElement. constructAttributeElement(String namespace, String name, String value)Construct a TreeElement which represents an attribute with the provided namespace and name.TreeElementFormInstance. copyNode(TreeElement src, TreeReference to)TreeElementTreeElement. deepCopy(boolean includeTemplates)TreeElementTreeElement. getAttribute(String namespace, String name)static TreeElementTreeElement. 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.TreeElementFormInstance. getBase()TreeElementTreeElement. 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.TreeElementTreeElement. getChild(String name, int multiplicity)TreeElementTreeElement. getChildAt(int i)TreeElementFormInstance. getRoot()static TreeElementCsvExternalInstance. parse(String instanceId, String path)static TreeElementXmlExternalInstance. parse(String instanceId, String path)TreeElementFormInstance. processSaved(FormInstance template, FormDef f)TreeElementTreeElement. shallowCopy()Methods in org.javarosa.core.model.instance that return types with arguments of type TreeElement Modifier and Type Method Description List<TreeElement>TreeElement. getBindAttributes()List<TreeElement>TreeElement. getChildrenWithName(String name)Methods in org.javarosa.core.model.instance with parameters of type TreeElement Modifier and Type Method Description voidTreeElement. addChild(TreeElement child)voidFormInstance. copyItemsetNode(TreeElement copyNode, TreeReference destRef, FormDef f)TreeElementFormInstance. copyNode(TreeElement src, TreeReference to)static booleanFormInstance. isHomogeneous(TreeElement a, TreeElement b)voidTreeElement. populate(TreeElement incoming, FormDef f)voidTreeElement. populateTemplate(TreeElement incoming, FormDef f)voidTreeElement. removeChild(TreeElement child)static voidTreeElement. setAttribute(TreeElement parent, List<TreeElement> attrs, String namespace, String name, String value)voidFormInstance. setRoot(TreeElement topLevel)Sets the root element of this Model's treeMethod parameters in org.javarosa.core.model.instance with type arguments of type TreeElement Modifier and Type Method Description static TreeElementTreeElement. 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 voidTreeElement. setAttribute(TreeElement parent, List<TreeElement> attrs, String namespace, String name, String value)voidTreeElement. setBindAttributes(List<TreeElement> bindAttributes)Constructors in org.javarosa.core.model.instance with parameters of type TreeElement Constructor Description FormInstance(TreeElement root)FormInstance(TreeElement root, String id)Creates a new data model using the root given. -
Uses of TreeElement in org.javarosa.core.model.instance.utils
Methods in org.javarosa.core.model.instance.utils that return TreeElement Modifier and Type Method Description TreeElementTreeElementChildrenList. get(int index)Gets the child at the specified indexTreeElementTreeElementChildrenList. get(String name, int multiplicity)Gets the child with the specified name and multiplicityTreeElementTreeElementChildrenList. remove(int index)Removes a child at the specified indexMethods in org.javarosa.core.model.instance.utils that return types with arguments of type TreeElement Modifier and Type Method Description List<TreeElement>TreeElementChildrenList. get(String name)Gets all children with the specified nameIterator<TreeElement>TreeElementChildrenList. iterator()Methods in org.javarosa.core.model.instance.utils with parameters of type TreeElement Modifier and Type Method Description voidTreeElementChildrenList. add(int index, TreeElement child)Adds a child at the specified indexvoidTreeElementChildrenList. addInOrder(TreeElement child)static booleanTreeElementNameComparator. elementMatchesName(TreeElement treeElement, String name)Determines whether treeElement matches name.booleanTreeElementChildrenList. remove(TreeElement treeElement)Removes a specific childIAnswerDataDefaultAnswerResolver. resolveAnswer(String textVal, TreeElement treeElement, FormDef formDef)IAnswerDataIAnswerResolver. resolveAnswer(String textVal, TreeElement treeElement, FormDef formDef)Method parameters in org.javarosa.core.model.instance.utils with type arguments of type TreeElement Modifier and Type Method Description voidTreeElementChildrenList. addAll(Iterable<TreeElement> childIterable)Adds all of the provided children -
Uses of TreeElement in org.javarosa.core.model.util.restorable
Methods in org.javarosa.core.model.util.restorable with parameters of type TreeElement Modifier and Type Method Description static FormInstanceRestoreUtils. subDataModel(TreeElement top) -
Uses of TreeElement in org.javarosa.core.model.utils
Methods in org.javarosa.core.model.utils with parameters of type TreeElement Modifier and Type Method Description booleanIPreloadHandler. handlePostProcess(TreeElement node, String params)Handles any post processing tasks that should be completed after the form entry interaction is completed.booleanQuestionPreloader. questionPostProcess(TreeElement node, String preloadType, String params) -
Uses of TreeElement in org.javarosa.core.util.externalizable
Methods in org.javarosa.core.util.externalizable that return types with arguments of type TreeElement Modifier and Type Method Description static List<TreeElement>ExtUtil. readAttributes(DataInputStream in, TreeElement parent)Methods in org.javarosa.core.util.externalizable with parameters of type TreeElement Modifier and Type Method Description static List<TreeElement>ExtUtil. readAttributes(DataInputStream in, TreeElement parent)Method parameters in org.javarosa.core.util.externalizable with type arguments of type TreeElement Modifier and Type Method Description static voidExtUtil. writeAttributes(DataOutputStream out, List<TreeElement> attributes) -
Uses of TreeElement in org.javarosa.form.api
Methods in org.javarosa.form.api that return TreeElement Modifier and Type Method Description protected TreeElementFormEntryModel. getTreeElement(FormIndex index)Methods in org.javarosa.form.api that return types with arguments of type TreeElement Modifier and Type Method Description List<TreeElement>FormEntryPrompt. getBindAttributes()Methods in org.javarosa.form.api with parameters of type TreeElement Modifier and Type Method Description voidFormEntryCaption. formElementStateChanged(TreeElement instanceNode, int changeFlags)voidFormEntryPrompt. formElementStateChanged(TreeElement instanceNode, int changeFlags) -
Uses of TreeElement in org.javarosa.model.xform
Methods in org.javarosa.model.xform with parameters of type TreeElement Modifier and Type Method Description StringCompactSerializingVisitor. serializeNode(TreeElement instanceNode)StringSMSSerializingVisitor. serializeNode(TreeElement instanceNode)Deprecated.org.kxml2.kdom.ElementXFormSerializingVisitor. serializeNode(TreeElement instanceNode) -
Uses of TreeElement in org.javarosa.xform.parse
Methods in org.javarosa.xform.parse that return TreeElement Modifier and Type Method Description static TreeElementXFormParser. 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' flagsstatic TreeElementXFormParser. buildInstanceStructure(org.kxml2.kdom.Element node, TreeElement parent, Map<String,String> namespacePrefixesByUri, Integer multiplicityFromGroup)Methods in org.javarosa.xform.parse with parameters of type TreeElement Modifier and Type Method Description static TreeElementXFormParser. 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' flagsstatic TreeElementXFormParser. buildInstanceStructure(org.kxml2.kdom.Element node, TreeElement parent, Map<String,String> namespacePrefixesByUri, Integer multiplicityFromGroup) -
Uses of TreeElement in org.javarosa.xml
Methods in org.javarosa.xml that return TreeElement Modifier and Type Method Description TreeElementTreeElementParser. parse()Methods in org.javarosa.xml that return types with arguments of type TreeElement Modifier and Type Method Description List<TreeElement>TreeElementParser. parseInternalSecondaryInstances()Parses the internal instances from an XForm (excluding the main instance)