public class ExtractSliceRange extends ChannelProviderUnary
sliceStart
(inclusive) to sliceEnd
(inclusive).
If duplicate==true
bean-property will ensure it is duplicated, and each channel has
independent copies of the slices. If this is not needed duplicate==false
results in less
memory allocation and copying operations.
Constructor and Description |
---|
ExtractSliceRange() |
Modifier and Type | Method and Description |
---|---|
void |
checkMisconfigured(BeanInstanceMap defaultInstances)
Checks that a bean's properties conform to expectations.
|
Channel |
createFromChannel(Channel channel)
Creates a
Channel given the entity provided by the delegate. |
int |
getIndexEnd()
Slice index to end extracting from (inclusive).
|
int |
getIndexStart()
Slice index to start extracting from (inclusive).
|
void |
setIndexEnd(int indexEnd)
Slice index to end extracting from (inclusive).
|
void |
setIndexStart(int indexStart)
Slice index to start extracting from (inclusive).
|
get, getChannel, setChannel
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public void checkMisconfigured(BeanInstanceMap defaultInstances) throws BeanMisconfiguredException
AnchorBean
checkMisconfigured
in class AnchorBean<ChannelProvider>
defaultInstances
- all available default instances if the DefaultInstance
annotation is usedBeanMisconfiguredException
- if the bean has not been configured properly as XMLpublic Channel createFromChannel(Channel channel)
ChannelProviderUnary
Channel
given the entity provided by the delegate.createFromChannel
in class ChannelProviderUnary
channel
- the entity provided by the delegate.Channel
that is returned by the provider.public int getIndexStart()
public void setIndexStart(int indexStart)
public int getIndexEnd()
public void setIndexEnd(int indexEnd)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.