/** * <i>[SAX ContentHandler interface support]</i> Receives * notification of the beginning of an element. * <p> * This implementation ensures that startDocument() has been * called prior processing an element. * * @param nsURI the Namespace URI, or the empty string if * the element has no Namespace URI or if * Namespace processing is not being performed. * @param localName the local name (without prefix), or the * empty string if Namespace processing is * not being performed. * @param qName the qualified name (with prefix), or the * empty string if qualified names are not * available. * @param atts The attributes attached to the element. If * there are no attributes, it shall be an * empty Attributes object. * * @throws SAXException if any error occurred while creating * the document builder. */ public void startElement(String nsURI, String localName, String qName, Attributes atts) throws SAXException { this.ensureInitialization(); super.startElement(nsURI, localName, qName, atts); }
/** * <i>[SAX LexicalHandler interface support]</i> Reports the * start of DTD declarations, if any. * * @param name the document type name. * @param publicId the declared public identifier for the * external DTD subset, or <code>null</code> * if none was declared. * @param systemId the declared system identifier for the * external DTD subset, or <code>null</code> * if none was declared. * * @throws SAXException The application may raise an exception. */ public void startDTD(String name, String publicId, String systemId) throws SAXException { this.ensureInitialization(); this.saxHandler.startDTD(name, publicId, systemId); }
/** * <i>[SAX LexicalHandler interface support]</i> Reports an XML * comment anywhere in the document. * * @param ch an array holding the characters in the comment. * @param start the starting position in the array. * @param length the number of characters to use from the array. * * @throws SAXException The application may raise an exception. */ public void comment(char ch[], int start, int length) throws SAXException { this.ensureInitialization(); this.saxHandler.comment(ch, start, length); } }
/** * <i>[SAX LexicalHandler interface support]</i> Reports the * beginning of some internal and external XML entities. * * @param name the name of the entity. If it is a parameter * entity, the name will begin with '%', and if it * is the external DTD subset, it will be "[dtd]". * * @throws SAXException The application may raise an exception. */ public void startEntity(String name) throws SAXException { this.ensureInitialization(); this.saxHandler.startEntity(name); }
/** * <i>[SAX ContentHandler interface support]</i> Receives * notification of a processing instruction. */ public void processingInstruction(String target, String data) throws SAXException { this.ensureInitialization(); super.processingInstruction(target, data); }
/** * <i>[SAX ContentHandler interface support]</i> Receives * notification of a skipped entity. */ public void skippedEntity(String name) throws SAXException { this.ensureInitialization(); super.skippedEntity(name); }
/** * <i>[SAX ContentHandler interface support]</i> Receives * notification of ignorable whitespace in element content. */ public void ignorableWhitespace(char ch[], int start, int length) throws SAXException { this.ensureInitialization(); super.ignorableWhitespace(ch, start, length); }
/** * <i>[SAX ContentHandler interface support]</i> Receives * notification of character data. */ public void characters(char ch[], int start, int length) throws SAXException { this.ensureInitialization(); super.characters(ch, start, length); }
/** * <i>[SAX ContentHandler interface support]</i> Begins the * scope of a prefix-URI Namespace mapping. */ public void startPrefixMapping(String prefix, String uri) throws SAXException { this.ensureInitialization(); super.startPrefixMapping(prefix, uri); }
/** * <i>[SAX LexicalHandler interface support]</i> Reports the * start of a CDATA section. * * @throws SAXException The application may raise an exception. */ public void startCDATA() throws SAXException { this.ensureInitialization(); this.saxHandler.startCDATA(); }