Java Code Examples for org.xml.sax.helpers.DefaultHandler

Following code examples demonstrate how to use org.xml.sax.helpers.DefaultHandlerfrom android. These examples are extracted from various highly rated open source projects. You can directly use these code snippets or view their entire linked source code. These snippets are extracted to provide contextual information about how to use this class in the real world. These samples also let you understand some good practices on how to use org.xml.sax.helpers.DefaultHandlerand various code implementation of this class.

    @Category(Draft.class)
    public void create_DefaultHandler()
    throws Exception {
        @SuppressWarnings("unused")
        final DefaultHandler sut = new DefaultHandler();
    } 


Advertisement
Javadoc
Default base class for SAX2 event handlers. This module, both source code and documentation, i

s in the Public Domain, and comes with NO WARRANTY. See http://www.saxproject.org for further information.

This class is available as a convenience base class for SAX2 applications: it provides default implementations for all of the callbacks in the four core SAX2 handler classes: org.xml.sax.EntityResolver EntityResolver org.xml.sax.DTDHandler DTDHandler org.xml.sax.ContentHandler ContentHandler org.xml.sax.ErrorHandler ErrorHandler

Application writers can extend this class when they need to implement only part of an interface; parser writers can instantiate this class to provide default handlers when the application has not supplied its own.

This class replaces the deprecated SAX1 org.xml.sax.HandlerBase HandlerBase class. @since SAX 2.0 @author David Megginson, @version 2.0.1 (sax2r2) @see org.xml.sax.EntityResolver @see org.xml.sax.DTDHandler @see org.xml.sax.ContentHandler @see org.xml.sax.ErrorHandler

Read More
Advertisement