BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.apache.xalan.processor
Class CompilingStylesheetProcessor

java.lang.Object
  |
  +--javax.xml.transform.TransformerFactory
        |
        +--javax.xml.transform.sax.SAXTransformerFactory
              |
              +--weblogic.apache.xalan.processor.TransformerFactoryImpl
                    |
                    +--weblogic.apache.xalan.processor.CompilingStylesheetProcessor

public class CompilingStylesheetProcessor
extends TransformerFactoryImpl

The TransformerFactoryImpl, which implements the TRaX TransformerFactory interface, processes XSLT Stylesheets into a Templates object. This version has been modified to kick off conversion to JAVA, via CompilingStylesheetHandler

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.


Fields inherited from class weblogic.apache.xalan.processor.TransformerFactoryImpl
XSLT_PROPERTIES
 
Fields inherited from class javax.xml.transform.sax.SAXTransformerFactory
FEATURE, FEATURE_XMLFILTER
 
Constructor Summary
CompilingStylesheetProcessor()
           
 
Method Summary
 javax.xml.transform.sax.TemplatesHandler newTemplatesHandler()
          Get a TemplatesBuilder object that can process SAX events into a Templates object, if the processor supports the "http://xml.org/trax/features/sax/input" feature.
 
Methods inherited from class weblogic.apache.xalan.processor.TransformerFactoryImpl
getAssociatedStylesheet, getAttribute, getErrorListener, getFeature, getURIResolver, newTemplates, newTransformer, newTransformer, newTransformerHandler, newTransformerHandler, newTransformerHandler, newXMLFilter, newXMLFilter, processFromNode, setAttribute, setErrorListener, setURIResolver
 
Methods inherited from class javax.xml.transform.TransformerFactory
newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompilingStylesheetProcessor

public CompilingStylesheetProcessor()
Method Detail

newTemplatesHandler

public javax.xml.transform.sax.TemplatesHandler newTemplatesHandler()
                                                             throws javax.xml.transform.TransformerConfigurationException
Get a TemplatesBuilder object that can process SAX events into a Templates object, if the processor supports the "http://xml.org/trax/features/sax/input" feature.

Open issues:

Should TransformerFactory derive from org.xml.sax.ContentHandler?

Instead of requesting an object from the TransformerFactory class, should the TransformerFactory class simply derive from org.xml.sax.ContentHandler?

Returns:
A TemplatesBuilder object, or null if not supported.
Throws:
May - throw a TransformerConfigurationException if a StylesheetHandler can not be constructed for some reason.
javax.xml.transform.TransformerConfigurationException -  
Overrides:
newTemplatesHandler in class TransformerFactoryImpl

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.