Class ConfigurationKey

  • All Implemented Interfaces:
    Peer

    public class ConfigurationKey
    extends ConfigurationElement
    A class to represent config objects capable of enclosing other XFAConfigurationKey objects, (i.e., nested keys) and XFAConfigurationValue objects (i.e., values).
    • Constructor Detail

      • ConfigurationKey

        public ConfigurationKey​(Element parent,
                                Node prevSibling)
        Constructor.
    • Method Detail

      • isValidAttr

        public boolean isValidAttr​(int eTag)
        Is the given attribute tag valid for this configuration key.
        Parameters:
        eTag - the attribute tag to check.
        Returns:
        true if valid and false otherwise.
      • isValidChild

        public boolean isValidChild​(int eTag,
                                    int nError,
                                    boolean bBeforeInsert,
                                    boolean bOccurrenceErrorOnly)
        Overrides:
        isValidChild in class Element
        Parameters:
        eTag - the class tag of the node that will be or has been appended
        bBeforeInsert - if true, then the child has not yet been inserted into the child list of this element.
        Returns:
        true if eTag is a valid child.
        See Also:
        Element.isValidChild(int, int, boolean, boolean)