public abstract class AbstractSupportedAttributeRegisteringProcessor<I,O> extends CodingSchemeIdAwareProcessor implements org.springframework.batch.item.ItemProcessor<I,O>
Constructor and Description |
---|
AbstractSupportedAttributeRegisteringProcessor() |
Modifier and Type | Method and Description |
---|---|
abstract O |
doProcess(I item)
Do process.
|
SupportedAttributeTemplate |
getSupportedAttributeTemplate()
Gets the supported attribute template.
|
boolean |
isRegisterSupportedAttributes()
Checks if is register supported attributes.
|
O |
process(I item) |
protected abstract void |
registerSupportedAttributes(SupportedAttributeTemplate s,
O item)
Register supported attributes.
|
void |
setRegisterSupportedAttributes(boolean registerSupportedAttributes)
Sets the register supported attributes.
|
void |
setSupportedAttributeTemplate(SupportedAttributeTemplate supportedAttributeTemplate)
Sets the supported attribute template.
|
getCodingSchemeIdSetter, setCodingSchemeIdSetter
public AbstractSupportedAttributeRegisteringProcessor()
public abstract O doProcess(I item) throws java.lang.Exception
item
- the itemjava.lang.Exception
- the exceptionprotected abstract void registerSupportedAttributes(SupportedAttributeTemplate s, O item)
s
- the sitem
- the itempublic SupportedAttributeTemplate getSupportedAttributeTemplate()
public void setSupportedAttributeTemplate(SupportedAttributeTemplate supportedAttributeTemplate)
supportedAttributeTemplate
- the new supported attribute templatepublic boolean isRegisterSupportedAttributes()
public void setRegisterSupportedAttributes(boolean registerSupportedAttributes)
registerSupportedAttributes
- the new register supported attributes