private void |
CssParser.handleAtRule(CssToken start,
CssTokenList.CssTokenIterator iter,
CssContentHandler doc,
CssErrorHandler err) |
With start token required to be an ATKEYWORD, collect at-rule parameters if
any, and if the at-rule has a block, invoke those handlers.
|
private CssGrammar.CssConstruct |
CssParser.handleAtRuleParam(CssToken start,
CssTokenList.CssTokenIterator iter,
CssContentHandler doc,
CssErrorHandler err) |
With inparam token being the first token of an atrule param, create the
construct and return it.
|
private CssGrammar.CssDeclaration |
CssParser.handleDeclaration(CssToken name,
CssTokenList.CssTokenIterator iter,
CssContentHandler doc,
CssErrorHandler err,
boolean isStyleAttribute) |
With start expected to be an IDENT token representing the property name,
build the declaration and return after hitting ';' or '}'.
|
private void |
CssParser.handleDeclarationBlock(CssToken start,
CssTokenList.CssTokenIterator iter,
CssContentHandler doc,
CssErrorHandler err) |
With start token being the first non-ignorable token inside the declaration
block, iterate issuing CssDeclaration objects until the block ends.
|
private void |
CssParser.handleRuleSet(CssToken start,
CssTokenList.CssTokenIterator iter,
CssContentHandler doc,
CssErrorHandler err) |
With the start token expected to be the first token of a selector group,
create and issue the group, then invoke handleDeclarationBlock.
|
void |
CssParser.parse(java.io.Reader reader,
java.lang.String systemID,
CssErrorHandler err,
CssContentHandler doc) |
Parse a CSS document.
|
void |
CssParser.parse(CssSource source,
CssErrorHandler err,
CssContentHandler doc) |
Parse a CSS document.
|
void |
CssParser.parseStyleAttribute(java.io.Reader reader,
java.lang.String systemID,
CssErrorHandler err,
CssContentHandler doc) |
Parse a CSS style attribute.
|