org.apache.cocoon.forms.transformation
Class FormsTemplateTransformer

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.xml.AbstractXMLProducer
          extended byorg.apache.cocoon.xml.AbstractXMLPipe
              extended byorg.apache.cocoon.forms.transformation.EffectPipe
                  extended byorg.apache.cocoon.forms.transformation.EffectWidgetReplacingPipe
                      extended byorg.apache.cocoon.forms.transformation.FormsTemplateTransformer
All Implemented Interfaces:
ContentHandler, LexicalHandler, LogEnabled, Poolable, Recyclable, SitemapModelComponent, Transformer, XMLConsumer, XMLConsumer, XMLPipe, XMLProducer

public class FormsTemplateTransformer
extends EffectWidgetReplacingPipe
implements Transformer

See description of EffectWidgetReplacingPipe.

Version:
$Id: FormsTemplateTransformer.java 170955 2005-05-19 16:28:58Z vgritsenko $

Nested Class Summary
 
Nested classes inherited from class org.apache.cocoon.forms.transformation.EffectWidgetReplacingPipe
EffectWidgetReplacingPipe.AggregateWidgetHandler, EffectWidgetReplacingPipe.ChooseHandler, EffectWidgetReplacingPipe.ChoosePassThruHandler, EffectWidgetReplacingPipe.ClassHandler, EffectWidgetReplacingPipe.ContinuationIdHandler, EffectWidgetReplacingPipe.DocHandler, EffectWidgetReplacingPipe.FormHandler, EffectWidgetReplacingPipe.GroupHandler, EffectWidgetReplacingPipe.NestedHandler, EffectWidgetReplacingPipe.NewHandler, EffectWidgetReplacingPipe.RepeaterHandler, EffectWidgetReplacingPipe.RepeaterRowsHandler, EffectWidgetReplacingPipe.RepeaterSizeHandler, EffectWidgetReplacingPipe.RepeaterWidgetHandler, EffectWidgetReplacingPipe.RepeaterWidgetLabelHandler, EffectWidgetReplacingPipe.SkipHandler, EffectWidgetReplacingPipe.StructHandler, EffectWidgetReplacingPipe.StylingContentHandler, EffectWidgetReplacingPipe.UnionHandler, EffectWidgetReplacingPipe.UnionPassThruHandler, EffectWidgetReplacingPipe.ValidationErrorHandler, EffectWidgetReplacingPipe.WidgetHandler, EffectWidgetReplacingPipe.WidgetLabelHandler
 
Nested classes inherited from class org.apache.cocoon.forms.transformation.EffectPipe
EffectPipe.BufferHandler, EffectPipe.CopyHandler, EffectPipe.ErrorHandler, EffectPipe.Handler, EffectPipe.NullHandler
 
Field Summary
 
Fields inherited from class org.apache.cocoon.forms.transformation.EffectWidgetReplacingPipe
chooseWidgets, classes, contextWidget, contextWidgets, pipeContext, templates, widget
 
Fields inherited from class org.apache.cocoon.forms.transformation.EffectPipe
hBuffer, hNull
 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
 
Fields inherited from interface org.apache.cocoon.transformation.Transformer
ROLE
 
Constructor Summary
FormsTemplateTransformer()
           
 
Method Summary
 void setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters)
          The Sitemap will call the setup() method to prepare the component for use.
 
Methods inherited from class org.apache.cocoon.forms.transformation.EffectWidgetReplacingPipe
endPrefixMapping, getAttributeValue, getRequiredAttributeValue, hasPrefixMapping, init, isVisible, recycle, setTypedWidget, setWidget, setWidget, startPrefixMapping
 
Methods inherited from class org.apache.cocoon.forms.transformation.EffectPipe
beginBuffer, characters, comment, endBuffer, endCDATA, endDocument, endDTD, endElement, endEntity, getLocation, ignorableWhitespace, init, popHandler, processingInstruction, pushHandler, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 

Constructor Detail

FormsTemplateTransformer

public FormsTemplateTransformer()
Method Detail

setup

public void setup(SourceResolver resolver,
                  Map objectModel,
                  String src,
                  Parameters parameters)
           throws ProcessingException,
                  SAXException,
                  IOException
Description copied from interface: SitemapModelComponent
The Sitemap will call the setup() method to prepare the component for use. This is where you start the process of getting your information ready to generate your results. See ObjectModelHelper for help with the objectModel.

Specified by:
setup in interface SitemapModelComponent
Parameters:
resolver - The SourceResolver to find resources within your context.
objectModel - A java.util.Map that contains the request and session information.
src - The value of the "src" attribute in the sitemap.
parameters - The sitemap parameters passed into your component.
Throws:
ProcessingException - if there is any other unexpected problem.
IOException - if there is a problem reading files.
SAXException - if there is a problem reading a SAX stream.


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.