code: public void setAttribute(String name, String value, String facet)
              throws JspException {
          if(facet == null || facet.equals(ANCHOR_FACET_NAME))
              super.addStateAttribute(_anchorState, name, value);
          else if(facet.equals(IMAGE_FACET_NAME))
              super.addStateAttribute(_imageState, name, value);
          else
              super.setAttribute(name, value, facet);
      }
docs: <p>
  Implementation of the {@link org.apache.beehive.netui.tags.IAttributeConsumer} interface.  This
  allows users of this tag to extend the attribute set that is rendered by the HTML image or
  anchor tags.  This method accepts the following facets:
  <table>
  <tr><td>Facet Name</td><td>Operation</td></tr>
  <tr><td><code>anchor</code></td><td>Adds an attribute with the provided <code>name</code> and <code>value</code> to the
  attributes rendered on the &lt;a&gt; tag.</td></tr>
  <tr><td><code>image</code></td><td>Adds an attribute with the provided <code>name</code> and <code>value</code> to the
  attributes rendered on the &lt;img&gt; tag.</td></tr>
  </table>
  This tag defaults to the setting attributes on the anchor when the facet name is unset.
  </p>
  @param name the name of the attribute
  @param value the value of the attribute
  @param facet the facet for the attribute
  @throws JspException thrown when the facet is not recognized