public interface TransformerWrapper
Definition of an interface for objects that wrap a transformer.
The main task of a TransformerWrapper
is to provide a
specialized
for a TransformerContext
.
A client can use the wrapper exactly as a normal transformer, but does not
have to care for the context. Occurring exceptions when invoking the
transformer must also be caught and redirected as runtime exceptions.
Transformer
This simplifies working with transformers and also makes it possible to inject alternative context implementations.
Transformer
Modifier and Type | Method and Description |
---|---|
Object |
transform(Object o)
Invokes the wrapped transformer for transforming the passed in object.
|
Object transform(Object o)
o
- the object to be transformedCopyright © 2016 The JGUIraffe Team. All rights reserved.