The above picture shows the components of Cocoon framework.
Matchers - A Matcher attempts to match an URI with a specified pattern for dispatching
the request to a specific processing pipeline. Ej: wildcard matcher, regexp matcher.
Matchers help in specifying a specific pipeline processing for a group of URIs.
Generators - A Generator is used to create an XML structure from an input source (file,
directory, stream, dbprism ...) . DBPrism generates the dynamic XML inside the
database, transforming it into an active database. An active database means that
you use the database engine not only to execute SQL statements, but to directly
return a complex XML representation of the data stored inside as well.
Transformers - A Transformer is used to map an input XML structure into another XML structure.
Ej: XSLT Transformer, Log Transformer, SQL Transformer, I18N Transformer.
Aggregators - Content aggregation means that an XML document could be composed (aggregated)
by many sub documents.
Serializers - A Serializer is used to render an input XML structure into some other format
(not necessarily XML). Ej. HML Serializer, FOP Serializer, Text Serializer, XML
Serializer.
|