S
- Source type for the conversionT
- Target typepublic final class MethodsBinding<S,T> extends MethodToMarshaller<S,T> implements Binding<S,T>
public static BoundType unmarshal(String string)
Constructor and Description |
---|
MethodsBinding(Method marshal,
Method unmarshal,
Class<S> boundClass,
Class<T> targetClass)
Constructs a binding that supports a marshal method and an unmarshal method
|
Modifier and Type | Method and Description |
---|---|
S |
unmarshal(T string)
Converts from the given String into the specified object
|
getBoundClass, getTargetClass, marshal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBoundClass, getTargetClass, marshal
getBoundClass, getTargetClass
public MethodsBinding(Method marshal, Method unmarshal, Class<S> boundClass, Class<T> targetClass)
marshal
- The marshalling methodunmarshal
- The unmarshalling methodboundClass
- The source class for unmarshalling fromtargetClass
- The target class for marshalling toCopyright © 2010–2018 Jadira Systems. All rights reserved.