This package implements SAX2-specific transformation APIs.


Interface Summary
TemplatesHandler A SAX ContentHandler that may be used to process SAX parse events (parsing transformation instructions) into a Templates object.
TransformerHandler A TransformerHandler listens for SAX ContentHandler parse events and transforms them to a Result.

Class Summary
SAXResult Acts as an holder for a transformation Result.
SAXSource Acts as an holder for SAX-style Source.
SAXTransformerFactory This class extends TransformerFactory to provide SAX-specific factory methods.

This package implements SAX2-specific transformation APIs. It provides also provides methods to set the input source as an transformations to "pull" from other transformations, and lets the transformer specify the SAX source.

SAX2 events from the transformation.

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 startCDATA and endCDATA are received through the the start or end of disabling output escaping are received via target parameter being parameters, output properties, or other features need to be set on the will need to be obtained from the methods invoked from that reference.

events are complete, the Templates object may be obtained from normally be called in order to establish a base system ID from which relative URLs may be resolved.

The encapsulates the SAX2 notion of a "pull" transformation. The following illustrates several transformations chained together. Each filter points to a reader in the chain.