protected void writeEmbeddedTags(AttributeSet attr) throws IOException {
  attr=convertToHTML(attr,oConvAttr);
  Enumeration names=attr.getAttributeNames();
  while (names.hasMoreElements()) {
    Object name=names.nextElement();
    if (name instanceof HTML.Tag) {
      HTML.Tag tag=(HTML.Tag)name;
      if (tag == HTML.Tag.FORM || tags.contains(tag)) {
        continue;
      }
      write('<');
      write(tag.toString());
      Object o=attr.getAttribute(tag);
      if (o != null && o instanceof AttributeSet) {
        writeAttributes((AttributeSet)o);
      }
      write('>');
      tags.addElement(tag);
      tagValues.addElement(o);
    }
  }
}

protected void writeEmbeddedTags ( AttributeSet attr ) throws IOException { attr = convertToHTML ( attr , oConvAttr ) ; Enumeration names = attr . getAttributeNames ( ) ; while ( names . hasMoreElements ( ) ) { Object name = names . nextElement ( ) ; if ( name instanceof HTML . Tag ) { HTML . Tag tag = ( HTML . Tag ) name ; if ( tag == HTML . Tag . FORM || tags . contains ( tag ) ) { continue ; } write ( '<' ) ; write ( tag . toString ( ) ) ; Object o = attr . getAttribute ( tag ) ; if ( o != null && o instanceof AttributeSet ) { writeAttributes ( ( AttributeSet ) o ) ; } write ( '>' ) ; tags . addElement ( tag ) ; tagValues . addElement ( o ) ; } } }
searches for embedded tags in the attributeset and writes them out . it also stores these tags in a vector so that when appropriate the corresponding end tags can be written out .
