Package com.steadystate.css.parser
Class CSSOMParser
- java.lang.Object
-
- com.steadystate.css.parser.CSSOMParser
-
public class CSSOMParser extends java.lang.Object
- Version:
- $Release$
- Author:
- David Schweinsberg
-
-
Constructor Summary
Constructors Constructor Description CSSOMParser()
Creates new CSSOMParser
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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(java.lang.String key, java.lang.String val)
-
-
-
Method Detail
-
parseStyleSheet
public CSSStyleSheet parseStyleSheet(InputSource source) throws java.io.IOException
- Throws:
java.io.IOException
-
parseStyleDeclaration
public CSSStyleDeclaration parseStyleDeclaration(InputSource source) throws java.io.IOException
- Throws:
java.io.IOException
-
parseStyleDeclaration
public void parseStyleDeclaration(CSSStyleDeclaration sd, InputSource source) throws java.io.IOException
- Throws:
java.io.IOException
-
parsePropertyValue
public CSSValue parsePropertyValue(InputSource source) throws java.io.IOException
- Throws:
java.io.IOException
-
parseRule
public CSSRule parseRule(InputSource source) throws java.io.IOException
- Throws:
java.io.IOException
-
parseSelectors
public SelectorList parseSelectors(InputSource source) throws java.io.IOException
- Throws:
java.io.IOException
-
setParentStyleSheet
public void setParentStyleSheet(CSSStyleSheetImpl parentStyleSheet)
-
setProperty
public static void setProperty(java.lang.String key, java.lang.String val)
-
-