Interface CssParserEventHandler
-
public interface CssParserEventHandlerA handler for parse events in the spirit of SAC and SAX.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCssParserEventHandler.BooleanExpressionHandlerBuilds a boolean expression.static interfaceCssParserEventHandler.ExpressionHandlerBuilds an expression.static interfaceCssParserEventHandler.ImportHandlerBuilds an import.static interfaceCssParserEventHandler.MediaHandlerBuilds a media rule.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCommentEnd()voidonCommentStart(com.google.common.css.compiler.ast.ParserToken comment)voidonConditionalRuleEnd()CssParserEventHandler.BooleanExpressionHandleronConditionalRuleStart(CssAtRuleNode.Type type, com.google.common.css.compiler.ast.ParserToken ruleName)voidonDeclarationEnd()CssParserEventHandler.ExpressionHandleronDeclarationStart(com.google.common.css.compiler.ast.ParserToken propertyName, boolean hasStarHack)voidonDefinitionEnd()CssParserEventHandler.ExpressionHandleronDefinitionStart(com.google.common.css.compiler.ast.ParserToken definitionName)voidonDocumentEnd()voidonDocumentStart(SourceCode sourceCode)voidonImportRuleEnd()CssParserEventHandler.ImportHandleronImportRuleStart()voidonMediaRuleEnd()CssParserEventHandler.MediaHandleronMediaRuleStart()voidonRulesetEnd()voidonRulesetStart(CssSelectorListNode selectorList)
-
-
-
Method Detail
-
onDocumentStart
void onDocumentStart(SourceCode sourceCode)
-
onDocumentEnd
void onDocumentEnd()
-
onRulesetStart
void onRulesetStart(CssSelectorListNode selectorList)
-
onRulesetEnd
void onRulesetEnd()
-
onCommentStart
void onCommentStart(com.google.common.css.compiler.ast.ParserToken comment)
-
onCommentEnd
void onCommentEnd()
-
onDeclarationStart
CssParserEventHandler.ExpressionHandler onDeclarationStart(com.google.common.css.compiler.ast.ParserToken propertyName, boolean hasStarHack)
-
onDeclarationEnd
void onDeclarationEnd()
-
onDefinitionStart
CssParserEventHandler.ExpressionHandler onDefinitionStart(com.google.common.css.compiler.ast.ParserToken definitionName)
-
onDefinitionEnd
void onDefinitionEnd()
-
onConditionalRuleStart
CssParserEventHandler.BooleanExpressionHandler onConditionalRuleStart(CssAtRuleNode.Type type, com.google.common.css.compiler.ast.ParserToken ruleName)
-
onConditionalRuleEnd
void onConditionalRuleEnd()
-
onImportRuleStart
CssParserEventHandler.ImportHandler onImportRuleStart()
-
onImportRuleEnd
void onImportRuleEnd()
-
onMediaRuleStart
CssParserEventHandler.MediaHandler onMediaRuleStart()
-
onMediaRuleEnd
void onMediaRuleEnd()
-
-