Package com.lowagie.text.pdf
Class XfaForm.Xml2SomTemplate
- java.lang.Object
-
- com.lowagie.text.pdf.XfaForm.Xml2Som
-
- com.lowagie.text.pdf.XfaForm.Xml2SomTemplate
-
- Enclosing class:
- XfaForm
public static class XfaForm.Xml2SomTemplate extends XfaForm.Xml2Som
Processes the template section in the XFA form.
-
-
Field Summary
-
Fields inherited from class com.lowagie.text.pdf.XfaForm.Xml2Som
anform, inverseSearch, name2Node, order, stack
-
-
Constructor Summary
Constructors Constructor Description Xml2SomTemplate(Node n)Creates a new instance from the datasets node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFieldType(String s)Gets the field type as described in thetemplatesection of the XFA.booleanisDynamicForm()trueif it's a dynamic form;falseif it's a static form.voidsetDynamicForm(boolean dynamicForm)Sets the dynamic form flag.-
Methods inherited from class com.lowagie.text.pdf.XfaForm.Xml2Som
addSomNameToSearchNodeChain, escapeSom, getInverseSearch, getInverseSearchData, getName2Node, getNamesOrder, getNodesByName, getOrder, getShortName, inverseSearch, inverseSearchAdd, inverseSearchAdd, inverseSearchGlobal, printStack, setInverseSearch, setInverseSearchData, setName2Node, setNamesOrder, setNodesByName, setOrder, splitParts, unescapeSom
-
-
-
-
Constructor Detail
-
Xml2SomTemplate
public Xml2SomTemplate(Node n)
Creates a new instance from the datasets node.- Parameters:
n- the template node
-
-
Method Detail
-
getFieldType
public String getFieldType(String s)
Gets the field type as described in thetemplatesection of the XFA.- Parameters:
s- the exact template name- Returns:
- the field type or
nullif not found
-
isDynamicForm
public boolean isDynamicForm()
trueif it's a dynamic form;falseif it's a static form.- Returns:
trueif it's a dynamic form;falseif it's a static form
-
setDynamicForm
public void setDynamicForm(boolean dynamicForm)
Sets the dynamic form flag. It doesn't change the template.- Parameters:
dynamicForm- the dynamic form flag
-
-