public class CssVisitor extends Object
accept
methods. The default behavior of the
visit
methods is to return true
to indicate that
the calling node should traverse its descendant nodes.Modifier and Type | Field and Description |
---|---|
protected static Context |
UNMODIFIABLE_CONTEXT |
Constructor and Description |
---|
CssVisitor() |
protected static final Context UNMODIFIABLE_CONTEXT
public final <T extends CssNode> T accept(T node)
public void endVisit(CssDef x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssEval x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssExternalSelectors x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssFontFace x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssIf x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssMediaRule x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssNoFlip x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssPageRule x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssProperty x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssRule x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssSelector x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssSprite x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssStylesheet x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssUrl x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssUnknownAtRule x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssDef x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssEval x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssExternalSelectors x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssFontFace x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssIf x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssMediaRule x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssNoFlip x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssPageRule x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssProperty x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssRule x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssSelector x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssSprite x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssStylesheet x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssUrl x, Context ctx)
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssUnknownAtRule x, Context ctx)
x
- the node being visitedctx
- the context for the visitprotected <T extends CssNode> T doAccept(T node)
Copyright © 2018. All rights reserved.