com.steadystate.css.parser

Class CSSOMParser


public class CSSOMParser
extends java.lang.Object

Version:
$Release$
Author:
David Schweinsberg

Constructor Summary

CSSOMParser()
Creates new CSSOMParser

Method Summary

CSSValue
parsePropertyValue(InputSource source)
CSSRule
parseRule(InputSource source)
SelectorList
parseSelectors(InputSource source)
CSSStyleDeclaration
parseStyleDeclaration(InputSource source)
void
parseStyleDeclaration(CSSStyleDeclaration sd, InputSource source)
CSSStyleSheet
parseStyleSheet(InputSource source)
void
setParentStyleSheet(CSSStyleSheetImpl parentStyleSheet)
static void
setProperty(String key, String val)

Constructor Details

CSSOMParser

public CSSOMParser()
Creates new CSSOMParser

Method Details

parsePropertyValue

public CSSValue parsePropertyValue(InputSource source)
            throws IOException

parseRule

public CSSRule parseRule(InputSource source)
            throws IOException

parseSelectors

public SelectorList parseSelectors(InputSource source)
            throws IOException

parseStyleDeclaration

public CSSStyleDeclaration parseStyleDeclaration(InputSource source)
            throws IOException

parseStyleDeclaration

public void parseStyleDeclaration(CSSStyleDeclaration sd,
                                  InputSource source)
            throws IOException

parseStyleSheet

public CSSStyleSheet parseStyleSheet(InputSource source)
            throws IOException

setParentStyleSheet

public void setParentStyleSheet(CSSStyleSheetImpl parentStyleSheet)

setProperty

public static void setProperty(String key,
                               String val)