com.google.gwt.resources.css.ast
Class CssStylesheet

java.lang.Object
  extended by com.google.gwt.resources.css.ast.CssNode
      extended by 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.


Constructor Summary
CssStylesheet()
           
CssStylesheet(CssStylesheet other)
          A copy constructor that will clone the contents of an existing CssStylesheet.
 
Method Summary
 void append(CssStylesheet other)
          Append the given stylesheet.
 java.util.List<CssNode> getNodes()
           
 void traverse(CssVisitor visitor, Context context)
           
 
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
 

Constructor Detail

CssStylesheet

public CssStylesheet()

CssStylesheet

public CssStylesheet(CssStylesheet other)
A copy constructor that will clone the contents of an existing CssStylesheet.

Method Detail

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