S
- Source type for the conversionT
- Target typepublic final class MethodConstructorBinding<S,T> extends MethodToMarshaller<S,T> implements Binding<S,T>
Constructor and Description |
---|
MethodConstructorBinding(Constructor<S> unmarshal,
Class<T> targetClass,
Method marshal)
Constructs a binding that supports a marshal method and an unmarshalling constructor
|
Modifier and Type | Method and Description |
---|---|
S |
unmarshal(T str)
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 MethodConstructorBinding(Constructor<S> unmarshal, Class<T> targetClass, Method marshal)
unmarshal
- The ConstructortargetClass
- The target class for marshalling tomarshal
- The marshalling methodCopyright © 2010–2018 Jadira Systems. All rights reserved.