org.hibernate.validator.internal.xml.Adapter1 Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.04.11 at 09:35:13 PM CEST
//
package org.hibernate.validator.internal.xml;
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();
}
}