/** * Pass the call on to the underlying handler * @see ExtendedContentHandler#endElement(String) */ public void endElement(String elementName) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.endElement(elementName); }
/** * Pass the call on to the underlying handler * @see org.xml.sax.ContentHandler#endDocument() */ public void endDocument() throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.endDocument(); }
/** * Pass the call on to the underlying handler * @see org.xml.sax.ext.LexicalHandler#comment(char[], int, int) */ public void comment(char[] ch, int start, int length) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.comment(ch, start, length); }
/** * Adds a unique attribute to the currenly open tag */ public void addUniqueAttribute(String rawName, String value, int flags) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.addUniqueAttribute(rawName, value, flags); }
/** * @see SerializationHandler#flushPending() */ public void flushPending() throws SAXException { flush(); m_handler.flushPending(); }
/** * Pass the call on to the underlying handler * @see org.xml.sax.ext.DeclHandler#internalEntityDecl(String, String) */ public void internalEntityDecl(String arg0, String arg1) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.internalEntityDecl(arg0, arg1); }
/** * Pass the call on to the underlying handler * @see org.xml.sax.ContentHandler#processingInstruction(String, String) */ public void processingInstruction(String target, String data) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.processingInstruction(target, data); }
/** * Pass the call on to the underlying handler * @see org.xml.sax.ContentHandler#characters(char[], int, int) */ public void characters(char[] characters, int offset, int length) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.characters(characters, offset, length); }
/** * Pass the call on to the underlying handler * @see org.xml.sax.ContentHandler#ignorableWhitespace(char[], int, int) */ public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.ignorableWhitespace(ch, start, length); }
/** * Converts the DOM node to output * @param node the DOM node to transform to output * @see DOMSerializer#serialize(Node) * */ public void serialize(Node node) throws IOException { if (m_firstTagNotEmitted) { flush(); } m_handler.serialize(node); }
/** * Adds an attribute to the currenly open tag * @param rawName the attribute name, with prefix (if any) * @param value the value of the parameter * @see ExtendedContentHandler#addAttribute(String, String) */ public void addAttribute(String rawName, String value) { if (m_firstTagNotEmitted) { flush(); } m_handler.addAttribute(rawName, value); }
/** * Pass the call on to the underlying handler * @see org.xml.sax.ext.DeclHandler#externalEntityDecl(String, String, String) */ public void externalEntityDecl( String name, String publicId, String systemId) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.externalEntityDecl(name, publicId, systemId); }
/** * Pass the call on to the underlying handler * @see org.xml.sax.ContentHandler#endElement(String, String, String) */ public void endElement(String namespaceURI, String localName, String qName) throws SAXException { if (m_firstTagNotEmitted) { flush(); if (namespaceURI == null && m_firstElementURI != null) namespaceURI = m_firstElementURI; if (localName == null && m_firstElementLocalName != null) localName = m_firstElementLocalName; } m_handler.endElement(namespaceURI, localName, qName); }
flush(); pushed = m_handler.startPrefixMapping(prefix, uri, shouldFlush);
/** * Pass the call on to the underlying handler * @see ExtendedContentHandler#endElement(String) */ public void endElement(String elementName) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.endElement(elementName); }
/** * Pass the call on to the underlying handler * @see org.xml.sax.ext.LexicalHandler#comment(char[], int, int) */ public void comment(char[] ch, int start, int length) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.comment(ch, start, length); }
/** * Adds a unique attribute to the currenly open tag */ public void addUniqueAttribute(String rawName, String value, int flags) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.addUniqueAttribute(rawName, value, flags); }
/** * Pass the call on to the underlying handler * @see ExtendedContentHandler#endElement(String) */ public void endElement(String elementName) throws SAXException { if (m_firstTagNotEmitted) { flush(); } m_handler.endElement(elementName); }