All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.validator.internal.xml.binding.Adapter1 Maven / Gradle / Ivy

Go to download

JSR 380's RI, Hibernate Validator version ${hibernate-validator.version} and its dependencies repackaged as OSGi bundle

There is a newer version: 5.1.0
Show newest version
//
// 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();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy