Package com.adobe.xfa.localeset
Class LocaleSetModelFactory
- java.lang.Object
-
- com.adobe.xfa.ModelFactory
-
- com.adobe.xfa.localeset.LocaleSetModelFactory
-
public final class LocaleSetModelFactory extends ModelFactory
A class to represent XFA locale set model factories. A locale set model factory is used by an application model to create a locale set model where appropriate, when loading an XML file.
-
-
Constructor Summary
Constructors Constructor Description LocaleSetModelFactory()
Instantiates a locale set model factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Model
createDOM(Element parent)
Create the XML DOM node and the corresponding XFA Model.-
Methods inherited from class com.adobe.xfa.ModelFactory
getAllowAdd, isRootName, rootName, setOption
-
-
-
-
Method Detail
-
createDOM
public Model createDOM(Element parent)
Description copied from class:ModelFactory
Create 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:
createDOM
in 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.
-
-