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

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

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://e-docs.bea.com/wls/docs61

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