|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.text.AbstractWriter
javax.swing.text.html.HTMLWriter
freemind.main.FixedHTMLWriter
public class FixedHTMLWriter
Create a new XHTMLWriter which is able to save a HTMLDocument as XHTML.
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.
Field Summary |
---|
Fields inherited from class javax.swing.text.AbstractWriter |
---|
NEWLINE |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
protected void |
writeAttributes(javax.swing.text.AttributeSet attr)
|
Methods inherited from class javax.swing.text.html.HTMLWriter |
---|
closeOutUnwantedEmbeddedTags, comment, emptyTag, endTag, isBlockTag, matchNameAttribute, output, selectContent, startTag, synthesizedElement, text, textAreaContent, write, writeEmbeddedTags, writeLineSeparator, writeOption |
Methods inherited from class javax.swing.text.AbstractWriter |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
- LengthMethod Detail |
---|
protected void writeAttributes(javax.swing.text.AttributeSet attr) throws java.io.IOException
writeAttributes
in class javax.swing.text.html.HTMLWriter
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |