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) booleaninPre(package private) booleanstartingParagraph
-
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 voiddecrIndent()protected voidemptyTag(javax.swing.text.Element elem)protected voidendTag(javax.swing.text.Element elem)protected voidincrIndent()protected voidstartTag(javax.swing.text.Element elem)protected voidtext(javax.swing.text.Element elem)protected voidwriteEmbeddedTags(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:
startTagin classjavax.swing.text.html.HTMLWriter- Throws:
java.io.IOException
-
writeEmbeddedTags
protected void writeEmbeddedTags(javax.swing.text.AttributeSet attr) throws java.io.IOException- Overrides:
writeEmbeddedTagsin classjavax.swing.text.html.HTMLWriter- Throws:
java.io.IOException
-
endTag
protected void endTag(javax.swing.text.Element elem) throws java.io.IOException- Overrides:
endTagin classjavax.swing.text.html.HTMLWriter- Throws:
java.io.IOException
-
incrIndent
protected void incrIndent()
- Overrides:
incrIndentin classjavax.swing.text.AbstractWriter
-
decrIndent
protected void decrIndent()
- Overrides:
decrIndentin classjavax.swing.text.AbstractWriter
-
emptyTag
protected void emptyTag(javax.swing.text.Element elem) throws java.io.IOException, javax.swing.text.BadLocationException- Overrides:
emptyTagin classjavax.swing.text.html.HTMLWriter- Throws:
java.io.IOExceptionjavax.swing.text.BadLocationException
-
text
protected void text(javax.swing.text.Element elem) throws java.io.IOException, javax.swing.text.BadLocationException- Overrides:
textin classjavax.swing.text.html.HTMLWriter- Throws:
java.io.IOExceptionjavax.swing.text.BadLocationException
-
-