public void endElement(QName element, Augmentations augs) throws XNIException { try { if (STYLE.equalsIgnoreCase(element.rawname) && styleBuffer != null) { styleList.add(styleBuffer); return; } notCollectCss = 0; super.endElement(element, augs); fElementDepth--; } catch (Exception e) { // TODO: handle exception } finally { styleBuffer = null; } }