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 ItemProcessorProcesses anItem, by applying any needed modification to it.- Author:
- Sumer Jabri, Alfonso Vásquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Itemprocess(Context context, CachingOptions cachingOptions, Item item)Processes anItem.
-
-
-
Method Detail
-
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
-
-