Package com.adobe.xfa.configuration
Class ConfigurationModelFactory
java.lang.Object
com.adobe.xfa.ModelFactory
com.adobe.xfa.configuration.ConfigurationModelFactory
A class to represent XFA configuration model factories.
A configuration model factory is used by an application model
to create a configuration model where appropriate,
when loading an XML file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate the XML DOM node and the corresponding XFA Model.booleanConfigModel knows how to merge a duplicate model into an existing one during postLoad processing.Methods inherited from class com.adobe.xfa.ModelFactory
isRootName, rootName, setOption
-
Constructor Details
-
ConfigurationModelFactory
public ConfigurationModelFactory()Instantiates a configuration model factory.
-
-
Method Details
-
createDOM
Description copied from class:ModelFactoryCreate the XML DOM node and the corresponding XFA Model. In C++, this only creates the XML DOM node, and a separate step creates the corresponding Model node. In XFA4J, the we don't have the capability of calling AppModel.loadNode to instantiate an XFA Model from the DOM node, so this method is changed to create the XFA model.- Specified by:
createDOMin classModelFactory- Parameters:
parent- the XFA DOM node that will be the XML parent of the new DOM peer.- Returns:
- the XFA Model that was created.
-
getAllowAdd
public boolean getAllowAdd()ConfigModel knows how to merge a duplicate model into an existing one during postLoad processing.- Overrides:
getAllowAddin classModelFactory
-