Package edu.umd.cs.findbugs.util
Class HTML.HTMLtoPlainTextWriter2
- java.lang.Object
-
- javax.swing.text.AbstractWriter
-
- javax.swing.text.html.HTMLWriter
-
- edu.umd.cs.findbugs.util.HTML.HTMLtoPlainTextWriter2
-
- Enclosing class:
- HTML
private static final class HTML.HTMLtoPlainTextWriter2 extends javax.swing.text.html.HTMLWriter
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
inPre
(package private) boolean
startingParagraph
-
Constructor Summary
Constructors Constructor Description HTMLtoPlainTextWriter2(java.io.Writer w, javax.swing.text.html.HTMLDocument doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
decrIndent()
protected void
emptyTag(javax.swing.text.Element elem)
protected void
endTag(javax.swing.text.Element elem)
protected void
incrIndent()
protected void
startTag(javax.swing.text.Element elem)
protected void
text(javax.swing.text.Element elem)
protected void
writeEmbeddedTags(javax.swing.text.AttributeSet attr)
-
Methods inherited from class javax.swing.text.html.HTMLWriter
closeOutUnwantedEmbeddedTags, comment, isBlockTag, matchNameAttribute, output, selectContent, synthesizedElement, textAreaContent, write, writeAttributes, writeLineSeparator, writeOption
-
Methods inherited from class javax.swing.text.AbstractWriter
getCanWrapLines, getCurrentLineLength, getDocument, getElementIterator, getEndOffset, getIndentLevel, getIndentSpace, getLineLength, getLineSeparator, getStartOffset, getText, getWriter, indent, inRange, isLineEmpty, setCanWrapLines, setCurrentLineLength, setIndentSpace, setLineLength, setLineSeparator, write, write, write
-
-
-
-
Method Detail
-
startTag
protected void startTag(javax.swing.text.Element elem) throws java.io.IOException
- Overrides:
startTag
in classjavax.swing.text.html.HTMLWriter
- Throws:
java.io.IOException
-
writeEmbeddedTags
protected void writeEmbeddedTags(javax.swing.text.AttributeSet attr) throws java.io.IOException
- Overrides:
writeEmbeddedTags
in classjavax.swing.text.html.HTMLWriter
- Throws:
java.io.IOException
-
endTag
protected void endTag(javax.swing.text.Element elem) throws java.io.IOException
- Overrides:
endTag
in classjavax.swing.text.html.HTMLWriter
- Throws:
java.io.IOException
-
incrIndent
protected void incrIndent()
- Overrides:
incrIndent
in classjavax.swing.text.AbstractWriter
-
decrIndent
protected void decrIndent()
- Overrides:
decrIndent
in classjavax.swing.text.AbstractWriter
-
emptyTag
protected void emptyTag(javax.swing.text.Element elem) throws java.io.IOException, javax.swing.text.BadLocationException
- Overrides:
emptyTag
in classjavax.swing.text.html.HTMLWriter
- Throws:
java.io.IOException
javax.swing.text.BadLocationException
-
text
protected void text(javax.swing.text.Element elem) throws java.io.IOException, javax.swing.text.BadLocationException
- Overrides:
text
in classjavax.swing.text.html.HTMLWriter
- Throws:
java.io.IOException
javax.swing.text.BadLocationException
-
-