public final class ConfigurationModel extends Model
Model.DualDomModel, Model.PublisherElement.DualDomNode, Element.ReplaceContentNode.ChangeLoggerAttrIsDefault, AttrIsFragment, AttrIsTransient, CREATEACTIONCREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE, gsXFANamespacePrefixATTR_CHANGED, CHILD_ADDED, CHILD_REMOVED, DESCENDENT_ADDED, DESCENDENT_ATTR_CHANGED, DESCENDENT_REMOVED, DESCENDENT_VALUE_CHANGED, PARENT_CHANGED, PERMS_LOCK_CLEARED, PERMS_LOCK_SET, PROTO_ATTR_CHANGED, PROTO_CHILD_ADDED, PROTO_CHILD_REMOVED, PROTO_DESCENDENT_ADDED, PROTO_DESCENDENT_ATTR_CHANGED, PROTO_DESCENDENT_REMOVED, PROTO_DESCENDENT_VALUE_CHANGED, PROTO_VALUE_CHANGED, UPDATED, VALUE_CHANGED| Constructor and Description |
|---|
ConfigurationModel(Element parent,
Node prevSibling)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
configurationNS()
Namespace
|
Element |
createElement(Element parent,
Node prevSibling,
String uri,
String localName,
String qName,
Attributes attributes,
int lineNumber,
String fileName)
Create an element based on the parameters provided by the SAX handler.
|
Node |
createNode(int eTag,
Element parent,
String aName,
String aNS,
boolean bDoVersionCheck)
Create an element with the given tag, parent, name and uri.
|
String |
getBaseNS() |
Element |
getCommonNode(String sSchemaName)
Retrieve the common ConfigurationKey node.
|
static ConfigurationModel |
getConfigurationModel(AppModel appModel,
boolean bCreateIfNotFound)
Gets the configuration model held within an XFA DOM hierarchy.
|
Attribute |
getConfigValue(String sSOM,
BooleanHolder isDefault)
Gets the value of a configuration value node.
|
boolean |
getConfigValue(String sSOM,
StringBuilder sValue)
Gets the value of a configuration value node.
|
String |
getHeadNS() |
int |
getHeadVersion() |
String |
getNS()
Gets this element's namespace.
|
boolean |
isVersionCompatible(int nVersion,
int nTargetVersion) |
void |
mergeModel(ConfigurationModel oModel) |
boolean |
publish(Model.Publisher publisher)
Publish the model to an Application Storage facility.
|
int |
remapTag(int eTag)
Remap a given tag to a new value.
|
addErrorList, addUseHRefNode, addUseNode, addXMLLoadErrorContext, allowUpdates, checkforCompatibleNS, clearErrorList, clone, createElement, createElement, createElement, createElement, createTextNode, createTextNode, doAttributeCleanup, getAliasNode, getAppModel, getAppModelIsTransient, getCachedLocale, getContext, getCurrentVersion, getDelta, getDeltas, getDocument, getErrorContextList, getErrorList, getEventManager, getGenerator, getIDValueMap, getLegacySetting, getLogMessenger, getName, getNeedsNSNormalize, getNode, getOriginalVersion, getOriginalVersionNode, getOriginalXFAVersion, getProtoList, getSchema, getScriptTable, getSourceBelow, getVersion, getXmlPeer, isCompatibleNS, isContainer, isLoading, loadNode, loadRootAttributes, loadSpecialAttribute, loadSpecialNode, modelCleanup, nodeCleanup, normalizeNameSpaces, normalizeNameSpaces, normalizeNameSpaces, preLoadNode, preSave, ready, remove, removeLastError, removeReferences, resolveNodes, resolveProtos, serialize, setAliasNode, setAppModel, setAppModelIsTransient, setContext, setCurrentVersion, setDOMProperties, setIDValueMap, setName, setNeedsNSNormalize, setOriginalXFAVersion, setXmlPeer, shortCutName, validateUsage, validateUsageFailedIsFatal, willDirtyDoc, willDirtyDocappendChild, appendChild, appendPI, appendPI, assignNode, clone, connectPeerToDocument, constructKey, constructKeys, copyContent, defaultAttribute, defaultElement, defaultElement, establishID, evaluate, explodeQName, findAttr, findSchemaAttr, foundBadAttribute, foundBadAttribute, getAll, getAtom, getAttr, getAttribute, getAttribute, getAttributeByName, getAttrIndex, getAttrName, getAttrNS, getAttrProp, getAttrQName, getAttrVal, getChildReln, getClassAll, getClassIndex, getClassName, getDeltas, getElement, getElement, getElementClass, getElementLocal, getEnum, getEnum, getEventTable, getFirstXFAChild, getFirstXMLChild, getID, getIndex, getInheritedNS, getInstalledLocale, getIsNull, getLastXMLChild, getLineNumber, getLocalName, getModel, getNode, getNodes, getNodeSchema, getNumAttrs, getOneOfChild, getOneOfChild, getPI, getPI, getPrefix, getProperty, getProperty, getSaveXMLSaveTransient, getSchemaType, getScriptMethodInfo, getSibling, getText, getXFAChild, getXMLChild, getXMLName, getXPath, getXsiNilAttribute, inhibitPrettyPrint, inhibitPrettyPrint, insertChild, isFragment, isHidden, isHidden, isIndexed, isInstalledLocaleAmbient, isLeaf, isNameSpaceAttr, isPropertySpecified, isPropertySpecified, isPropertyValid, isSpecified, isSpecified, isSpecified, isTransient, isTransparent, isValidAttr, isValidChild, isValidElement, loadXML, loadXML, makeDefault, makeNonDefault, newAttribute, optimizeNameSpace, peekAttribute, peekElement, peekOneOfChild, peekProperty, peekProperty, postSave, privateSetName, processTextChildrenDuringParse, removeAttr, removeAttr, removeChild, removePI, removePI, removeWhiteSpace, removeXsiNilAttribute, replaceChild, resetPostLoadXML, resolveAndEnumerateChildren, resolveNodeCreate, resolvePrefix, saveFilteredXML, saveXML, saveXML, setAttribute, setAttribute, setAttribute, setAttribute, setAttrProp, setDefaultFlag, setElement, setIsDataWindowRoot, setIsIndexed, setLineNumber, setLocalName, setModel, setNS, setOneOfChild, setProperty, setProperty, setQName, setSaveXMLSaveTransient, setTransparent, setXMLName, setXsiNilAttribute, updateFromPeercheckAncestorPerms, checkDescendentPerms, checkPerms, cleanDirtyFlags, compareVersions, getData, getFirstXMLChildElement, getLocked, getNextXFASibling, getNextXMLSibling, getNextXMLSiblingElement, getNodeAsXML, getOwnerDocument, getPIAsXML, getPIName, getPreviousXMLSibling, getPrivateName, getPropName, getSOMExpression, getSOMExpression, getSomName, getUniqueSOMName, getWillDirty, getXFAChildCount, getXFAParent, getXfaPeer, getXMLChildCount, getXMLParent, hasChanged, isDefault, isDirty, isMapped, isPermsLockSet, isTransient, locateChildByClass, locateChildByName, logValueChangeHelper, notifyPeers, performSOMAssignment, resolveNode, resolveNode, resolveNode, resolveNodes, sendMessenge, setDirty, setDocument, setLocked, setMapped, setPermsLock, setPrivateName, setWillDirty, setXfaPeer, unLock, validateSchemaaddPeer, addPeeredNode, clearPeers, deafen, getClassAtom, getClassTag, getPeer, getScriptProperty, getScriptThis, invokeFunction, isDeaf, isMute, isSameClass, isSameClass, isSameClass, mute, peerRemoved, removePeer, removePeeredNode, setClass, setClassTag, setScriptProperty, unDeafen, unMutepublic Node createNode(int eTag, Element parent, String aName, String aNS, boolean bDoVersionCheck)
ModelcreateNode in class ModeleTag - the element's tag.parent - the element's parent.aName - the element's name.aNS - the element's namespace.bDoVersionCheck - check the element's version.Model.createNode(int, Element, String, String, boolean)public static ConfigurationModel getConfigurationModel(AppModel appModel, boolean bCreateIfNotFound)
appModel - the application model.bCreateIfNotFound - when set, create a model if necessary.public static String configurationNS()
public String getBaseNS()
getBaseNS in class ModelModel.getBaseNS()public boolean isVersionCompatible(int nVersion,
int nTargetVersion)
isVersionCompatible in class ModelModel.isVersionCompatible(int, int)public String getNS()
ElementgetNS in class ModelElement.getNS()public Attribute getConfigValue(String sSOM, BooleanHolder isDefault)
If the node doesn't exist, the default value will be returned.
sSOM - A SOM expression specifying the configuration value node.isDefault - a scalar which is set to true if the node
exists, and false if the node does not exist and
the value returned is a default value.public boolean getConfigValue(String sSOM, StringBuilder sValue)
If the node doesn't exist, the default value will be returned.
sSOM - A SOM expression specifying the configuration value node.sValue - The retrieved value.public int getHeadVersion()
getHeadVersion in class Modelpublic Element getCommonNode(String sSchemaName)
sSchemaName - The name of the root of the schema.public Element createElement(Element parent, Node prevSibling, String uri, String localName, String qName, Attributes attributes, int lineNumber, String fileName)
createElement in class Modeluri - namespace for this element.localName - local name for this element.qName - qualified name for this element.attributes - structure containing attribute definitions.parent - the element's parent, if any.prevSibling - the element's previous sibling, if any.public void mergeModel(ConfigurationModel oModel)
public int remapTag(int eTag)
public boolean publish(Model.Publisher publisher)
Modelpublish in class Modelpublisher - an instance of a class derived from TemplateModel.Publisher.Model.publish(com.adobe.xfa.Model.Publisher)Copyright © 2010 - 2020 Adobe. All Rights Reserved