com.steadystate.css.parser
public class CSSOMParser extends java.lang.Object
| Constructor and Description |
|---|
CSSOMParser()
Creates new CSSOMParser
|
| Modifier and Type | Method and Description |
|---|---|
CSSValue |
parsePropertyValue(InputSource source) |
CSSRule |
parseRule(InputSource source) |
SelectorList |
parseSelectors(InputSource source) |
void |
parseStyleDeclaration(CSSStyleDeclaration sd,
InputSource source) |
CSSStyleDeclaration |
parseStyleDeclaration(InputSource source) |
CSSStyleSheet |
parseStyleSheet(InputSource source) |
void |
setParentStyleSheet(CSSStyleSheetImpl parentStyleSheet) |
static void |
setProperty(java.lang.String key,
java.lang.String val) |
public CSSStyleSheet parseStyleSheet(InputSource source) throws java.io.IOException
java.io.IOExceptionpublic CSSStyleDeclaration parseStyleDeclaration(InputSource source) throws java.io.IOException
java.io.IOExceptionpublic void parseStyleDeclaration(CSSStyleDeclaration sd, InputSource source) throws java.io.IOException
java.io.IOExceptionpublic CSSValue parsePropertyValue(InputSource source) throws java.io.IOException
java.io.IOExceptionpublic CSSRule parseRule(InputSource source) throws java.io.IOException
java.io.IOExceptionpublic SelectorList parseSelectors(InputSource source) throws java.io.IOException
java.io.IOExceptionpublic void setParentStyleSheet(CSSStyleSheetImpl parentStyleSheet)
public static void setProperty(java.lang.String key,
java.lang.String val)