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.
|
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 the
XMLEncoder class. |
Modifier and Type | Method and Description |
---|---|
void |
SAXParser.parse(File f,
DefaultHandler dh)
Parse the content of the file specified as XML using the
specified
DefaultHandler . |
void |
SAXParser.parse(InputSource is,
DefaultHandler dh)
Parse the content given
InputSource
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 . |
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. |
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, 2013, Oracle and/or its affiliates. All rights reserved.