Uses of Class
org.xml.sax.helpers.DefaultHandler
Packages that use DefaultHandler
包
描述
Contains classes related to developing beans -- components based on
the JavaBeans architecture.
Provides the classes for processing XML documents with a SAX (Simple API for XML)
parser or a DOM (Document Object Model) Document builder.
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修饰符和类方法描述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修饰符和类方法描述void
SAXParser.parse
(File f, DefaultHandler dh) Parse the content of the file specified 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
.void
SAXParser.parse
(InputSource is, DefaultHandler dh) Parse the content givenInputSource
as XML using the specifiedDefaultHandler
. -
Uses of DefaultHandler in org.xml.sax.ext
Subclasses of DefaultHandler in org.xml.sax.ext修饰符和类Class描述class
This class extends the SAX2 base handler class to support the SAX2LexicalHandler
,DeclHandler
, andEntityResolver2
extensions.