Interface IProcessableElementTag

    • Method Detail

      • getAllAttributes

        IAttribute[] getAllAttributes()

        Returns an array with all the attributes contained in the tag.

        This array is a defensive copy of the original data kept at the tag, and might be null if there are no attributes at the tag.

        Returns:
        the array of attributes.
      • getAttributeMap

        java.util.Map<java.lang.String,​java.lang.String> getAttributeMap()

        Returns a Map containing all the attribute names+values in the tag.

        This array is a defensive copy of the original data kept at the tag, and might be null if there are no attributes at the tag.

        Returns:
        the map of attributes.
      • hasAttribute

        boolean hasAttribute​(java.lang.String completeName)

        Returns whether an attribute is exists at the tag or not.

        Parameters:
        completeName - the complete name of the attribute that is being queried.
        Returns:
        true if the attribute exists, false if not.
      • hasAttribute

        boolean hasAttribute​(java.lang.String prefix,
                             java.lang.String name)

        Returns whether an attribute is exists at the tag or not.

        Parameters:
        prefix - the prefix of the attribute that is being queried (might be null).
        name - the name of tha attribute that is being queried.
        Returns:
        true if the attribute exists, false if not.
      • hasAttribute

        boolean hasAttribute​(AttributeName attributeName)

        Returns whether an attribute is exists at the tag or not.

        Parameters:
        attributeName - the name of the attribute that is being queried.
        Returns:
        true if the attribute exists, false if not.
      • getAttribute

        IAttribute getAttribute​(java.lang.String completeName)

        Returns the object modelling a specific attribute in the tag (or null if it does not exist).

        Parameters:
        completeName - the complete name of the attribute that is being queried.
        Returns:
        the IAttribute for the queried attribute, or null if it does not exist.
      • getAttribute

        IAttribute getAttribute​(java.lang.String prefix,
                                java.lang.String name)

        Returns the object modelling a specific attribute in the tag (or null if it does not exist).

        Parameters:
        prefix - the prefix of the attribute that is being queried (might be null).
        name - the name of tha attribute that is being queried.
        Returns:
        the IAttribute for the queried attribute, or null if it does not exist.
      • getAttribute

        IAttribute getAttribute​(AttributeName attributeName)

        Returns the object modelling a specific attribute in the tag (or null if it does not exist).

        Parameters:
        attributeName - the name of the attribute that is being queried.
        Returns:
        the IAttribute for the queried attribute, or null if it does not exist.
      • getAttributeValue

        java.lang.String getAttributeValue​(java.lang.String completeName)

        Returns the value of a specific attribute in the tag (or null if it does not exist).

        Parameters:
        completeName - the complete name of the attribute that is being queried.
        Returns:
        the value of the queried attribute, or null if it does not exist.
      • getAttributeValue

        java.lang.String getAttributeValue​(java.lang.String prefix,
                                           java.lang.String name)

        Returns the value of a specific attribute in the tag (or null if it does not exist).

        Parameters:
        prefix - the prefix of the attribute that is being queried (might be null).
        name - the name of tha attribute that is being queried.
        Returns:
        the value of the queried attribute, or null if it does not exist.
      • getAttributeValue

        java.lang.String getAttributeValue​(AttributeName attributeName)

        Returns the value of a specific attribute in the tag (or null if it does not exist).

        Parameters:
        attributeName - the name of the attribute that is being queried.
        Returns:
        the value of the queried attribute, or null if it does not exist.