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