DitaOtPipelineDefinition

DitaOtPipelineDefinition bean attributes

A DitaOtPipelineDefinition is created using a Spring bean with the following attributes:

Attribute Value Description
id User-defined A unique ID for the bean.
parent ditaot.pipelineDefinition.abstract The parent bean.

DitaOtPipelineDefinition bean properties

The DitaOtPipelineDefinition bean takes the following properties:

Property Type Mandatory Description
resultMediaType MediaType Required The MediaType of the result document that will be generated by this pipeline. E.g. text/xml, application/pdf...
options Map <QName,String> Optional The default options with default values for the pipeline. These options will be passed directly to the XProc pipeline. Use a fully-qualified name with Clark notation as the key of the entry.

DitaOtPipelineDefinition bean example

<bean id="ditaot.pipelineDefinition.pdf-custom" parent="ditaot.pipelineDefinition.abstract">
    <property name="resultMediaType" ref="pdf.mediaType" />
    <property name="options">
      <map>
        <entry key="transtype" value="custom-pdf" />
      </map>
    </property>
  </bean>

Debugging

To debug your DitaOtPipelineDefinition, add the following entry to your log4j.properties file:

log4j.logger.com.componize.xml.pipeline.service.DefaultPipelineRegistry=debug