public class DateStringBinding extends AbstractStringBinding<Date> implements Binding<Date,String>
Constructor and Description |
---|
DateStringBinding() |
Modifier and Type | Method and Description |
---|---|
Class<Date> |
getBoundClass()
Obtain the bound class
|
String |
marshal(Date object)
Converts to the given object from the specified object
|
Date |
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 DateStringBinding()
public Date unmarshal(String object)
unmarshal
in interface FromUnmarshaller<Date,String>
unmarshal
in class AbstractStringBinding<Date>
object
- Object to transform, not nullpublic String marshal(Date object)
marshal
in interface ToMarshaller<Date,String>
marshal
in class AbstractStringBinding<Date>
object
- Object to transform, not nullpublic Class<Date> getBoundClass()
getBoundClass
in interface FromUnmarshaller<Date,String>
getBoundClass
in interface ToMarshaller<Date,String>
Copyright © 2010–2018 Jadira Systems. All rights reserved.