Package javax.xml.transform | |
This package
defines an high-level implementation-independent API for using an
XSLT engine or other document transformation system for transforming
XML document content, and also for transforming XML documents from
one form (such as a stream of text in a file) to anther form (such as
a tree of DOM nodes). The Source interface is a
very generic description of a document source. Three concrete
implementations that represent documents in text form, as DOM trees,
and as sequences of SAX parser events are defined in the three
subpackages of this package. The Result interface
is a similarly high-level description of what form the source
document should be transformed into. The three subpackages define
three Result implementations that represent XML
documents as streams or files, as DOM trees, and as sequnces of SAX
parser events.
The TRansformerFactory class represents the
document transformation engine. The implementation provides a default
factory that represents an XSLT engine. A
transformerFactory can be used to produce
Templates objects that represent compiled XSL
stylesheets (or other implementation-dependent forms of
transformation instructions). Documents are actually transfomed from
Soruce to Result with a
transformer object, which is obtained from a
Templates object, or directly from a
TRansformerFactory.
Interfaces
public interface ErrorListener;
public interface Result;
public interface Source;
public interface SourceLocator;
public interface Templates;
public interface URIResolver;
Classes
public class OutputKeys;
public abstract class Transformer;
public abstract class TransformerFactory;
Exceptions
public class TransformerException extends Exception;
public class TransformerConfigurationException extends TransformerException;
Errors
public class TransformerFactoryConfigurationError extends Error;
 |