This adaptor accessor matches all URI of the form active:cocoon.generator.*
.
All generators shipped with the version of cocoon specified in the guide
are available though many may not be useful because they have no ability to access data
from the object model/environment such as the request and session. The exact
match for the generators type is matched against the transformers classname, not against
a name specified in a sitemap. Sitemaps are not used within the Cocoon 2 NetKernel Adaption Kit.
It provides an adaptor for instantiating and executing a standard cocoon generator which
must implement the interface org.apache.cocoon.generation.Generator
.
The src
and param
arguments are optional depending
upon the exact generator. The parameter argument, if specified, should be
an XML fragment as would appear in the cocoon sitemap pipeline section as the map:transform
element
with attributes and sub elements specifying parameters.
The result of sucessful execution is an SAX stream generating aspect.
Upon failure an exception aspect is thrown.