public class ProxyActivationBuffer extends AbstractActivationBuffer
ACTIVATION_PARAM, GOAL_VALUE_PARAM, STRICT_HARVESTING_PARAM
AURAL, AURAL_LOCATION, GOAL, IMAGINAL, MOTOR, RETRIEVAL, VISUAL, VISUAL_LOCATION, VOCAL
Constructor and Description |
---|
ProxyActivationBuffer(java.lang.String proxyName,
IModel model,
IModule module,
IActivationBuffer actualBuffer) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
addSourceChunkInternal(IChunk chunkToInsert)
adds are just passed to the source buffer
|
java.lang.Object |
getAdapter(java.lang.Class adapterClass) |
protected IChunk |
getSourceChunkInternal()
return the source chunk from the internal backing store
|
protected java.util.Collection<IChunk> |
getSourceChunksInternal(java.util.Collection<IChunk> container) |
boolean |
handlesEncoding()
this will prevent automatic encoding when the chunk is removed from the
proxy, the behavior of the source buffer will determine what happens
|
protected boolean |
removeSourceChunkInternal(IChunk chunkToRemove)
after verifying that the chunk is in the wrapped buffer, it delegates to
the wrapped buffer
|
addListener, addSourceChunk, clear, clearInternal, contains, containsExact, dispose, getActivation, getActivationSpreader, getEventDispatcher, getG, getLock, getModel, getModule, getName, getParameter, getPossibleParameters, getSetableParameters, getSourceChunk, getSourceChunks, getSourceChunks, grabReferences, initialize, isStrictHarvestingEnabled, matched, matchedInternal, removeListener, removeSourceChunk, setActivation, setActivationSpreader, setG, setParameter, setStrictHarvestingEnabled, toString
addAdapterFactory, removeAdapterFactory
public ProxyActivationBuffer(java.lang.String proxyName, IModel model, IModule module, IActivationBuffer actualBuffer)
public java.lang.Object getAdapter(java.lang.Class adapterClass)
getAdapter
in interface IAdaptable
getAdapter
in class DefaultAdaptable
public boolean handlesEncoding()
handlesEncoding
in interface IActivationBuffer
handlesEncoding
in class AbstractActivationBuffer
protected IChunk addSourceChunkInternal(IChunk chunkToInsert)
addSourceChunkInternal
in class AbstractActivationBuffer
chunkToInsert
- the chunk to be inserted, will never be null nor already in the
bufferprotected boolean removeSourceChunkInternal(IChunk chunkToRemove)
removeSourceChunkInternal
in class AbstractActivationBuffer
chunkToRemove
- chunk that is in the buffer, never nullprotected IChunk getSourceChunkInternal()
AbstractActivationBuffer
getSourceChunkInternal
in class AbstractActivationBuffer
protected java.util.Collection<IChunk> getSourceChunksInternal(java.util.Collection<IChunk> container)
getSourceChunksInternal
in class AbstractActivationBuffer