public abstract class ModelFactory extends Object
| Constructor and Description |
|---|
ModelFactory(int eClassTag,
String aRootName,
String aShortCutName) |
| Modifier and Type | Method and Description |
|---|---|
abstract Model |
createDOM(Element parent)
Create the XML DOM node and the corresponding XFA Model.
|
boolean |
getAllowAdd()
Determines whether the class of Model that this ModelFactory creates
allows parsing a duplicate model that is added to an existing model.
|
boolean |
isRootName(String name) |
String |
rootName()
Returns the root name of the factory.
|
void |
setOption(String optionName,
String optionValue,
boolean bCritical)
Sets an option
|
public final String rootName()
public void setOption(String optionName, String optionValue, boolean bCritical)
optionName - - the name of the option.optionValue - - the value of the option.bCritical - - disallow further modification of this option.InvalidOptionException - since not allowed to
set options for this modelpublic boolean getAllowAdd()
public abstract Model createDOM(Element parent)
parent - the XFA DOM node that will be the XML parent of
the new DOM peer.public boolean isRootName(String name)
name - the name to be tested. This string must be interned.Copyright © 2010 - 2020 Adobe. All Rights Reserved