org.hibernate.validator.internal.xml.binding.Adapter1 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bean-validator Show documentation
Show all versions of bean-validator Show documentation
JSR 380's RI, Hibernate Validator version ${hibernate-validator.version} and its dependencies repackaged as OSGi bundle
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.05.15 at 10:46:31 AM UTC
//
package org.hibernate.validator.internal.xml.binding;
import javax.validation.executable.ExecutableType;
import javax.xml.bind.annotation.adapters.XmlAdapter;
public class Adapter1
extends XmlAdapter
{
public ExecutableType unmarshal(String value) {
return (javax.validation.executable.ExecutableType.valueOf(value));
}
public String marshal(ExecutableType value) {
if (value == null) {
return null;
}
return value.toString();
}
}