public class ClassStringBinding extends AbstractStringBinding<Class> implements Binding<Class,String>
Constructor and Description |
---|
ClassStringBinding() |
Modifier and Type | Method and Description |
---|---|
Class<Class> |
getBoundClass()
Obtain the bound class
|
String |
marshal(Class clazz)
Converts to the given object from the specified object
|
Class |
unmarshal(String object)
Converts from the given String into the specified object
|
getTargetClass
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTargetClass
getTargetClass
public ClassStringBinding()
public Class unmarshal(String object)
unmarshal
in interface FromUnmarshaller<Class,String>
unmarshal
in class AbstractStringBinding<Class>
object
- Object to transform, not nullpublic String marshal(Class clazz)
marshal
in interface ToMarshaller<Class,String>
marshal
in class AbstractStringBinding<Class>
clazz
- Object to transform, not nullpublic Class<Class> getBoundClass()
getBoundClass
in interface FromUnmarshaller<Class,String>
getBoundClass
in interface ToMarshaller<Class,String>
Copyright © 2010–2018 Jadira Systems. All rights reserved.