public final class DataModelFactory extends ModelFactory
| Constructor and Description |
|---|
DataModelFactory()
Instantiates a data model factory.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
attributesAreValues()
Return a boolean indicating whether XML attributes are to be treated as
XFADataValues or ignored.
|
void |
attributesAreValues(boolean bSetting)
Set the behavior for interpreting XML attributes.
|
Model |
createDOM(Element parent)
Create the XML DOM node and the corresponding XFA Model.
|
boolean |
getAllowAdd()
DataModel knows how to merge a duplicate model into an existing one
during postLoad processing.
|
boolean |
isRootName(String name) |
void |
reset() |
void |
setOption(String optionName,
String optionValue,
boolean bCritical)
Sets a data loading option.
|
rootNamepublic boolean attributesAreValues()
public void attributesAreValues(boolean bSetting)
bSetting - if true, non-namespaced attributes are to be interpreted as
XFADataValues. If false, attributes are essentially ignored
within the context of the XFA-Data DOM. The default is false.public Model createDOM(Element parent)
ModelFactorycreateDOM in class ModelFactoryparent - the XFA DOM node that will be the XML parent of
the new DOM peer.public boolean getAllowAdd()
getAllowAdd in class ModelFactorypublic boolean isRootName(String name)
isRootName in class ModelFactoryname - the name to be tested. This String must be interned.public void setOption(String optionName, String optionValue, boolean bCritical)
setOption in class ModelFactoryoptionName - the name of the optionoptionValue - the value of the optionbCritical - if true, then any future attempts to set this option
on this DataModelFactory are rejected.public void reset()
Copyright © 2010 - 2020 Adobe. All Rights Reserved