ambit2.core.processors
Class AbstractRepresentationConvertor<Item,Content,Output,R,Media,ItemReporter extends ambit2.base.processors.Reporter<Content,Output>>
java.lang.Object
ambit2.base.processors.DefaultAmbitProcessor<Content,R>
ambit2.core.processors.AbstractRepresentationConvertor<Item,Content,Output,R,Media,ItemReporter>
- Type Parameters:
Item
- Content
- Output
- R
- Media
- ItemReporter
-
- All Implemented Interfaces:
- ambit2.base.interfaces.IProcessor<Content,R>, java.io.Serializable
public abstract class AbstractRepresentationConvertor<Item,Content,Output,R,Media,ItemReporter extends ambit2.base.processors.Reporter<Content,Output>>
- extends ambit2.base.processors.DefaultAmbitProcessor<Content,R>
An abstract IProcessor
, converting between arbitrary Content and arbitrary Representation.
- See Also:
- Serialized Form
Fields inherited from class ambit2.base.processors.DefaultAmbitProcessor |
enabled, logger, propertyChangeSupport |
Methods inherited from class ambit2.base.processors.DefaultAmbitProcessor |
addPropertyChangeListener, addPropertyChangeListener, getID, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
reporter
protected ItemReporter extends ambit2.base.processors.Reporter<Content,Output> reporter
mediaType
protected Media mediaType
AbstractRepresentationConvertor
public AbstractRepresentationConvertor(ItemReporter reporter)
AbstractRepresentationConvertor
public AbstractRepresentationConvertor(ItemReporter reporter,
Media media)
getMediaType
public Media getMediaType()
setMediaType
public void setMediaType(Media mediaType)
getReporter
public ItemReporter getReporter()
setReporter
public void setReporter(ItemReporter reporter)
process
public abstract R process(Content query)
throws ambit2.base.exceptions.AmbitException
- Throws:
ambit2.base.exceptions.AmbitException