public final class TemplateModelFactory extends ModelFactory
| Constructor and Description |
|---|
TemplateModelFactory()
Instantiates a template model factory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyFixups(boolean bApply)
Indicates whether to apply fixups on the template model after
it's been loaded.
|
Model |
createDOM(Element parent)
Create the XML DOM node and the corresponding XFA Model.
|
void |
setOption(String optionName,
String optionValue,
boolean bCritical)
Sets an option
|
void |
setTemplateResolver(TemplateResolver oResolver) |
getAllowAdd, isRootName, rootNamepublic TemplateModelFactory()
public void applyFixups(boolean bApply)
bApply - apply fixups when true.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 void setOption(String optionName, String optionValue, boolean bCritical)
ModelFactorysetOption in class ModelFactoryoptionName - - the name of the option.optionValue - - the value of the option.bCritical - - disallow further modification of this option.ModelFactory.setOption(String, String, boolean)public void setTemplateResolver(TemplateResolver oResolver)
Copyright © 2010 - 2020 Adobe. All Rights Reserved