Example #1
0
 public CSSStyleDeclaration styleDeclaration() {
   try {
     return _parser.parseStyleDeclaration(_is);
   } catch (IOException e) {
     return null;
   }
 }
Example #2
0
 public CSSStyleDeclaration parseStyleDeclaration(InputSource source) throws IOException {
   CSSStyleDeclarationImpl sd = new CSSStyleDeclarationImpl(null);
   parseStyleDeclaration(sd, source);
   return sd;
 }