Home » cocoon-2.1.11-src » org.apache » cocoon » generation »

org.apache.cocoon.generation

Sub Packages:

org.apache.cocoon.generation.asciiart    

Interfaces:

Generator   A generator is the starting point of a pipeline.  code | html
JXTemplateGenerator.CharHandler     code | html

Abstract Classes:

AbstractGenerator   An abstract class that can be used to implement an own generator.  code | html
AbstractServerPage   Base implementation of ServerPagesGenerator code | html
ComposerGenerator   A default implementation that can be used for writing own generators.  code | html
JXTemplateGenerator.AttributeEvent     code | html
ServiceableGenerator   A default implementation that can be used for writing own generators.  code | html
ServletGenerator     code | html

Classes:

CSVGenerator  

A simple parser converting a Comma Separated Values (CSV) file into XML.

This parser is controlled by the following sitemap parameters:

  • process-headers: whether the first line in the CSV is considered to be the header defining column names (the resulting output will be different if this is true or false (default: false). 
code | html
CSVGenerator.CSVReader     code | html
CalendarGenerator     code | html
DirectoryGenerator     code | html
DirectoryGenerator.DirValidity   Specific validity class, that holds all files that have been generated  code | html
EventCacheGenerator   Generator wrapper that forwards generation to to its delegate but overides its caching strategy by replacing it with an event-cache aware implementation.  code | html
ExceptionGenerator   A generator that dumps an XML representation of the exception raised during a pipeline execution.  code | html
FileGenerator     code | html
FragmentExtractorGenerator   The generation half of FragmentExtractor.  code | html
GenericProxyGenerator   This is a generic HTTP proxy, designed to handle any possible HTTP method, but with a particular bias towards WebDAV.  code | html
HSSFGenerator   This generator generates - using Apache POI - a Gnumeric compliant XML Document from a Microsoft Excel Workbook.  code | html
HTMLGenerator     code | html
HttpProxyGenerator   The HttpProxyGenerator is a Cocoon generator using the Jakarta Commons HTTPClient Library to access an XML stream over HTTP.  code | html
IMAPGenerator   Generates an XML listing of messages from an IMAP mail server.  code | html
ImageDirectoryGenerator     code | html
JSPGenerator   Allows Servlets and JSPs to be used as a generator.  code | html
JXTemplateGenerator     code | html
JXTemplateGenerator.Characters     code | html
JXTemplateGenerator.CopyAttribute     code | html
JXTemplateGenerator.EndCDATA     code | html
JXTemplateGenerator.EndDTD     code | html
JXTemplateGenerator.EndDocument     code | html
JXTemplateGenerator.EndElement     code | html
JXTemplateGenerator.EndEntity     code | html
JXTemplateGenerator.EndInstruction     code | html
JXTemplateGenerator.EndPrefixMapping     code | html
JXTemplateGenerator.ErrorHolder     code | html
JXTemplateGenerator.Event     code | html
JXTemplateGenerator.IgnorableWhitespace     code | html
JXTemplateGenerator.JSIntrospector   Jexl Introspector that supports Rhino JavaScript objects as well as Java Objects  code | html
JXTemplateGenerator.JSIntrospector.JSMethod     code | html
JXTemplateGenerator.JSIntrospector.JSPropertyGet     code | html
JXTemplateGenerator.JSIntrospector.JSPropertySet     code | html
JXTemplateGenerator.JSIntrospector.NativeArrayIterator     code | html
JXTemplateGenerator.JSIntrospector.ScriptableIterator     code | html
JXTemplateGenerator.JXCacheKey     code | html
JXTemplateGenerator.JXSourceValidity     code | html
JXTemplateGenerator.JXTException     code | html
JXTemplateGenerator.JXTExpression     code | html
JXTemplateGenerator.Literal     code | html
JXTemplateGenerator.LocaleAwareInstruction     code | html
JXTemplateGenerator.LocationFacade   Facade to the Location to be set on the consumer prior to sending other events, location member changeable  code | html
JXTemplateGenerator.LoopTagStatus     code | html
JXTemplateGenerator.MyJexlContext     code | html
JXTemplateGenerator.MyVariables     code | html
JXTemplateGenerator.Parser     code | html
JXTemplateGenerator.ProcessingInstruction     code | html
JXTemplateGenerator.SkippedEntity     code | html
JXTemplateGenerator.StartCDATA     code | html
JXTemplateGenerator.StartChoose     code | html
JXTemplateGenerator.StartComment     code | html
JXTemplateGenerator.StartDTD     code | html
JXTemplateGenerator.StartDefine     code | html
JXTemplateGenerator.StartDocument     code | html
JXTemplateGenerator.StartElement     code | html
JXTemplateGenerator.StartEntity     code | html
JXTemplateGenerator.StartEval     code | html
JXTemplateGenerator.StartEvalBody     code | html
JXTemplateGenerator.StartForEach     code | html
JXTemplateGenerator.StartFormatDate     code | html
JXTemplateGenerator.StartFormatNumber     code | html
JXTemplateGenerator.StartIf     code | html
JXTemplateGenerator.StartImport     code | html
JXTemplateGenerator.StartInstruction     code | html
JXTemplateGenerator.StartOtherwise     code | html
JXTemplateGenerator.StartOut     code | html
JXTemplateGenerator.StartParameter     code | html
JXTemplateGenerator.StartPrefixMapping     code | html
JXTemplateGenerator.StartSet     code | html
JXTemplateGenerator.StartTemplate     code | html
JXTemplateGenerator.StartWhen     code | html
JXTemplateGenerator.Subst     code | html
JXTemplateGenerator.SubstituteAttribute     code | html
JXTemplateGenerator.TextEvent     code | html
JXTemplateGenerator.TransformerAdapter   Adapter that makes this generator usable as a transformer (Note there is a performance penalty for this however: you effectively recompile the template for every instance document)  code | html
JXTemplateGenerator.TransformerAdapter.TemplateConsumer     code | html
JspGenerator   Allows JSP to be used as a generator.  code | html
LinkStatusGenerator     code | html
LinkStatusGenerator.Link   Stores links to process and the referrer links  code | html
MP3DirectoryGenerator     code | html
NOPCacheValidity   This is here to avaid references to the deprecated package.  code | html
NekoHTMLGenerator     code | html
NekoHTMLGenerator.HtmlSaxParser     code | html
ParseExceptionGenerator   Exception generator.  code | html
ProfilerGenerator   Generates an XML representation of the current status of Profiler.  code | html
RequestGenerator     code | html
SWFGenerator   uses the project http://developer.berlios.de/projects/spark-xml/  code | html
ScriptGenerator   The Scriptgenerator executes arbitraty scripts using the BSF framework and additional interpreter (Rhino, Groovy, Jython, etc.) as a Cocoon Generator.  code | html
ScriptGenerator.BSFLanguage     code | html
SearchGenerator   Generates an XML representation of a search result.  code | html
ServerPagesGenerator   This class acts as a proxy to a dynamically loadedGenerator delegating actual SAX event generation.  code | html
ServerPagesGenerator.CompletionPipe     code | html
SessionAttributeGenerator     code | html
StatusGenerator     code | html
StreamGenerator     code | html
TextGenerator   Read a plain text file and produce a valid XML file.  code | html
TraversableGenerator   Generates an XML source hierarchy listing from a Traversable Source.  code | html
TraversableSourceDescriptionGenerator   This Generator augments the output of the TraversableGenerator.  code | html
VelocityGenerator  

Cocoon Generator that produces dynamic XML SAX events from a Velocity template file.

If called from a Flowscript, the immediate properties of the context object from the Flowscript are available in the Velocity context. 
code | html
VelocityGenerator.ChainedContext  

Velocity context implementation specific to the Servlet environment.

It provides the following special features:

  • puts the request, response, session, and servlet context objects into the Velocity context for direct access, and keeps them read-only
  • supports a read-only toolbox of view tools
  • auto-searches servlet request attributes, session attributes and servlet context attribues for objects

The #internalGet(String key) method implements the following search order for objects:

  1. servlet request, servlet response, servlet session, servlet context
  2. toolbox
  3. local hashtable of objects (traditional use)
  4. servlet request attribues, servlet session attribute, servlet context attributes

The purpose of this class is to make it easy for web designer to work with Java servlet based web applications. 

code | html
VelocityGenerator.JSIntrospector   Velocity Introspector that supports Rhino JavaScript objects as well as Java Objects  code | html
VelocityGenerator.JSIntrospector.JSMethod     code | html
VelocityGenerator.JSIntrospector.JSPropertyGet     code | html
VelocityGenerator.JSIntrospector.JSPropertySet     code | html
VelocityGenerator.JSIntrospector.NativeArrayIterator     code | html
VelocityGenerator.JSIntrospector.ScriptableIterator     code | html
VelocityGenerator.TemplateLoader   Velocity org.apache.velocity.runtime.resource.loader.ResourceLoader implementation to load template resources using Cocoon's SourceResolver code | html
WebServiceProxyGenerator   The WebServiceProxyGenerator is intended to: 1) Allow easy syndication of dynamic interactive content as a natural extension of the currently popular static content syndication with RSS.  code | html
XMLDBCollectionGenerator   This class implements generation of a XML:DB collection contents as a directory listing.  code | html
XMLDBGenerator   This class implements generation of XML documents from a XML:DB compliant database.  code | html
XMidiGenerator   Reads a standard MIDI file and generates SAX Events.  code | html
XPathDirectoryGenerator     code | html
XPathDirectoryGenerator.MappingInfo   The MappingInfo class to resolve namespace prefixes to their namespace URI  code | html
XPathTraversableGenerator   Generates an XML collection listing performing XPath queries on XML sources.  code | html
XPathTraversableGenerator.XPathPrefixResolver   A brain-dead PrefixResolver implementation  code | html