| java.lang.Object org.apache.batik.css.parser.ExtendedParserWrapper
ExtendedParserWrapper | public ExtendedParserWrapper(Parser parser)(Code) | | |
getColumn | public int getColumn()(Code) | | |
getLine | public int getLine()(Code) | | |
parsePriority | public boolean parsePriority(String source) throws CSSException, IOException(Code) | | Parse a CSS priority value (e.g. "!important").
exception: CSSException - Any CSS exception, possiblywrapping another exception. exception: java.io.IOException - An IO exception from the parser,possibly from a byte stream or character streamsupplied by the application. |
parseStyleDeclaration | public void parseStyleDeclaration(String source) throws CSSException, IOException(Code) | | Parse a CSS style declaration (without '{' and '}').
Parameters: styleValue - The declaration. exception: CSSException - Any CSS exception, possiblywrapping another exception. exception: IOException - An IO exception from the parser,possibly from a byte stream or character streamsupplied by the application. |
parseStyleSheet | public void parseStyleSheet(String uri) throws CSSException, IOException(Code) | | Parse a CSS document from a URI.
This method is a shortcut for the common case of reading a document
from a URI. It is the exact equivalent of the following:
parse(new InputSource(uri));
The URI must be fully resolved by the application before it is passed
to the parser.
Parameters: uri - The URI. exception: CSSException - Any CSS exception, possiblywrapping another exception. exception: java.io.IOException - An IO exception from the parser,possibly from a byte stream or character streamsupplied by the application. See Also: ExtendedParserWrapper.parseStyleSheet(InputSource) See Also: |
wrap | public static ExtendedParser wrap(Parser p)(Code) | | This converts a standard @link org.w3c.css.sac.Parser into
an Extended Parser. If it is already an ExtendedParser
it will simply cast it and return, otherwise it will wrap it
and return the result.
Parameters: p - Parser to wrap. p as an ExtendedParser. |
|
|