com.vaadin.sass.internal.handler
Class SCSSDocumentHandlerImpl
java.lang.Object
com.vaadin.sass.internal.handler.SCSSDocumentHandlerImpl
- All Implemented Interfaces:
- SCSSDocumentHandler, org.w3c.css.sac.DocumentHandler
public class SCSSDocumentHandlerImpl
- extends Object
- implements SCSSDocumentHandler
|
Method Summary |
void |
comment(String text)
|
void |
contentDirective()
|
void |
debugDirective()
|
void |
elseDirective()
|
void |
endDocument(org.w3c.css.sac.InputSource source)
|
void |
endEachDirective()
|
void |
endFontFace()
|
void |
endForDirective()
|
void |
endFunctionDirective()
|
void |
endIfElseDirective()
|
void |
endInclude()
|
void |
endKeyFrames()
|
void |
endKeyframeSelector()
|
void |
endMedia(org.w3c.css.sac.SACMediaList media)
|
void |
endMixinDirective()
|
void |
endNestedProperties(String name)
|
void |
endPage(String name,
String pseudo_page)
|
void |
endSelector()
|
void |
endSelector(org.w3c.css.sac.SelectorList arg0)
|
void |
endWhileDirective()
|
void |
extendDirective(List<Selector> list,
boolean optional)
|
ScssStylesheet |
getStyleSheet()
|
void |
ifDirective(SassListItem evaluator)
|
void |
ignorableAtRule(String atRule)
|
void |
importStyle(String uri,
org.w3c.css.sac.SACMediaList media,
boolean isURL)
|
void |
importStyle(String uri,
org.w3c.css.sac.SACMediaList media,
String defaultNamespaceURI)
|
void |
microsoftDirective(String name,
String value)
|
void |
namespaceDeclaration(String prefix,
String uri)
|
void |
property(String name,
org.w3c.css.sac.LexicalUnit value,
boolean important)
|
void |
property(String name,
SassListItem value,
boolean important)
|
void |
property(String name,
SassListItem value,
boolean important,
String comment)
|
void |
returnDirective(SassListItem expr)
|
void |
startDocument(org.w3c.css.sac.InputSource source)
|
void |
startEachDirective(String var,
SassListItem list)
|
void |
startFontFace()
|
void |
startForDirective(String var,
SassListItem from,
SassListItem to,
boolean exclusive)
|
void |
startFunctionDirective(String name,
Collection<VariableNode> args,
boolean hasVariableArgs)
|
void |
startIfElseDirective()
|
void |
startInclude(String name,
List<VariableNode> args,
boolean hasVariableArgs)
|
void |
startKeyFrames(String keyframeName,
String animationName)
|
void |
startKeyframeSelector(String selector)
|
void |
startMedia(org.w3c.css.sac.SACMediaList media)
|
void |
startMixinDirective(String name,
Collection<VariableNode> args,
boolean hasVariableArgs)
|
void |
startNestedProperties(String name)
|
void |
startPage(String name,
String pseudo_page)
|
void |
startSelector(List<Selector> selectors)
|
void |
startSelector(org.w3c.css.sac.SelectorList arg0)
|
void |
startWhileDirective(SassListItem condition)
|
void |
unrecognizedRule(String text)
|
void |
variable(String name,
SassListItem value,
boolean guarded)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCSSDocumentHandlerImpl
public SCSSDocumentHandlerImpl()
SCSSDocumentHandlerImpl
public SCSSDocumentHandlerImpl(ScssStylesheet styleSheet)
getStyleSheet
public ScssStylesheet getStyleSheet()
- Specified by:
getStyleSheet in interface SCSSDocumentHandler
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
variable
public void variable(String name,
SassListItem value,
boolean guarded)
- Specified by:
variable in interface SCSSDocumentHandler
debugDirective
public void debugDirective()
- Specified by:
debugDirective in interface SCSSDocumentHandler
startForDirective
public void startForDirective(String var,
SassListItem from,
SassListItem to,
boolean exclusive)
- Specified by:
startForDirective in interface SCSSDocumentHandler
endForDirective
public void endForDirective()
- Specified by:
endForDirective in interface SCSSDocumentHandler
startEachDirective
public void startEachDirective(String var,
SassListItem list)
- Specified by:
startEachDirective in interface SCSSDocumentHandler
endEachDirective
public void endEachDirective()
- Specified by:
endEachDirective in interface SCSSDocumentHandler
startWhileDirective
public void startWhileDirective(SassListItem condition)
- Specified by:
startWhileDirective in interface SCSSDocumentHandler
endWhileDirective
public void endWhileDirective()
- Specified by:
endWhileDirective in interface SCSSDocumentHandler
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(List<Selector> selectors)
throws org.w3c.css.sac.CSSException
- Specified by:
startSelector in interface SCSSDocumentHandler
- Throws:
org.w3c.css.sac.CSSException
endSelector
public void endSelector()
throws org.w3c.css.sac.CSSException
- Specified by:
endSelector in interface SCSSDocumentHandler
- Throws:
org.w3c.css.sac.CSSException
property
public void property(String name,
SassListItem value,
boolean important)
throws org.w3c.css.sac.CSSException
- Throws:
org.w3c.css.sac.CSSException
property
public void property(String name,
SassListItem value,
boolean important,
String comment)
- Specified by:
property in interface SCSSDocumentHandler
extendDirective
public void extendDirective(List<Selector> list,
boolean optional)
- Specified by:
extendDirective in interface SCSSDocumentHandler
startNestedProperties
public void startNestedProperties(String name)
- Specified by:
startNestedProperties in interface SCSSDocumentHandler
endNestedProperties
public void endNestedProperties(String name)
- Specified by:
endNestedProperties in interface SCSSDocumentHandler
startMixinDirective
public void startMixinDirective(String name,
Collection<VariableNode> args,
boolean hasVariableArgs)
- Specified by:
startMixinDirective in interface SCSSDocumentHandler
endMixinDirective
public void endMixinDirective()
- Specified by:
endMixinDirective in interface SCSSDocumentHandler
startFunctionDirective
public void startFunctionDirective(String name,
Collection<VariableNode> args,
boolean hasVariableArgs)
- Specified by:
startFunctionDirective in interface SCSSDocumentHandler
endFunctionDirective
public void endFunctionDirective()
- Specified by:
endFunctionDirective in interface SCSSDocumentHandler
importStyle
public void importStyle(String uri,
org.w3c.css.sac.SACMediaList media,
boolean isURL)
- Specified by:
importStyle in interface SCSSDocumentHandler
startIfElseDirective
public void startIfElseDirective()
- Specified by:
startIfElseDirective in interface SCSSDocumentHandler
ifDirective
public void ifDirective(SassListItem evaluator)
- Specified by:
ifDirective in interface SCSSDocumentHandler
elseDirective
public void elseDirective()
- Specified by:
elseDirective in interface SCSSDocumentHandler
endIfElseDirective
public void endIfElseDirective()
- Specified by:
endIfElseDirective in interface SCSSDocumentHandler
microsoftDirective
public void microsoftDirective(String name,
String value)
- Specified by:
microsoftDirective in interface SCSSDocumentHandler
unrecognizedRule
public void unrecognizedRule(String text)
endSelector
public void endSelector(org.w3c.css.sac.SelectorList arg0)
throws org.w3c.css.sac.CSSException
- Specified by:
endSelector in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
startSelector
public void startSelector(org.w3c.css.sac.SelectorList arg0)
throws org.w3c.css.sac.CSSException
- Specified by:
startSelector in interface org.w3c.css.sac.DocumentHandler
- Throws:
org.w3c.css.sac.CSSException
startKeyFrames
public void startKeyFrames(String keyframeName,
String animationName)
- Specified by:
startKeyFrames in interface SCSSDocumentHandler
endKeyFrames
public void endKeyFrames()
- Specified by:
endKeyFrames in interface SCSSDocumentHandler
startKeyframeSelector
public void startKeyframeSelector(String selector)
- Specified by:
startKeyframeSelector in interface SCSSDocumentHandler
endKeyframeSelector
public void endKeyframeSelector()
- Specified by:
endKeyframeSelector in interface SCSSDocumentHandler
contentDirective
public void contentDirective()
- Specified by:
contentDirective in interface SCSSDocumentHandler
returnDirective
public void returnDirective(SassListItem expr)
- Specified by:
returnDirective in interface SCSSDocumentHandler
startInclude
public void startInclude(String name,
List<VariableNode> args,
boolean hasVariableArgs)
- Specified by:
startInclude in interface SCSSDocumentHandler
endInclude
public void endInclude()
- Specified by:
endInclude in interface SCSSDocumentHandler
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
Copyright © 2013–2014 Vaadin. All rights reserved.