code: public void setDir(String dir)
      {
          _spanState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, HtmlConstants.DIR, dir);
      }
docs: Sets the dir attribute for the HTML span.
  @param dir
  @jsptagref.attributedescription The dir.
  @jsptagref.attributesyntaxvalue <i>string_dir</i>
  @netui:attribute required="false" rtexprvalue="true"
  description="The dir for the HTML span."