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

- Packages that use XMLReader
  Package | Description
  --- | ---
  javax.xml.bind.helpers | JAXB Provider Use Only: Provides partial default implementations for some of the `javax.xml.bind` interfaces.
  javax.xml.parsers | Provides classes allowing the processing of XML documents.
  javax.xml.transform.sax | This package implements SAX2-specific transformation APIs.
  org.xml.sax | This package provides the core SAX APIs.
  org.xml.sax.helpers | This package contains "helper" classes, including support for bootstrapping SAX-based applications.

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

    Methods in javax.xml.bind.helpers that return XMLReader
    Modifier and Type | Method and Description
    --- | ---
    `protected XMLReader` | AbstractUnmarshallerImpl.`getXMLReader()` Obtains a configured XMLReader.

    Methods in javax.xml.bind.helpers with parameters of type XMLReader
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract Object` | AbstractUnmarshallerImpl.`unmarshal(XMLReader reader, InputSource source)` Unmarshals an object by using the specified XMLReader and the InputSource.

  - ### Uses of XMLReader in javax.xml.parsers

    Methods in javax.xml.parsers that return XMLReader
    Modifier and Type | Method and Description
    --- | ---
    `abstract XMLReader` | SAXParser.`getXMLReader()` Returns the `XMLReader` that is encapsulated by the implementation of this class.

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

    Methods in javax.xml.transform.sax that return XMLReader
    Modifier and Type | Method and Description
    --- | ---
    `XMLReader` | SAXSource.`getXMLReader()` Get the XMLReader to be used for the Source.

    Methods in javax.xml.transform.sax with parameters of type XMLReader
    Modifier and Type | Method and Description
    --- | ---
    `void` | SAXSource.`setXMLReader(XMLReader reader)` Set the XMLReader to be used for the Source.

    Constructors in javax.xml.transform.sax with parameters of type XMLReader
    Constructor and Description
    `SAXSource(XMLReader reader, InputSource inputSource)` Create a `SAXSource`, using an `XMLReader` and a SAX InputSource.

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

    Subinterfaces of XMLReader in org.xml.sax
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `XMLFilter` Interface for an XML filter.

    Methods in org.xml.sax that return XMLReader
    Modifier and Type | Method and Description
    --- | ---
    `XMLReader` | XMLFilter.`getParent()` Get the parent reader.

    Methods in org.xml.sax with parameters of type XMLReader
    Modifier and Type | Method and Description
    --- | ---
    `void` | XMLFilter.`setParent(XMLReader parent)` Set the parent reader.

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

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

    Methods in org.xml.sax.helpers that return XMLReader
    Modifier and Type | Method and Description
    --- | ---
    `static XMLReader` | XMLReaderFactory.`createXMLReader()` Attempt to create an XMLReader from system defaults.
    `static XMLReader` | XMLReaderFactory.`createXMLReader(String className)` Attempt to create an XML reader from a class name.
    `XMLReader` | XMLFilterImpl.`getParent()` Get the parent reader.

    Methods in org.xml.sax.helpers with parameters of type XMLReader
    Modifier and Type | Method and Description
    --- | ---
    `void` | XMLFilterImpl.`setParent(XMLReader parent)` Set the parent reader.

    Constructors in org.xml.sax.helpers with parameters of type XMLReader
    Constructor and Description
    `XMLFilterImpl(XMLReader parent)` Construct an XML filter with the specified parent.
    `XMLReaderAdapter(XMLReader xmlReader)` Create a new adapter.

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, 2019, Oracle and/or its affiliates. All rights reserved.