Package org.craftercms.core.processors
Interface ItemProcessor
- All Known Implementing Classes:
AbstractTaggingProcessor
,AttributeAddingProcessor
,FieldRenamingProcessor
,IncludeDescriptorsProcessor
,ItemProcessorPipeline
,ItemUrlTransformingProcessor
,PageAwareIncludeDescriptorsProcessor
,TaggingByFieldValueProcessor
,TaggingByPathProcessor
,TemplateProcessor
,TextMetaDataCollectionExtractingProcessor
,TextMetaDataExtractingProcessor
public interface ItemProcessor
Processes an
Item
, by applying any needed modification to it.- Author:
- Sumer Jabri, Alfonso Vásquez
-
Method Summary
-
Method Details
-
process
Item process(Context context, CachingOptions cachingOptions, Item item) throws ItemProcessingException Processes anItem
.- Parameters:
context
- the current contextcachingOptions
- caching options in case you need access to itemsitem
- the item to process- Returns:
- the modified item or a new item.
- Throws:
ItemProcessingException
- if an error occurred while processing the item
-