Package | Description |
---|---|
javax.xml.bind |
Provides a runtime binding framework for client applications including
unmarshalling, marshalling, and validation capabilities.
|
javax.xml.bind.helpers |
JAXB Provider Use Only: Provides partial default implementations for
some of the javax.xml.bind interfaces.
|
javax.xml.transform.sax |
This package implements SAX2-specific transformation APIs.
|
javax.xml.validation |
This package provides an API for validation of XML documents.
|
org.xml.sax |
This package provides the core SAX APIs.
|
org.xml.sax.ext |
This package contains interfaces to SAX2 facilities that
conformant SAX drivers won't necessarily support.
|
org.xml.sax.helpers |
This package contains "helper" classes, including
support for bootstrapping SAX-based applications.
|
Modifier and Type | Interface and Description |
---|---|
interface |
UnmarshallerHandler
Unmarshaller implemented as SAX ContentHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
Marshaller.marshal(Object jaxbElement,
ContentHandler handler)
Marshal the content tree rooted at jaxbElement into SAX2 events.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractMarshallerImpl.marshal(Object obj,
ContentHandler handler) |
Modifier and Type | Interface and Description |
---|---|
interface |
TemplatesHandler
A SAX ContentHandler that may be used to process SAX
parse events (parsing transformation instructions) into a Templates object.
|
interface |
TransformerHandler
A TransformerHandler
listens for SAX ContentHandler parse events and transforms
them to a Result.
|
Modifier and Type | Method and Description |
---|---|
ContentHandler |
SAXResult.getHandler()
Get the
ContentHandler that is the Result. |
Modifier and Type | Method and Description |
---|---|
void |
SAXResult.setHandler(ContentHandler handler)
Set the target to be a SAX2
ContentHandler . |
Constructor and Description |
---|
SAXResult(ContentHandler handler)
Create a SAXResult that targets a SAX2
ContentHandler . |
Modifier and Type | Class and Description |
---|---|
class |
ValidatorHandler
Streaming validator that works on SAX stream.
|
Modifier and Type | Method and Description |
---|---|
abstract ContentHandler |
ValidatorHandler.getContentHandler()
Gets the
ContentHandler which receives the
augmented validation result. |
Modifier and Type | Method and Description |
---|---|
abstract void |
ValidatorHandler.setContentHandler(ContentHandler receiver)
Sets the
ContentHandler which receives
the augmented validation result. |
Modifier and Type | Method and Description |
---|---|
ContentHandler |
XMLReader.getContentHandler()
Return the current content handler.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLReader.setContentHandler(ContentHandler handler)
Allow an application to register a content event handler.
|
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. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultHandler
Default base class for SAX2 event handlers.
|
class |
XMLFilterImpl
Base class for deriving an XML filter.
|
class |
XMLReaderAdapter
Adapt a SAX2 XMLReader as a SAX1 Parser.
|
Modifier and Type | Method and Description |
---|---|
ContentHandler |
XMLFilterImpl.getContentHandler()
Get the content event handler.
|
ContentHandler |
ParserAdapter.getContentHandler()
Return the current content handler.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLFilterImpl.setContentHandler(ContentHandler handler)
Set the content event handler.
|
void |
ParserAdapter.setContentHandler(ContentHandler handler)
Set the content handler.
|
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, 2014, Oracle and/or its affiliates. All rights reserved.