Class CSSOMParser


  • public class CSSOMParser
    extends java.lang.Object
    Version:
    $Release$
    Author:
    David Schweinsberg
    • Constructor Detail

      • CSSOMParser

        public CSSOMParser()
        Creates new CSSOMParser
    • 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)