java.lang.Object
javax.swing.text.AbstractWriter
javax.swing.text.html.HTMLWriter
public class HTMLWriter extends AbstractWriter
This is a writer for HTMLDocuments.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HTMLWriter(Writer w, HTMLDocument doc)
Creates a new HTMLWriter.HTMLWriter(Writer w, HTMLDocument doc, int pos, int len)
Creates a new HTMLWriter. -
Method Summary
Modifier and Type Method Description protected void
closeOutUnwantedEmbeddedTags(AttributeSet attr)
Searches the attribute set and for each tag that is stored in the tag vector.protected void
comment(Element elem)
Writes out comments.protected void