Package javax.xml.transform


Package javax.xml.transform

Java 1.4

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; 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net