S
- input typeT
- output type for the marshallerpublic class ToMarshallerConverter<S,T> extends Object implements Converter<S,T>
Constructor and Description |
---|
ToMarshallerConverter(ToMarshaller<S,T> marshaller)
Create a new instance of a
Converter wrapping the given ToMarshaller |
Modifier and Type | Method and Description |
---|---|
T |
convert(S inputObject)
Converts from the given I into the specified object
|
Class<S> |
getInputClass()
Obtain the bound class
|
ToMarshaller<S,T> |
getMarshaller()
Get the wrapped marshaller
|
Class<T> |
getOutputClass()
Obtain the bound class
|
public ToMarshallerConverter(ToMarshaller<S,T> marshaller)
Converter
wrapping the given ToMarshaller
marshaller
- The ToMarshaller to wrappublic ToMarshaller<S,T> getMarshaller()
public Class<S> getInputClass()
getInputClass
in interface Converter<S,T>
public Class<T> getOutputClass()
getOutputClass
in interface Converter<S,T>
Copyright © 2010–2018 Jadira Systems. All rights reserved.