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 CSSValueparsePropertyValue(InputSource source)CSSRuleparseRule(InputSource source)SelectorListparseSelectors(InputSource source)CSSStyleDeclarationparseStyleDeclaration(InputSource source)voidparseStyleDeclaration(CSSStyleDeclaration sd, InputSource source)CSSStyleSheetparseStyleSheet(InputSource source)voidsetParentStyleSheet(CSSStyleSheetImpl parentStyleSheet)static voidsetProperty(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)
-
-