com.google.caja.plugin.templates
Class SafeCssMaker

java.lang.Object
  extended by com.google.caja.plugin.templates.SafeCssMaker

final class SafeCssMaker
extends java.lang.Object

Attaches CSS to either the static HTML or the uncajoled JS as appropriate.

Depends on emitCss___ as defined in DOMita.

Author:
mikesamuel@gmail.com

Field Summary
private  org.w3c.dom.Document doc
           
private  java.util.List<CssTree.StyleSheet> validatedStylesheets
           
 
Constructor Summary
SafeCssMaker(java.util.List<CssTree.StyleSheet> validatedStylesheets, org.w3c.dom.Document doc)
           
 
Method Summary
(package private)  Pair<Statement,org.w3c.dom.Element> make()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validatedStylesheets

private final java.util.List<CssTree.StyleSheet> validatedStylesheets

doc

private final org.w3c.dom.Document doc
Constructor Detail

SafeCssMaker

SafeCssMaker(java.util.List<CssTree.StyleSheet> validatedStylesheets,
             org.w3c.dom.Document doc)
Method Detail

make

Pair<Statement,org.w3c.dom.Element> make()


Copyright (C) 2008 Google Inc.
Licensed under the Apache License, Version 2.0