class HtmlPeer extends XmlPeer {

    /**
     * Creates a XmlPeer.
     *
     * @param name  the iText name of the tag
     * @param alias the Html name of the tag
     */

    public HtmlPeer(String name, String alias) {
        super(name, alias.toLowerCase());
    }

    /**
     * Sets an alias for an attribute.
     *
     * @param name  the iText tagname
     * @param alias the custom tagname
     */

    public void addAlias(String name, String alias) {
        attributeAliases.put(alias.toLowerCase(), name);
    }

    /**
     * @see com.lowagie.text.xml.XmlPeer#getAttributes(org.xml.sax.Attributes)
     */
    public Properties getAttributes(Attributes attrs) {<FILL_FUNCTION_BODY>}
}

        Properties attributes = new Properties();
        attributes.putAll(attributeValues);
        if (defaultContent != null) {
            attributes.put(ElementTags.ITEXT, defaultContent);
        }
        if (attrs != null) {
            String attribute, value;
            for (int i = 0; i < attrs.getLength(); i++) {
                attribute = getName(attrs.getQName(i).toLowerCase());
                value = attrs.getValue(i);
                attributes.setProperty(attribute, value);
            }
        }
        return attributes;
    
<methods>public void <init>(java.lang.String, java.lang.String) ,public void addAlias(java.lang.String, java.lang.String) ,public void addValue(java.lang.String, java.lang.String) ,public java.lang.String getAlias() ,public java.util.Properties getAttributes(org.xml.sax.Attributes) ,public java.util.Properties getDefaultValues() ,public java.lang.String getName(java.lang.String) ,public java.lang.String getTag() ,public void setContent(java.lang.String) <variables>protected java.util.Properties attributeAliases,protected java.util.Properties attributeValues,protected java.lang.String customTagname,protected java.lang.String defaultContent,protected java.lang.String tagname