S - Common supertype of inputI - Concrete type of inputP - Productpublic interface InputClassBasedTransformer<S,I extends S,P> extends Transformer<I,P>
Transformer which accepts / transforms only specific classes of
input, and is useful if the selection of transformer should be based on the
class of the input and there is one-to-one mapping between input class and
transformer.| Modifier and Type | Method and Description |
|---|---|
Class<? extends S> |
getInputClass()
Returns an
Class of input which is acceptable for transformation. |
transformCopyright © 2015. All Rights Reserved.