(CssSource source, CSSHandler handler)
| 165 | } |
| 166 | |
| 167 | void parseItem(CssSource source, CSSHandler handler) |
| 168 | throws IOException, |
| 169 | CssExceptions.CssException |
| 170 | { |
| 171 | if (!isStyleAttribute) |
| 172 | { |
| 173 | if (this.mode == Mode.FILE) |
| 174 | { |
| 175 | new CssParser(context.locale).parse(source, handler, handler); |
| 176 | } |
| 177 | else |
| 178 | { |
| 179 | new CssParser(context.locale).parse(new StringReader(this.value), context.path, handler, handler); |
| 180 | } |
| 181 | } |
| 182 | else |
| 183 | { |
| 184 | new CssParser(context.locale) |
| 185 | .parseStyleAttribute(new StringReader(this.value), context.path, handler, handler); |
| 186 | } |
| 187 | } |
| 188 | } |
no test coverage detected