Home | History | Annotate | Download | only in parser

Lines Matching defs:Visitor

204   /** Accepts a Visitor */
205 public void accept(Visitor v) {
232 /** Accepts a visitor */
233 public abstract void accept(Visitor visitor);
287 public void accept(Visitor visitor) {
288 visitor.visitComment(this);
392 public void accept(Visitor visitor) {
393 visitor.visitText(this);
621 public void accept(Visitor visitor) {
622 visitor.visitTag(this);
735 public void accept(Visitor visitor) {
736 visitor.visitEndTag(this);
892 * Filter is like Visitor, except it implies that the nodes may be changed,
893 * whereas HtmlDocument.Visitor just implies that the nodes are iterated
894 * over. A Filter can behave just like a Visitor if it merely returns the
1101 * Html visitor allows external code to iterate through the nodes in the
1104 public static interface Visitor {
1125 * An implementation of the Visitor interface which simply delegates its
1126 * methods to a wrapped instance of another Visitor.
1130 public static class VisitorWrapper implements Visitor {
1131 private final Visitor wrapped;
1133 protected VisitorWrapper(Visitor wrap) {
1163 * A special helper Visitor that builds a HtmlDocument.
1165 public static class Builder implements Visitor {
1214 * A Visitor that prints out the html document in debug format.
1216 public static class DebugPrinter implements Visitor {