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.IOException
public CSSStyleDeclaration parseStyleDeclaration(InputSource source) throws java.io.IOException
java.io.IOException
public void parseStyleDeclaration(CSSStyleDeclaration sd, InputSource source) throws java.io.IOException
java.io.IOException
public CSSValue parsePropertyValue(InputSource source) throws java.io.IOException
java.io.IOException
public CSSRule parseRule(InputSource source) throws java.io.IOException
java.io.IOException
public SelectorList parseSelectors(InputSource source) throws java.io.IOException
java.io.IOException
public void setParentStyleSheet(CSSStyleSheetImpl parentStyleSheet)
public static void setProperty(java.lang.String key, java.lang.String val)