public class

CssNodeCloner

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

Class Overview

Clones CssNodes.

Summary

[Expand]
Inherited Fields
From class com.google.gwt.resources.css.ast.CssVisitor
Public Methods
static <T extends CssNode> List<T> clone(Class<T> clazz, List<T> nodes)
Clone a list of nodes.
static <T extends CssNode> T clone(Class<T> clazz, T node)
Clone a single node.
void endVisit(CssNoFlip x, Context ctx)
void endVisit(CssStylesheet x, Context ctx)
void endVisit(CssMediaRule x, Context ctx)
boolean visit(CssNoFlip x, Context ctx)
boolean visit(CssSelector x, Context ctx)
boolean visit(CssIf x, Context ctx)
A CssIf has two lists of nodes, so we want to handle traversal in this visitor.
boolean visit(CssMediaRule x, Context ctx)
boolean visit(CssStylesheet x, Context ctx)
boolean visit(CssUnknownAtRule 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 Methods

public static List<T> clone (Class<T> clazz, List<T> nodes)

Clone a list of nodes.

public static T clone (Class<T> clazz, T node)

Clone a single node.

public void endVisit (CssNoFlip x, Context ctx)

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

public void endVisit (CssStylesheet 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 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)

A CssIf has two lists of nodes, so we want to handle traversal in this visitor.

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 (CssStylesheet x, Context ctx)

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

public boolean visit (CssUnknownAtRule 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