public void startElement(TagName tagName) throws SAXException { if (tagName.local.equals("Include") && tagName.uri.equals(WellKnownNamespace.XOP)) { // found xop:Include String href = tagName.atts.getValue("href"); DataHandler attachment = au.getAttachmentAsDataHandler(href); if (attachment == null) { // report an error and ignore parent.getEventHandler().handleEvent(null); // TODO } base64data.set(attachment); next.text(base64data); inXopInclude = true; followXop = true; } else next.startElement(tagName); }
private void processText(boolean ignorable) throws SAXException { if (predictor.expectText() && (!ignorable || !WhiteSpaceProcessor.isWhiteSpace(buffer))) next.text(buffer); buffer.setLength(0); }
public void text(CharSequence pcdata) throws SAXException { if (!followXop) next.text(pcdata); else followXop = false; }
public void text(CharSequence pcdata) throws SAXException { next.text(pcdata); }