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