Code example for AttributesImpl

Methods: addAttribute

0
 
  public void startSpan(DOMBuilder rtf)
    throws SAXException { 
    // no point in doing this for FO, right? 
    if (!stylesheetFO) {
      AttributesImpl spanAttr = new AttributesImpl();
      spanAttr.addAttribute("", "class", "class", "CDATA", "co");
      rtf.startElement("", "span", "span", spanAttr);
    } 
  } 
 
  public void endSpan(DOMBuilder rtf) 
    throws SAXException { 
    // no point in doing this for FO, right? 
    if (!stylesheetFO) {
      rtf.endElement("", "span", "span");
    } 
  } 
 
  public void formatTextCallout(DOMBuilder rtf,
				Callout callout) {