public class

CssGenerationVisitor

extends CssVisitor
java.lang.Object
   ↳ com.google.gwt.resources.css.ast.CssVisitor
     ↳ com.google.gwt.resources.css.CssGenerationVisitor

Class Overview

Generates a static CSS template string and provides information on where to inject dynamic expressions.

Summary

[Expand]
Inherited Fields
From class com.google.gwt.resources.css.ast.CssVisitor
Public Constructors
CssGenerationVisitor(TextOutput out)
Constructor.
CssGenerationVisitor(TextOutput out, boolean substituteDots)
Constructor for producing an abbreviated form of the template for use with toString().
Public Methods
void endVisit(CssNoFlip x, Context ctx)
void endVisit(CssRule x, Context ctx)
void endVisit(CssIf x, Context ctx)
void endVisit(CssPageRule x, Context ctx)
void endVisit(CssUnknownAtRule x, Context ctx)
void endVisit(CssMediaRule x, Context ctx)
SortedMap<IntegerList<CssNode>> getSubstitutionPositions()
boolean visit(CssNoFlip x, Context ctx)
boolean visit(CssSelector x, Context ctx)
boolean visit(CssIf x, Context ctx)
boolean visit(CssMediaRule x, Context ctx)
boolean visit(CssDef x, Context ctx)
boolean visit(CssProperty x, Context ctx)
boolean visit(CssRule x, Context ctx)
boolean visit(CssEval x, Context ctx)
boolean visit(CssUrl x, Context ctx)
boolean visit(CssPageRule x, Context ctx)
boolean visit(CssSprite x, Context ctx)
boolean visit(CssExternalSelectors x, Context ctx)
[Expand]
Inherited Methods
From class com.google.gwt.resources.css.ast.CssVisitor
From class java.lang.Object

Public Constructors

public CssGenerationVisitor (TextOutput out)

Constructor.

Parameters
out the output hondler

public CssGenerationVisitor (TextOutput out, boolean substituteDots)

Constructor for producing an abbreviated form of the template for use with toString().

Parameters
out the output handler
substituteDots if true locations in the text output where expression substitutions would normally occur are replaced with a textual placeholder

Public Methods

public void endVisit (CssNoFlip x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public void endVisit (CssRule x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public void endVisit (CssIf x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public void endVisit (CssPageRule x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public void endVisit (CssUnknownAtRule x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public void endVisit (CssMediaRule x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public SortedMap<IntegerList<CssNode>> getSubstitutionPositions ()

public boolean visit (CssNoFlip x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public boolean visit (CssSelector x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public boolean visit (CssIf x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public boolean visit (CssMediaRule x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public boolean visit (CssDef x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public boolean visit (CssProperty x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public boolean visit (CssRule x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public boolean visit (CssEval x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public boolean visit (CssUrl x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public boolean visit (CssPageRule x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public boolean visit (CssSprite x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public boolean visit (CssExternalSelectors x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit