| 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
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
Parse the content of the file specified as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(InputSource
Parse the content given
InputSource as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(InputStream
Parse the content of the given
InputStream instance as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(InputStream
Parse the content of the given
InputStream instance as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(String
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.
|