Class JaxbLocaleAdapter

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

public class JaxbLocaleAdapter extends jakarta.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 jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Locale>
    • marshal

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