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 java.lang.Object
- implements SCSSDocumentHandler
|
Method Summary |
void |
appendDirective(java.lang.String variable,
java.lang.String list,
java.lang.String append,
java.lang.String separator)
|
void |
comment(java.lang.String text)
|
void |
containsDirective(java.lang.String variable,
java.lang.String list,
java.lang.String contains,
java.lang.String separator)
|
void |
contentDirective()
|
void |
debugDirective()
|
void |
elseDirective()
|
void |
endDocument(org.w3c.css.sac.InputSource source)
|
void |
endEachDirective()
|
void |
endFontFace()
|
void |
endIfElseDirective()
|
void |
endIncludeContentBlock()
|
void |
endKeyFrames()
|
void |
endKeyframeSelector()
|
void |
endMedia(org.w3c.css.sac.SACMediaList media)
|
void |
endMixinDirective(java.lang.String name,
java.util.Collection<VariableNode> args)
|
void |
endNestedProperties(java.lang.String name)
|
void |
endPage(java.lang.String name,
java.lang.String pseudo_page)
|
void |
endSelector()
|
void |
endSelector(org.w3c.css.sac.SelectorList arg0)
|
void |
extendDirective(java.util.ArrayList<java.lang.String> list)
|
ForNode |
forDirective(java.lang.String var,
java.lang.String from,
java.lang.String to,
boolean exclusive,
java.lang.String body)
|
ScssStylesheet |
getStyleSheet()
|
void |
ifDirective(java.lang.String evaluator)
|
void |
ignorableAtRule(java.lang.String atRule)
|
void |
importStyle(java.lang.String uri,
org.w3c.css.sac.SACMediaList media,
boolean isURL)
|
void |
importStyle(java.lang.String uri,
org.w3c.css.sac.SACMediaList media,
java.lang.String defaultNamespaceURI)
|
void |
includeDirective(java.lang.String name,
java.util.Collection<LexicalUnitImpl> args)
|
void |
microsoftDirective(java.lang.String name,
java.lang.String value)
|
void |
namespaceDeclaration(java.lang.String prefix,
java.lang.String uri)
|
void |
property(java.lang.String name,
org.w3c.css.sac.LexicalUnit value,
boolean important)
|
void |
property(java.lang.String name,
LexicalUnitImpl value,
boolean important,
java.lang.String comment)
|
void |
removeDirective(java.lang.String variable,
java.lang.String list,
java.lang.String remove,
java.lang.String separator)
|
void |
startDocument(org.w3c.css.sac.InputSource source)
|
EachDefNode |
startEachDirective(java.lang.String var,
java.util.ArrayList<java.lang.String> list)
|
EachDefNode |
startEachDirective(java.lang.String var,
java.lang.String listVariable)
|
void |
startFontFace()
|
void |
startIfElseDirective()
|
void |
startIncludeContentBlock(java.lang.String name)
|
void |
startKeyFrames(java.lang.String keyframeName,
java.lang.String animationName)
|
void |
startKeyframeSelector(java.lang.String selector)
|
void |
startMedia(org.w3c.css.sac.SACMediaList media)
|
void |
startMixinDirective(java.lang.String name,
java.util.Collection<VariableNode> args)
|
void |
startNestedProperties(java.lang.String name)
|
void |
startPage(java.lang.String name,
java.lang.String pseudo_page)
|
void |
startSelector(java.util.ArrayList<java.lang.String> selectors)
|
void |
startSelector(org.w3c.css.sac.SelectorList arg0)
|
void |
unrecognizedRule(java.lang.String text)
|
void |
variable(java.lang.String name,
LexicalUnitImpl value,
boolean guarded)
|
WhileNode |
whileDirective(java.lang.String condition,
java.lang.String body)
|
| 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(java.lang.String name,
LexicalUnitImpl value,
boolean guarded)
- Specified by:
variable in interface SCSSDocumentHandler
debugDirective
public void debugDirective()
- Specified by:
debugDirective in interface SCSSDocumentHandler
forDirective
public ForNode forDirective(java.lang.String var,
java.lang.String from,
java.lang.String to,
boolean exclusive,
java.lang.String body)
- Specified by:
forDirective in interface SCSSDocumentHandler
startEachDirective
public EachDefNode startEachDirective(java.lang.String var,
java.util.ArrayList<java.lang.String> list)
- Specified by:
startEachDirective in interface SCSSDocumentHandler
startEachDirective
public EachDefNode startEachDirective(java.lang.String var,
java.lang.String listVariable)
- Specified by:
startEachDirective in interface SCSSDocumentHandler
endEachDirective
public void endEachDirective()
- Specified by:
endEachDirective in interface SCSSDocumentHandler
whileDirective
public WhileNode whileDirective(java.lang.String condition,
java.lang.String body)
- Specified by:
whileDirective in interface SCSSDocumentHandler
comment
public void comment(java.lang.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(java.lang.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(java.lang.String prefix,
java.lang.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(java.lang.String uri,
org.w3c.css.sac.SACMediaList media,
java.lang.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(java.lang.String name,
java.lang.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(java.lang.String name,
java.lang.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(java.util.ArrayList<java.lang.String> 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(java.lang.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
property
public void property(java.lang.String name,
LexicalUnitImpl value,
boolean important,
java.lang.String comment)
- Specified by:
property in interface SCSSDocumentHandler
extendDirective
public void extendDirective(java.util.ArrayList<java.lang.String> list)
- Specified by:
extendDirective in interface SCSSDocumentHandler
startNestedProperties
public void startNestedProperties(java.lang.String name)
- Specified by:
startNestedProperties in interface SCSSDocumentHandler
endNestedProperties
public void endNestedProperties(java.lang.String name)
- Specified by:
endNestedProperties in interface SCSSDocumentHandler
startMixinDirective
public void startMixinDirective(java.lang.String name,
java.util.Collection<VariableNode> args)
- Specified by:
startMixinDirective in interface SCSSDocumentHandler
endMixinDirective
public void endMixinDirective(java.lang.String name,
java.util.Collection<VariableNode> args)
- Specified by:
endMixinDirective in interface SCSSDocumentHandler
includeDirective
public void includeDirective(java.lang.String name,
java.util.Collection<LexicalUnitImpl> args)
- Specified by:
includeDirective in interface SCSSDocumentHandler
importStyle
public void importStyle(java.lang.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(java.lang.String 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(java.lang.String name,
java.lang.String value)
- Specified by:
microsoftDirective in interface SCSSDocumentHandler
unrecognizedRule
public void unrecognizedRule(java.lang.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
removeDirective
public void removeDirective(java.lang.String variable,
java.lang.String list,
java.lang.String remove,
java.lang.String separator)
- Specified by:
removeDirective in interface SCSSDocumentHandler
appendDirective
public void appendDirective(java.lang.String variable,
java.lang.String list,
java.lang.String append,
java.lang.String separator)
- Specified by:
appendDirective in interface SCSSDocumentHandler
containsDirective
public void containsDirective(java.lang.String variable,
java.lang.String list,
java.lang.String contains,
java.lang.String separator)
- Specified by:
containsDirective in interface SCSSDocumentHandler
startKeyFrames
public void startKeyFrames(java.lang.String keyframeName,
java.lang.String animationName)
- Specified by:
startKeyFrames in interface SCSSDocumentHandler
endKeyFrames
public void endKeyFrames()
- Specified by:
endKeyFrames in interface SCSSDocumentHandler
startKeyframeSelector
public void startKeyframeSelector(java.lang.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
startIncludeContentBlock
public void startIncludeContentBlock(java.lang.String name)
- Specified by:
startIncludeContentBlock in interface SCSSDocumentHandler
endIncludeContentBlock
public void endIncludeContentBlock()
- Specified by:
endIncludeContentBlock in interface SCSSDocumentHandler
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.