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