abstractpublic class AbstractStrategizedTransfer extends ByteArrayTransfer implements UDIGTransfer(Code)
This class provides the framework for a transfer to have different behaviours depending on the
strategy that is set.
For example:
A GeometryTextTransfer can encode the geometry as a GML string or a WKT string (as created by JTS WKTWriter).
The GeometryTextTransfer class subclasses AbstractStrategizedTransfer and only needs to provide the current
strategy and the set of possible strategies. The AbstractStrategizedTransfer will first try to use the current strategy for
encoding the geometry then all the rest if the current strategy fails.
Similarly for decoding an input(nativeToJava) the current strategy will be tried first then the rest of the
known strategies will be used until an object is obtained.