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