Class XfaForm.InverseStore

  • Enclosing class:
    XfaForm

    public static class XfaForm.InverseStore
    extends Object
    A structure to store each part of a SOM name and link it to the next part beginning from the lower hierarchy.
    • Constructor Detail

      • InverseStore

        public InverseStore()
    • Method Detail

      • getDefaultName

        public String getDefaultName()
        Gets the full name by traversing the hierarchy using only the index 0.
        Returns:
        the full name
      • isSimilar

        public boolean isSimilar​(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:
        true if a similitude was found