com.lowagie.text.pdf
public static class XfaForm.Xml2Som extends Object
| Field Summary | |
|---|---|
| protected int | anform
A temporary store for the repetition count. |
| protected HashMap | inverseSearch
The data to do a search from the bottom hierarchy. |
| protected HashMap | name2Node
The mapping of full names to nodes. |
| protected ArrayList | order
The order the names appear in the XML, depth first. |
| protected XfaForm.Stack2 | stack
A stack to be used when parsing. |
| Method Summary | |
|---|---|
| static String | escapeSom(String s)
Escapes a SOM string fragment replacing "." with "\.". |
| HashMap | getInverseSearch()
Gets the data to do a search from the bottom hierarchy. |
| HashMap | getName2Node()
Gets the mapping of full names to nodes. |
| ArrayList | getOrder()
Gets the order the names appear in the XML, depth first. |
| static String | getShortName(String s)
Gets the name with the #subform removed. |
| void | inverseSearchAdd(String unstack)
Adds a SOM name to the search node chain. |
| static void | inverseSearchAdd(HashMap inverseSearch, XfaForm.Stack2 stack, String unstack)
Adds a SOM name to the search node chain. |
| String | inverseSearchGlobal(ArrayList parts)
Searches the SOM hierarchy from the bottom. |
| protected String | printStack()
Outputs the stack as the sequence of elements separated
by '.'. |
| void | setInverseSearch(HashMap inverseSearch)
Sets the data to do a search from the bottom hierarchy. |
| void | setName2Node(HashMap name2Node)
Sets the mapping of full names to nodes. |
| void | setOrder(ArrayList order)
Sets the order the names appear in the XML, depth first |
| static XfaForm.Stack2 | splitParts(String name)
Splits a SOM name in the individual parts. |
| static String | unescapeSom(String s)
Unescapes a SOM string fragment replacing "\." with ".". |
Parameters: s the unescaped string
Returns: the escaped string
Returns: the data to do a search from the bottom hierarchy
Returns: the mapping of full names to nodes
Returns: the order the names appear in the XML, depth first
#subform removed.Parameters: s the long name
Returns: the short name
Parameters: unstack the SOM name
Parameters: inverseSearch the start point stack the stack with the separated SOM parts unstack the full name
Parameters: parts the SOM parts
Returns: the full name or null if not found
Returns: the stack as the sequence of elements separated by '.'
Parameters: inverseSearch the data to do a search from the bottom hierarchy
Parameters: name2Node the mapping of full names to nodes
Parameters: order the order the names appear in the XML, depth first
Parameters: name the full SOM name
Returns: the split name
Parameters: s the escaped string
Returns: the unescaped string