Class JaxbLocaleAdapter

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Locale>
org.optaplanner.core.impl.io.jaxb.adapter.JaxbLocaleAdapter

public class JaxbLocaleAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<String,Locale>
  • Constructor Details

    • JaxbLocaleAdapter

      public JaxbLocaleAdapter()
  • Method Details

    • unmarshal

      public Locale unmarshal(String localeString)
      Specified by:
      unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Locale>
    • marshal

      public String marshal(Locale locale)
      Specified by:
      marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Locale>