Value - The type of the involved values.public interface Processor<Value>
Processor is used to process (transform, translate, project,
evaluate, ...) values.| Modifier and Type | Method and Description |
|---|---|
Value |
process(Value value)
Called to process a given value.
|
Value process(Value value) throws ProcessingException
Implementers should catch any exception and wrap them in a
ProcessingException.
Depending on the use case, if the given value null, the
Processor should return null.
It lies in the responsibility of the caller, to handle unwanted
null-values by replacing them with a sensible default value or
throwing an appropriate ProcessingException.
value - The value to be processed.ProcessingException - If the conversion failed.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.