|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedParser
This class implements the org.w3c.css.sac.Parser
interface plus a
set of custom methods.
Method Summary | |
---|---|
SACMediaList |
parseMedia(java.lang.String mediaText)
Parse a CSS media value. |
boolean |
parsePriority(java.lang.String source)
Parse a CSS priority value (e.g. "!important"). |
LexicalUnit |
parsePropertyValue(java.lang.String source)
Parse a CSS property value. |
void |
parseRule(java.lang.String source)
Parse a CSS rule. |
SelectorList |
parseSelectors(java.lang.String source)
Parse a comma separated list of selectors. |
void |
parseStyleDeclaration(java.lang.String source)
Parse a CSS style declaration (without '{' and '}'). |
Method Detail |
---|
void parseStyleDeclaration(java.lang.String source) throws CSSException, java.io.IOException
source
- The declaration.
CSSException
- Any CSS exception, possibly
wrapping another exception.
java.io.IOException
- An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.void parseRule(java.lang.String source) throws CSSException, java.io.IOException
CSSException
- Any CSS exception, possibly
wrapping another exception.
java.io.IOException
- An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.SelectorList parseSelectors(java.lang.String source) throws CSSException, java.io.IOException
CSSException
- Any CSS exception, possibly
wrapping another exception.
java.io.IOException
- An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.LexicalUnit parsePropertyValue(java.lang.String source) throws CSSException, java.io.IOException
CSSException
- Any CSS exception, possibly
wrapping another exception.
java.io.IOException
- An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.SACMediaList parseMedia(java.lang.String mediaText) throws CSSException, java.io.IOException
CSSException
- Any CSS exception, possibly
wrapping another exception.
java.io.IOException
- An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.boolean parsePriority(java.lang.String source) throws CSSException, java.io.IOException
CSSException
- Any CSS exception, possibly
wrapping another exception.
java.io.IOException
- An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |