Uses of Class org.xml.sax.helpers.DefaultHandler (Java SE 26 & JDK 26)
Description: use: module: java.xml, package: org.xml.sax.helpers, class: DefaultHandler

# Uses of Class
org.xml.sax.helpers.DefaultHandler

Packages that use DefaultHandler
Package
Description
java.beans
Contains classes related to developing beans -- components based on the JavaBeans architecture.
javax.xml.parsers
Provides the classes for processing XML documents with a SAX (Simple API for XML) parser or a DOM (Document Object Model) Document builder.
org.xml.sax.ext
Provides interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support.

- ## Uses of DefaultHandler in java.beans

  Methods in java.beans that return DefaultHandler
  Modifier and Type
  Method
  Description
  `static DefaultHandler`
  XMLDecoder.`createHandler(Object owner, ExceptionListener el, ClassLoader cl)`
  Creates a new handler for SAX parser that can be used to parse embedded XML archives created by the `XMLEncoder` class.

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

  Methods in javax.xml.parsers with parameters of type DefaultHandler
  Modifier and Type
  Method
  Description
  `void`
  SAXParser.`parse(File f, DefaultHandler dh)`
  Parse the content of the file specified as XML using the specified `DefaultHandler`.
  `void`
  SAXParser.`parse(InputStream is, DefaultHandler dh)`
  Parse the content of the given `InputStream` instance as XML using the specified `DefaultHandler`.
  `void`
  SAXParser.`parse(InputStream is, DefaultHandler dh, String systemId)`
  Parse the content of the given `InputStream` instance as XML using the specified `DefaultHandler`.
  `void`
  SAXParser.`parse(String uri, DefaultHandler dh)`
  Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified `DefaultHandler`.
  `void`
  SAXParser.`parse(InputSource is, DefaultHandler dh)`
  Parse the content given `InputSource` as XML using the specified `DefaultHandler`.

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

  Subclasses of DefaultHandler in org.xml.sax.ext
  Modifier and Type
  Class
  Description
  `class`
  `DefaultHandler2`
  This class extends the SAX2 base handler class to support the SAX2 `LexicalHandler`, `DeclHandler`, and `EntityResolver2` extensions.