|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.adobe.xfa.Obj
com.adobe.xfa.Node
com.adobe.xfa.Element
com.adobe.xfa.Model
com.adobe.xfa.data.DataModel
public final class DataModel
A class to model the collection of all XFA nodes that make up form data.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.adobe.xfa.Node |
|---|
Node.ChangeLogger |
| Field Summary |
|---|
| Fields inherited from class com.adobe.xfa.Node |
|---|
CREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE |
| Method Summary | |
|---|---|
static DataModel |
getDataModel(AppModel app,
boolean bCreateIfNotFound,
boolean bAppend)
Gets the data model held within an XFA DOM hierarchy. |
void |
remove()
Removes this node from its parent child list. |
| Methods inherited from class com.adobe.xfa.Model |
|---|
clearErrorList, createElement, createElement, createElement, createTextNode, getCurrentVersion, getDocument, getErrorContextList, getErrorList, normalizeNameSpaces, resolveNodes |
| Methods inherited from class com.adobe.xfa.Element |
|---|
appendChild, assignNode, getAttr, getAttribute, getElement, getFirstXFAChild, getFirstXMLChild, getInstalledLocale, getLastXMLChild, getModel, getName, getNodes, getNS, getNumAttrs, getPrefix, getText, getXFAChild, getXMLChild, isInstalledLocaleAmbient, loadXML, saveXML, setAttribute, setAttribute, setAttribute, setLocalName, setName, setNS, setQName |
| Methods inherited from class com.adobe.xfa.Node |
|---|
checkAncestorPerms, checkDescendentPerms, checkPerms, cleanDirtyFlags, compareVersions, getData, getDynamicScriptProp, getNextXFASibling, getNextXMLSibling, getOwnerDocument, getPreviousXMLSibling, getSOMExpression, getXFAChildCount, getXFAParent, getXMLChildCount, getXMLParent, hasChanged, resolveNode, resolveNode, resolveNodes, setNextXMLSibling, setPermsLock, setXMLParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DataModel getDataModel(AppModel app,
boolean bCreateIfNotFound,
boolean bAppend)
app - the application model.bCreateIfNotFound - when true, create a data model if needed.bAppend - when true, append any underling xml to the xfa root
element when loading, and when false, create orphan
xfa:datasets and xfa:data nodes. This behaviour
occurs only works when bCreateIfNotFound is set to true.
public void remove()
Node
remove in class ModelNode.remove()
|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||