/** * <b>SAC</b>: Implements {@link org.w3c.css.sac.Parser#parseRule(InputSource)}. */ public void parseRule(InputSource source) throws CSSException, IOException { parser.parseRule(source); }
/** * <b>SAC</b>: Implements {@link org.w3c.css.sac.Parser#parseRule(InputSource)}. */ public void parseRule(InputSource source) throws CSSException, IOException { parser.parseRule(source); }
/** * <b>SAC</b>: Implements {@link org.w3c.css.sac.Parser#parseRule(InputSource)}. */ public void parseRule(InputSource source) throws CSSException, IOException { parser.parseRule(source); }
/** * Parse a CSS rule. * * @exception CSSException Any CSS exception, possibly * wrapping another exception. * @exception java.io.IOException An IO exception from the parser, * possibly from a byte stream or character stream * supplied by the application. */ public void parseRule(String source) throws CSSException, IOException { parser.parseRule(new InputSource(new StringReader(source))); }
/** * Parse a CSS rule. * * @exception CSSException Any CSS exception, possibly * wrapping another exception. * @exception java.io.IOException An IO exception from the parser, * possibly from a byte stream or character stream * supplied by the application. */ public void parseRule(String source) throws CSSException, IOException { parser.parseRule(new InputSource(new StringReader(source))); }
/** * Parse a CSS rule. * * @exception CSSException Any CSS exception, possibly * wrapping another exception. * @exception java.io.IOException An IO exception from the parser, * possibly from a byte stream or character stream * supplied by the application. */ public void parseRule(String source) throws CSSException, IOException { parser.parseRule(new InputSource(new StringReader(source))); }
public CSSRule parseRule(final InputSource source) throws IOException { final CSSOMHandler handler = new CSSOMHandler(); parser_.setDocumentHandler(handler); parser_.parseRule(source); return (CSSRule) handler.getRoot(); }