code: protected void applyAttributes()
              throws JspException {
          super.applyAttributes();
  
          int have = 0;
          if(_anchorCellModel.getAction() != null)
              have++;
          if(_anchorCellModel.getHref() != null)
              have++;
          if(_anchorCellModel.getLinkName() != null)
              have++;
  
          /* todo: allow creation of JavaScript anchors */
          if(have == 0 || have > 1) {
              String s = Bundle.getString("Tags_Anchor_InvalidAnchorURI", new Object[]{getTagName(),REQUIRED_ATTR});
              throw new JspException(s);
          }
      }
docs: <p>
  Interanl method overriding the {@link AbstractHtmlTableCell#applyAttributes()} method
  to handle setting attributes on the {@link AnchorCellModel} associated with an instance of this tag.
  </p>
  @throws JspException when an error occurs applying attributes to the cell model.