< prev index next >

src/java.base/share/classes/jdk/internal/org/xml/sax/helpers/DefaultHandler.java

Print this page




 326         // no op
 327     }
 328 
 329 
 330     /**
 331      * Receive notification of character data inside an element.
 332      *
 333      * <p>By default, do nothing.  Application writers may override this
 334      * method to take specific actions for each chunk of character data
 335      * (such as adding the data to a node or buffer, or printing it to
 336      * a file).</p>
 337      *
 338      * @param ch The characters.
 339      * @param start The start position in the character array.
 340      * @param length The number of characters to use from the
 341      *               character array.
 342      * @exception org.xml.sax.SAXException Any SAX exception, possibly
 343      *            wrapping another exception.
 344      * @see org.xml.sax.ContentHandler#characters
 345      */
 346     public void characters (char ch[], int start, int length)
 347         throws SAXException
 348     {
 349         // no op
 350     }
 351 
 352 
 353     /**
 354      * Receive notification of ignorable whitespace in element content.
 355      *
 356      * <p>By default, do nothing.  Application writers may override this
 357      * method to take specific actions for each chunk of ignorable
 358      * whitespace (such as adding data to a node or buffer, or printing
 359      * it to a file).</p>
 360      *
 361      * @param ch The whitespace characters.
 362      * @param start The start position in the character array.
 363      * @param length The number of characters to use from the
 364      *               character array.
 365      * @exception org.xml.sax.SAXException Any SAX exception, possibly
 366      *            wrapping another exception.
 367      * @see org.xml.sax.ContentHandler#ignorableWhitespace
 368      */
 369     public void ignorableWhitespace (char ch[], int start, int length)
 370         throws SAXException
 371     {
 372         // no op
 373     }
 374 
 375 
 376     /**
 377      * Receive notification of a processing instruction.
 378      *
 379      * <p>By default, do nothing.  Application writers may override this
 380      * method in a subclass to take specific actions for each
 381      * processing instruction, such as setting status variables or
 382      * invoking other methods.</p>
 383      *
 384      * @param target The processing instruction target.
 385      * @param data The processing instruction data, or null if
 386      *             none is supplied.
 387      * @exception org.xml.sax.SAXException Any SAX exception, possibly
 388      *            wrapping another exception.
 389      * @see org.xml.sax.ContentHandler#processingInstruction




 326         // no op
 327     }
 328 
 329 
 330     /**
 331      * Receive notification of character data inside an element.
 332      *
 333      * <p>By default, do nothing.  Application writers may override this
 334      * method to take specific actions for each chunk of character data
 335      * (such as adding the data to a node or buffer, or printing it to
 336      * a file).</p>
 337      *
 338      * @param ch The characters.
 339      * @param start The start position in the character array.
 340      * @param length The number of characters to use from the
 341      *               character array.
 342      * @exception org.xml.sax.SAXException Any SAX exception, possibly
 343      *            wrapping another exception.
 344      * @see org.xml.sax.ContentHandler#characters
 345      */
 346     public void characters (char[] ch, int start, int length)
 347         throws SAXException
 348     {
 349         // no op
 350     }
 351 
 352 
 353     /**
 354      * Receive notification of ignorable whitespace in element content.
 355      *
 356      * <p>By default, do nothing.  Application writers may override this
 357      * method to take specific actions for each chunk of ignorable
 358      * whitespace (such as adding data to a node or buffer, or printing
 359      * it to a file).</p>
 360      *
 361      * @param ch The whitespace characters.
 362      * @param start The start position in the character array.
 363      * @param length The number of characters to use from the
 364      *               character array.
 365      * @exception org.xml.sax.SAXException Any SAX exception, possibly
 366      *            wrapping another exception.
 367      * @see org.xml.sax.ContentHandler#ignorableWhitespace
 368      */
 369     public void ignorableWhitespace (char[] ch, int start, int length)
 370         throws SAXException
 371     {
 372         // no op
 373     }
 374 
 375 
 376     /**
 377      * Receive notification of a processing instruction.
 378      *
 379      * <p>By default, do nothing.  Application writers may override this
 380      * method in a subclass to take specific actions for each
 381      * processing instruction, such as setting status variables or
 382      * invoking other methods.</p>
 383      *
 384      * @param target The processing instruction target.
 385      * @param data The processing instruction data, or null if
 386      *             none is supplied.
 387      * @exception org.xml.sax.SAXException Any SAX exception, possibly
 388      *            wrapping another exception.
 389      * @see org.xml.sax.ContentHandler#processingInstruction


< prev index next >