public abstract class AbstractCartridgeHandler extends Object implements CartridgeHandler<ContentItem>
CartridgeHandler
that provides no-op implementations of
CartridgeHandler.initialize(ContentItem)
and CartridgeHandler.preprocess(ContentItem)
.Constructor and Description |
---|
AbstractCartridgeHandler() |
Modifier and Type | Method and Description |
---|---|
ContentItem |
initialize(ContentItem pContentItem)
This implementation simply returns the input
ContentItem without modification. |
void |
preprocess(ContentItem pContentItem)
This implementation does nothing and does not modify the input
ContentItem . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
public ContentItem initialize(ContentItem pContentItem) throws CartridgeHandlerException
ContentItem
without modification.initialize
in interface CartridgeHandler<ContentItem>
pContentItem
- cartridge instance configuration, typically
from Experience Manager.ContentItem
without modification.CartridgeHandlerException
- exceptions are never thrown by
this no-op implementationpublic void preprocess(ContentItem pContentItem) throws CartridgeHandlerException
ContentItem
.preprocess
in interface CartridgeHandler<ContentItem>
pContentItem
- the cartridge configuration returned by
initialize(ContentItem)
.CartridgeHandlerException
- exceptions are never thrown by
this no-op implementationCopyright © 2015, Oracle and/or its affiliates. All rights reserved.