org.apache.cocoon.components.language.markup
Class Logicsheet
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.components.language.markup.Logicsheet
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.Loggable
- Direct Known Subclasses:
- NamedLogicsheet
- public class Logicsheet
- extends org.apache.avalon.framework.logger.AbstractLoggable
A code-generation logicsheet. This class is actually a wrapper for
a "standard" XSLT stylesheet stored as trax.Templates
object. Though this will change shortly: a new markup language
will be used for logicsheet authoring; logicsheets written in this
language will be transformed into an equivalent XSLT stylesheet
anyway... This class should probably be based on an interface...
- Version:
- CVS $Id: Logicsheet.java,v 1.9.2.1 2002/06/16 22:33:36 vgritsenko Exp $
- Author:
- Ricardo Rocha, Davanum Srinivas, Ovidiu Predescu
Inner Class Summary |
protected class |
Logicsheet.SaveNamespaceFilter
This filter listen for source SAX events, and register the declared
namespaces into a Map object. |
Field Summary |
protected java.util.Map |
namespaceURIs
the template namespace's list |
Method Summary |
java.util.Map |
getNamespaceURIs()
This will return the list of namespaces in this logicsheet. |
java.lang.String |
getSystemId()
|
javax.xml.transform.sax.TransformerHandler |
getTransformerHandler()
Obtain the TransformerHandler object that will perform the
transformation associated with this logicsheet. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
namespaceURIs
protected java.util.Map namespaceURIs
- the template namespace's list
Logicsheet
public Logicsheet(Source source,
org.apache.avalon.framework.component.ComponentManager manager,
SourceResolver resolver)
throws ProcessingException
Logicsheet
public Logicsheet(java.lang.String systemId,
org.apache.avalon.framework.component.ComponentManager manager,
SourceResolver resolver)
throws org.xml.sax.SAXException,
java.io.IOException,
ProcessingException
getSystemId
public java.lang.String getSystemId()
getNamespaceURIs
public java.util.Map getNamespaceURIs()
throws ProcessingException
- This will return the list of namespaces in this logicsheet.
getTransformerHandler
public javax.xml.transform.sax.TransformerHandler getTransformerHandler()
throws ProcessingException
- Obtain the TransformerHandler object that will perform the
transformation associated with this logicsheet.
- Returns:
- a
TransformerHandler
value
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.