- java.lang.Object
-
- com.itextpdf.text.pdf.XfaForm.InverseStore
-
- Enclosing class:
- XfaForm
public static class XfaForm.InverseStore extends java.lang.ObjectA structure to store each part of a SOM name and link it to the next part beginning from the lower hierarchy.
-
-
Constructor Summary
Constructors Constructor Description InverseStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDefaultName()Gets the full name by traversing the hierarchy using only the index 0.booleanisSimilar(java.lang.String name)Search the current node for a similar name.
-
-
-
Method Detail
-
getDefaultName
public java.lang.String getDefaultName()
Gets the full name by traversing the hierarchy using only the index 0.- Returns:
- the full name
-
isSimilar
public boolean isSimilar(java.lang.String name)
Search the current node for a similar name. A similar name starts with the same name but has a different index. For example, "detail[3]" is similar to "detail[9]". The main use is to discard names that correspond to out of bounds records.- Parameters:
name- the name to search- Returns:
trueif a similitude was found
-
-