Manual de canales de filtro > Content Pipelines
Content Pipelines
Arbortext Editor and Arbortext Publishing Engine use a SAX filter pipeline, called a composer, to transform documents. A composer is a processor that can be configured to transform a document by passing it through one or more SAX filters in a filter pipeline. The result of this transformation may be one or more XML documents or external files. A content pipeline is defined in a CCF file, and exposed as an AOM composer object.
You can configure and run a composer object using an associative array of parameters. Users can create new composer objects or customize existing ones by subclassing existing filters in a pipeline or by adding or deleting filters in a CCF file to create new pipelines.
A composer is created by calling a createComposer method. When this method is called, the following process occurs:
The composer's CCF file is parsed.
For each filter in the pipeline, the composer:
Creates the adapter from the class specified in the adapterClass attribute.
Creates the filter.
Links the filter to its predecessor.
Maps the interface parameters to the filter’s parameters.
¿Fue esto útil?