Class CopyTransformer

java.lang.Object
com.norconex.importer.handler.transformer.impl.CopyTransformer
All Implemented Interfaces:
Configurable<CopyTransformerConfig>, ConfigurableDocHandler<CopyTransformerConfig>, DocHandler

public class CopyTransformer extends Object implements ConfigurableDocHandler<CopyTransformerConfig>

Copies metadata fields.

Storing values in an existing field

If a target field with the same name already exists for a document, values will be added to the end of the existing value list. It is possible to change this default behavior by supplying a PropertySetter.

Can be used both as a pre-parse or post-parse handler.

Copies the value of a "creator" and "publisher" fields into an "author" field, adding to any existing values in the "author" field.

See Also: