Package org.apache.batik.css.parser
Interface ExtendedParser
-
- All Superinterfaces:
org.w3c.css.sac.Parser
- All Known Implementing Classes:
ExtendedParserWrapper,Parser
public interface ExtendedParser extends org.w3c.css.sac.ParserThis class implements theParserinterface plus a set of custom methods.- Version:
- $Id: ExtendedParser.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.w3c.css.sac.SACMediaListparseMedia(java.lang.String mediaText)Parse a CSS media value.booleanparsePriority(java.lang.String source)Parse a CSS priority value (e.g. "!important").org.w3c.css.sac.LexicalUnitparsePropertyValue(java.lang.String source)Parse a CSS property value.voidparseRule(java.lang.String source)Parse a CSS rule.org.w3c.css.sac.SelectorListparseSelectors(java.lang.String source)Parse a comma separated list of selectors.voidparseStyleDeclaration(java.lang.String source)Parse a CSS style declaration (without '{' and '}').
-
-
-
Method Detail
-
parseStyleDeclaration
void parseStyleDeclaration(java.lang.String source) throws org.w3c.css.sac.CSSException, java.io.IOExceptionParse a CSS style declaration (without '{' and '}').- Parameters:
source- The declaration.- Throws:
org.w3c.css.sac.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.
-
parseRule
void parseRule(java.lang.String source) throws org.w3c.css.sac.CSSException, java.io.IOExceptionParse a CSS rule.- Throws:
org.w3c.css.sac.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.
-
parseSelectors
org.w3c.css.sac.SelectorList parseSelectors(java.lang.String source) throws org.w3c.css.sac.CSSException, java.io.IOExceptionParse a comma separated list of selectors.- Throws:
org.w3c.css.sac.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.
-
parsePropertyValue
org.w3c.css.sac.LexicalUnit parsePropertyValue(java.lang.String source) throws org.w3c.css.sac.CSSException, java.io.IOExceptionParse a CSS property value.- Throws:
org.w3c.css.sac.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.
-
parseMedia
org.w3c.css.sac.SACMediaList parseMedia(java.lang.String mediaText) throws org.w3c.css.sac.CSSException, java.io.IOExceptionParse a CSS media value.- Throws:
org.w3c.css.sac.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.
-
parsePriority
boolean parsePriority(java.lang.String source) throws org.w3c.css.sac.CSSException, java.io.IOExceptionParse a CSS priority value (e.g. "!important").- Throws:
org.w3c.css.sac.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.
-
-