## Uses of Interface
org.xml.sax.ContentHandler

- Packages that use ContentHandler
  Package | Description
  --- | ---
  javax.xml.bind | Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.
  javax.xml.bind.helpers | JAXB Provider Use Only: Provides partial default implementations for some of the `javax.xml.bind` interfaces.
  javax.xml.transform.sax | This package implements SAX2-specific transformation APIs.
  javax.xml.validation | This package provides an API for validation of XML documents.
  org.xml.sax | This package provides the core SAX APIs.
  org.xml.sax.ext | This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support.
  org.xml.sax.helpers | This package contains "helper" classes, including support for bootstrapping SAX-based applications.

- - ### Uses of ContentHandler in javax.xml.bind

    Subinterfaces of ContentHandler in javax.xml.bind
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `UnmarshallerHandler` Unmarshaller implemented as SAX ContentHandler.

    Methods in javax.xml.bind with parameters of type ContentHandler
    Modifier and Type | Method and Description
    --- | ---
    `void` | Marshaller.`marshal(Object jaxbElement, ContentHandler handler)` Marshal the content tree rooted at `jaxbElement` into SAX2 events.

  - ### Uses of ContentHandler in javax.xml.bind.helpers

    Methods in javax.xml.bind.helpers with parameters of type ContentHandler
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractMarshallerImpl.`marshal(Object obj, ContentHandler handler)`

  - ### Uses of ContentHandler in javax.xml.transform.sax

    Subinterfaces of ContentHandler in javax.xml.transform.sax
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `TemplatesHandler` A SAX ContentHandler that may be used to process SAX parse events (parsing transformation instructions) into a Templates object.
    `interface` | `TransformerHandler` A TransformerHandler listens for SAX ContentHandler parse events and transforms them to a Result.

    Methods in javax.xml.transform.sax that return ContentHandler
    Modifier and Type | Method and Description
    --- | ---
    `ContentHandler` | SAXResult.`getHandler()` Get the `ContentHandler` that is the Result.

    Methods in javax.xml.transform.sax with parameters of type ContentHandler
    Modifier and Type | Method and Description
    --- | ---
    `void` | SAXResult.`setHandler(ContentHandler handler)` Set the target to be a SAX2 `ContentHandler`.

    Constructors in javax.xml.transform.sax with parameters of type ContentHandler
    Constructor and Description
    `SAXResult(ContentHandler handler)` Create a SAXResult that targets a SAX2 `ContentHandler`.

  - ### Uses of ContentHandler in javax.xml.validation

    Classes in javax.xml.validation that implement ContentHandler
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ValidatorHandler` Streaming validator that works on SAX stream.

    Methods in javax.xml.validation that return ContentHandler
    Modifier and Type | Method and Description
    --- | ---
    `abstract ContentHandler` | ValidatorHandler.`getContentHandler()` Gets the `ContentHandler` which receives the augmented validation result.

    Methods in javax.xml.validation with parameters of type ContentHandler
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | ValidatorHandler.`setContentHandler(ContentHandler receiver)` Sets the `ContentHandler` which receives the augmented validation result.

  - ### Uses of ContentHandler in org.xml.sax

    Methods in org.xml.sax that return ContentHandler
    Modifier and Type | Method and Description
    --- | ---
    `ContentHandler` | XMLReader.`getContentHandler()` Return the current content handler.

    Methods in org.xml.sax with parameters of type ContentHandler
    Modifier and Type | Method and Description
    --- | ---
    `void` | XMLReader.`setContentHandler(ContentHandler handler)` Allow an application to register a content event handler.

  - ### Uses of ContentHandler in org.xml.sax.ext

    Classes in org.xml.sax.ext that implement ContentHandler
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultHandler2` This class extends the SAX2 base handler class to support the SAX2 `LexicalHandler`, `DeclHandler`, and `EntityResolver2` extensions.

  - ### Uses of ContentHandler in org.xml.sax.helpers

    Classes in org.xml.sax.helpers that implement ContentHandler
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultHandler` Default base class for SAX2 event handlers.
    `class` | `XMLFilterImpl` Base class for deriving an XML filter.
    `class` | `XMLReaderAdapter` Adapt a SAX2 XMLReader as a SAX1 Parser.

    Methods in org.xml.sax.helpers that return ContentHandler
    Modifier and Type | Method and Description
    --- | ---
    `ContentHandler` | ParserAdapter.`getContentHandler()` Return the current content handler.
    `ContentHandler` | XMLFilterImpl.`getContentHandler()` Get the content event handler.

    Methods in org.xml.sax.helpers with parameters of type ContentHandler
    Modifier and Type | Method and Description
    --- | ---
    `void` | ParserAdapter.`setContentHandler(ContentHandler handler)` Set the content handler.
    `void` | XMLFilterImpl.`setContentHandler(ContentHandler handler)` Set the content event handler.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.