Class CSSDocumentHandlerImpl

java.lang.Object
org.eclipse.e4.ui.css.core.impl.sac.CSSDocumentHandlerImpl
All Implemented Interfaces:
ExtendedDocumentHandler, org.w3c.css.sac.DocumentHandler

public class CSSDocumentHandlerImpl extends Object implements ExtendedDocumentHandler
This class provides an implementation for the ExtendedDocumentHandler interface.
  • Constructor Details

    • CSSDocumentHandlerImpl

      public CSSDocumentHandlerImpl()
  • Method Details

    • getRoot

      public Object getRoot()
    • startDocument

      public void startDocument(org.w3c.css.sac.InputSource source) throws org.w3c.css.sac.CSSException
      Specified by:
      startDocument in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • endDocument

      public void endDocument(org.w3c.css.sac.InputSource source) throws org.w3c.css.sac.CSSException
      Specified by:
      endDocument in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • comment

      public void comment(String text) throws org.w3c.css.sac.CSSException
      Specified by:
      comment in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • ignorableAtRule

      public void ignorableAtRule(String atRule) throws org.w3c.css.sac.CSSException
      Specified by:
      ignorableAtRule in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • namespaceDeclaration

      public void namespaceDeclaration(String prefix, String uri) throws org.w3c.css.sac.CSSException
      Specified by:
      namespaceDeclaration in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • importStyle

      public void importStyle(String uri, org.w3c.css.sac.SACMediaList media, String defaultNamespaceURI) throws org.w3c.css.sac.CSSException
      Specified by:
      importStyle in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • startMedia

      public void startMedia(org.w3c.css.sac.SACMediaList media) throws org.w3c.css.sac.CSSException
      Specified by:
      startMedia in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • endMedia

      public void endMedia(org.w3c.css.sac.SACMediaList media) throws org.w3c.css.sac.CSSException
      Specified by:
      endMedia in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • startPage

      public void startPage(String name, String pseudo_page) throws org.w3c.css.sac.CSSException
      Specified by:
      startPage in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • endPage

      public void endPage(String name, String pseudo_page) throws org.w3c.css.sac.CSSException
      Specified by:
      endPage in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • startFontFace

      public void startFontFace() throws org.w3c.css.sac.CSSException
      Specified by:
      startFontFace in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • endFontFace

      public void endFontFace() throws org.w3c.css.sac.CSSException
      Specified by:
      endFontFace in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • startSelector

      public void startSelector(org.w3c.css.sac.SelectorList selectors) throws org.w3c.css.sac.CSSException
      Specified by:
      startSelector in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • endSelector

      public void endSelector(org.w3c.css.sac.SelectorList selectors) throws org.w3c.css.sac.CSSException
      Specified by:
      endSelector in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • property

      public void property(String name, org.w3c.css.sac.LexicalUnit value, boolean important) throws org.w3c.css.sac.CSSException
      Specified by:
      property in interface org.w3c.css.sac.DocumentHandler
      Throws:
      org.w3c.css.sac.CSSException
    • getCSSProperty

      protected CSSProperty getCSSProperty(CSSStyleDeclaration styleDeclaration, String name, org.w3c.css.sac.LexicalUnit value, boolean important)
    • getNodeRoot

      public Object getNodeRoot()
      Description copied from interface: ExtendedDocumentHandler
      Return root node.
      Specified by:
      getNodeRoot in interface ExtendedDocumentHandler
    • setNodeStack

      public void setNodeStack(Stack<Object> nodeStack)
      Description copied from interface: ExtendedDocumentHandler
      Set node stack.
      Specified by:
      setNodeStack in interface ExtendedDocumentHandler
    • getNodeStack

      public Stack<Object> getNodeStack()