com.google.gwt.resources.css.ast
Class CssStylesheet
java.lang.Object
com.google.gwt.resources.css.ast.CssNode
com.google.gwt.resources.css.ast.CssStylesheet
- All Implemented Interfaces:
- CssVisitable, HasNodes
public class CssStylesheet
- extends CssNode
- implements HasNodes
An abstract representation of a CSS stylesheet.
| Methods inherited from class com.google.gwt.resources.css.ast.CssNode |
toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CssStylesheet
public CssStylesheet()
CssStylesheet
public CssStylesheet(CssStylesheet other)
- A copy constructor that will clone the contents of an existing
CssStylesheet.
append
public void append(CssStylesheet other)
- Append the given stylesheet. The contents of the other stylesheet will be
cloned.
getNodes
public java.util.List<CssNode> getNodes()
- Specified by:
getNodes in interface HasNodes
traverse
public void traverse(CssVisitor visitor,
Context context)
- Specified by:
traverse in interface CssVisitable