Package com.adobe.xfa.template
Class TemplateModelFixup
java.lang.Object
com.adobe.xfa.template.TemplateModelFixup
Fixup errors found during the template DOM load.
NOTE! this implementation does not attempt to do nearly the amount of
fixing up that we do on the C++ side. For now we're mainly interested
in fixing problems that show up as syntax errors and clog our log file.
-
Constructor Summary
ConstructorsConstructorDescriptionTemplateModelFixup(TemplateModel model, boolean bFixupRenderCache) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyFixups(Node node) voidProcess whatever fixups we can based on the context nodes associated with the errors found during load.
-
Constructor Details
-
TemplateModelFixup
Constructor. Pass in the model that we want to patch up immediately after it's been loaded and before its error list has been cleared.- Parameters:
model- The model to fixup.
-
-
Method Details
-
processFixups
public void processFixups()Process whatever fixups we can based on the context nodes associated with the errors found during load. Note that for any successful fixups we'll remove the errors from the error list accordingly. -
applyFixups
-