public class

ExtractClassNamesVisitor

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

Class Overview

Collect all CSS class names in a stylesheet.

Summary

[Expand]
Inherited Fields
From class com.google.gwt.resources.css.ast.CssVisitor
Public Methods
void endVisit(CssExternalSelectors x, Context ctx)
void endVisit(CssSelector x, Context ctx)
static Set<String> exec(CssStylesheet sheet)
Extract all CSS class names in the provided stylesheet.
static Set<String> exec(CssStylesheet sheet, JClassType... imports)
Extract all CSS class names in the provided stylesheet, modulo those imported from another context.
[Expand]
Inherited Methods
From class com.google.gwt.resources.css.ast.CssVisitor
From class java.lang.Object

Public Methods

public void endVisit (CssExternalSelectors x, Context ctx)

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

public void endVisit (CssSelector x, Context ctx)

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

public static Set<String> exec (CssStylesheet sheet)

Extract all CSS class names in the provided stylesheet.

public static Set<String> exec (CssStylesheet sheet, JClassType... imports)

Extract all CSS class names in the provided stylesheet, modulo those imported from another context.