FileDocCategorySizeDatePackage
CSSElement.javaAPI DocGlassfish v2 API2542Fri May 04 22:34:48 BST 2007com.sun.enterprise.diagnostics.report.html

CSSElement

public class CSSElement extends HTMLElement
author
mu125243

Fields Summary
Constructors Summary
public CSSElement(String tagName)
Creates a new instance of CSSElement

        super(tagName);
    
Methods Summary
public voidsetCSSClass(java.lang.String className)

        List<Attribute> attributes= getAttributes("class");
        if(attributes.size()==0){
            addAttribute("class",className);
        }
        else{
        Attribute attribute = attributes.get(0);
        attribute.setValue(className);
        }