SAXSource class allows the
setting of an
XMLReader to be used for pulling
parse events, and an
InputSource that may be used to
specify the SAX source.
SAXResult class allows the
setting of a
ContentHandler to be the receiver of
SAX2 events from the transformation.
TransformerFactory to provide factory
methods for creating
To obtain a
the caller must cast the
instance returned from
allows a transformation to be created from SAX2 parse events, which is a "push"
model rather than the "pull" model that normally occurs for a transformation.
Normal parse events are received through the
ContentHandler interface, lexical events such as
startCDATA and endCDATA are received through the
LexicalHandler interface, and events that signal
the start or end of disabling output escaping are received via
ContentHandler.processingInstruction(java.lang.String, java.lang.String), with the
target parameter being
parameters, output properties, or other features need to be set on the
Transformer handler, a
will need to be obtained from
the methods invoked from that reference.
allows the creation of
from SAX2 parse events. Once the
events are complete, the Templates object may be obtained from
TemplatesHandler.getTemplates(). Note that
normally be called in order to establish a base system ID from which relative
URLs may be resolved.
method allows the creation of a
encapsulates the SAX2 notion of a "pull" transformation. The resulting
XMLFilters can be chained together so that a series of transformations
can happen with one's output becoming another's input.
Interface Summary Interface Description TemplatesHandlerA SAX ContentHandler that may be used to process SAX parse events (parsing transformation instructions) into a Templates object. TransformerHandlerA TransformerHandler listens for SAX ContentHandler parse events and transforms them to a Result.
Class Summary Class Description SAXResultActs as an holder for a transformation Result. SAXSourceActs as an holder for SAX-style Source. SAXTransformerFactoryThis class extends TransformerFactory to provide SAX-specific factory methods.