S
- Source type for the conversionT
- Target typepublic final class ConstructorFromUnmarshaller<S,T> extends Object implements FromUnmarshaller<S,T>
Constructor and Description |
---|
ConstructorFromUnmarshaller(Constructor<S> unmarshal)
Create a new instance
|
Modifier and Type | Method and Description |
---|---|
Class<S> |
getBoundClass()
Obtain the bound class
|
Class<T> |
getTargetClass()
Obtain the bound class
|
S |
unmarshal(T object)
Converts from the given String into the specified object
|
public ConstructorFromUnmarshaller(Constructor<S> unmarshal)
unmarshal
- Constructor to be usedpublic S unmarshal(T object)
unmarshal
in interface FromUnmarshaller<S,T>
object
- Object to transform, not nullpublic Class<S> getBoundClass()
getBoundClass
in interface FromUnmarshaller<S,T>
public Class<T> getTargetClass()
getTargetClass
in interface FromUnmarshaller<S,T>
Copyright © 2010–2018 Jadira Systems. All rights reserved.