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 classes allowing the processing of XML documents.org.xml.sax.ext This package contains 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 and 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 theXMLEncoder
class. -
Uses of DefaultHandler in javax.xml.parsers
Methods in javax.xml.parsers with parameters of type DefaultHandler Modifier and Type Method and Description void
SAXParser. parse(File f, DefaultHandler dh)
Parse the content of the file specified as XML using the specifiedDefaultHandler
.void
SAXParser. parse(InputSource is, DefaultHandler dh)
Parse the content givenInputSource
as XML using the specifiedDefaultHandler
.void
SAXParser. parse(InputStream is, DefaultHandler dh)
Parse the content of the givenInputStream
instance as XML using the specifiedDefaultHandler
.void
SAXParser. parse(InputStream is, DefaultHandler dh, String systemId)
Parse the content of the givenInputStream
instance as XML using the specifiedDefaultHandler
.void
SAXParser. parse(String uri, DefaultHandler dh)
Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specifiedDefaultHandler
. -
Uses of DefaultHandler in org.xml.sax.ext
Subclasses of DefaultHandler in org.xml.sax.ext Modifier and Type Class and Description class
DefaultHandler2
This class extends the SAX2 base handler class to support the SAX2LexicalHandler
,DeclHandler
, andEntityResolver2
extensions.
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.