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