|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.quiotix.html.parser.HtmlVisitor com.quiotix.html.parser.HtmlDumper
public class HtmlDumper
Simple HtmlVisitor which dumps out the document to the specified output stream.
Field Summary | |
---|---|
protected PrintWriter |
out
|
Constructor Summary | |
---|---|
HtmlDumper(OutputStream os)
Constructor. |
|
HtmlDumper(OutputStream os,
String encoding)
Constructor. |
Method Summary | |
---|---|
void |
finish()
Finish. |
void |
visit(HtmlDocument.Annotation a)
Visit an Annotation. |
void |
visit(HtmlDocument.Comment c)
Visit a Comment. |
void |
visit(HtmlDocument.EndTag t)
Visit an EndTag. |
void |
visit(HtmlDocument.Newline n)
Visit a Newline. |
void |
visit(HtmlDocument.Tag t)
Visit a Tag. |
void |
visit(HtmlDocument.Text t)
Visit Text. |
Methods inherited from class com.quiotix.html.parser.HtmlVisitor |
---|
start, visit, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PrintWriter out
Constructor Detail |
---|
public HtmlDumper(OutputStream os)
public HtmlDumper(OutputStream os, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
Method Detail |
---|
public void finish()
HtmlVisitor
finish
in class HtmlVisitor
public void visit(HtmlDocument.Tag t)
HtmlVisitor
visit
in class HtmlVisitor
public void visit(HtmlDocument.EndTag t)
HtmlVisitor
visit
in class HtmlVisitor
public void visit(HtmlDocument.Comment c)
HtmlVisitor
visit
in class HtmlVisitor
public void visit(HtmlDocument.Text t)
HtmlVisitor
visit
in class HtmlVisitor
public void visit(HtmlDocument.Newline n)
HtmlVisitor
visit
in class HtmlVisitor
public void visit(HtmlDocument.Annotation a)
HtmlVisitor
visit
in class HtmlVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |