Class CSSDocumentHandlerImpl
java.lang.Object
org.eclipse.e4.ui.css.core.impl.sac.CSSDocumentHandlerImpl
- All Implemented Interfaces:
ExtendedDocumentHandler,org.w3c.css.sac.DocumentHandler
This class provides an implementation for the
ExtendedDocumentHandler
interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidendDocument(org.w3c.css.sac.InputSource source) voidvoidendMedia(org.w3c.css.sac.SACMediaList media) voidvoidendSelector(org.w3c.css.sac.SelectorList selectors) protected CSSPropertygetCSSProperty(CSSStyleDeclaration styleDeclaration, String name, org.w3c.css.sac.LexicalUnit value, boolean important) Return root node.getRoot()voidignorableAtRule(String atRule) voidimportStyle(String uri, org.w3c.css.sac.SACMediaList media, String defaultNamespaceURI) voidnamespaceDeclaration(String prefix, String uri) voidvoidsetNodeStack(Stack<Object> nodeStack) Set node stack.voidstartDocument(org.w3c.css.sac.InputSource source) voidvoidstartMedia(org.w3c.css.sac.SACMediaList media) voidvoidstartSelector(org.w3c.css.sac.SelectorList selectors)
-
Constructor Details
-
CSSDocumentHandlerImpl
public CSSDocumentHandlerImpl()
-
-
Method Details
-
getRoot
-
startDocument
public void startDocument(org.w3c.css.sac.InputSource source) throws org.w3c.css.sac.CSSException - Specified by:
startDocumentin interfaceorg.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:
endDocumentin interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
comment
- Specified by:
commentin interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
ignorableAtRule
- Specified by:
ignorableAtRulein interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
namespaceDeclaration
- Specified by:
namespaceDeclarationin interfaceorg.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:
importStylein interfaceorg.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:
startMediain interfaceorg.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:
endMediain interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
startPage
- Specified by:
startPagein interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
endPage
- Specified by:
endPagein interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
startFontFace
public void startFontFace() throws org.w3c.css.sac.CSSException- Specified by:
startFontFacein interfaceorg.w3c.css.sac.DocumentHandler- Throws:
org.w3c.css.sac.CSSException
-
endFontFace
public void endFontFace() throws org.w3c.css.sac.CSSException- Specified by:
endFontFacein interfaceorg.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:
startSelectorin interfaceorg.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:
endSelectorin interfaceorg.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:
propertyin interfaceorg.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
Description copied from interface:ExtendedDocumentHandlerReturn root node.- Specified by:
getNodeRootin interfaceExtendedDocumentHandler
-
setNodeStack
Description copied from interface:ExtendedDocumentHandlerSet node stack.- Specified by:
setNodeStackin interfaceExtendedDocumentHandler
-
getNodeStack
-