public class FixedHTMLWriter
extends javax.swing.text.html.HTMLWriter
The result will be a valid XML file, but it is not granted that the file will really be XHTML 1.0 transitional conformous. The basic purpose of this class is to give an XSL processor access to plain HTML files.
Constructor and Description |
---|
FixedHTMLWriter(java.io.Writer writer,
javax.swing.text.html.HTMLDocument doc)
Create a new XHTMLWriter that will write the entire HTMLDocument.
|
FixedHTMLWriter(java.io.Writer writer,
javax.swing.text.html.HTMLDocument doc,
int pos,
int len)
Create a new XHTMLWriter that will write a part of a HTMLDocument.
|
Modifier and Type | Method and Description |
---|---|
protected void |
writeAttributes(javax.swing.text.AttributeSet attr) |
closeOutUnwantedEmbeddedTags, comment, emptyTag, endTag, isBlockTag, matchNameAttribute, output, selectContent, startTag, synthesizedElement, text, textAreaContent, write, writeEmbeddedTags, writeLineSeparator, writeOption
decrIndent, getCanWrapLines, getCurrentLineLength, getDocument, getElementIterator, getEndOffset, getIndentLevel, getIndentSpace, getLineLength, getLineSeparator, getStartOffset, getText, getWriter, incrIndent, indent, inRange, isLineEmpty, setCanWrapLines, setCurrentLineLength, setIndentSpace, setLineLength, setLineSeparator, write, write, write
public FixedHTMLWriter(java.io.Writer writer, javax.swing.text.html.HTMLDocument doc)
writer
- Writer to write todoc
- Source documentpublic FixedHTMLWriter(java.io.Writer writer, javax.swing.text.html.HTMLDocument doc, int pos, int len)
writer
- Writer to write todoc
- Source documentpos
- Starting positionlen
- Length