Interface AttributeList


  • @Deprecated
    public interface AttributeList
    Deprecated.
    This is replaced by the Apache Sling Html parsing.
    Contains the list of attributes inside an HTML tag.
    • Method Detail

      • attributeCount

        int attributeCount()
        Deprecated.
        Return the count of attributes
        Returns:
        count of attributes
      • attributeNames

        Iterator<String> attributeNames()
        Deprecated.
        Return the list of attribute names
        Returns:
        Iterator iterating over the attribute names
      • containsAttribute

        boolean containsAttribute​(String name)
        Deprecated.
        Return a flag indicating whether a specified attribute exists
        Parameters:
        name - name of the attribute
        Returns:
        true if the specified attribute exists, false otherwise
      • getValue

        String getValue​(String name)
        Deprecated.
        Return an attribute's value, given its name or null if the attribute cannot be found.
        Parameters:
        name - attribute name
        Returns:
        an attribute's value
      • getQuoteChar

        char getQuoteChar​(String name)
        Deprecated.
        Return an attribute's quote character, given its name or 0 if the attribute cannot be found.
        Parameters:
        name - attribute name
        Returns:
        an attribute's quote character
      • getQuotedValue

        String getQuotedValue​(String name)
        Deprecated.
        Return an attribute's value, already surrounded with the quotes originally in place. Returns null if the attribute cannot be found
        Parameters:
        name - attribute name
        Returns:
        an attribute's value
      • setValue

        void setValue​(String name,
                      String value)
        Deprecated.
        Set an attribute's value. If the value is null, this is semantically different to a removeValue(String).
        Parameters:
        name - attribute name
        value - attribute value
      • removeValue

        void removeValue​(String name)
        Deprecated.
        Remove an attribute's value.
        Parameters:
        name - attribute name
      • isModified

        boolean isModified()
        Deprecated.
        Return a flag indicating whether this object was modified.
        Returns:
        true if the object was modified false otherwise