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