Package org.jooq.conf
Class LocaleAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Locale>
-
- org.jooq.conf.LocaleAdapter
-
public class LocaleAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Locale>
- Author:
- Lukas Eder
-
-
Constructor Summary
Constructors Constructor Description LocaleAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
marshal(java.util.Locale v)
java.util.Locale
unmarshal(java.lang.String v)
-
-
-
Method Detail
-
unmarshal
public java.util.Locale unmarshal(java.lang.String v) throws java.lang.Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Locale>
- Throws:
java.lang.Exception
-
marshal
public java.lang.String marshal(java.util.Locale v) throws java.lang.Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Locale>
- Throws:
java.lang.Exception
-
-