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

nl.vpro.domain.XmlValued Maven / Gradle / Ivy

Go to download

Several domains like 'media', pages' and 'subtitles' in the POMS system share some common properties which are collected here

There is a newer version: 8.3.1
Show newest version
package nl.vpro.domain;

import jakarta.xml.bind.annotation.XmlEnumValue;

/**
 * An enum can be made to extend this, which indicates that an extra method will be present {@link #getXmlValue()} which
 * will be the {@link XmlEnumValue} of the enum value.
 * 

* Normally this would be {@link Enum#name()}}, but sometimes this is overriden, via the said annotation, and you need programmatic access to it. * * @author Michiel Meeuwissen * @since 5.5 * @deprecated use {@link nl.vpro.util.XmlValued} */ @Deprecated public interface XmlValued extends nl.vpro.util.XmlValued { /** * * @since 5.20.2 */ static & nl.vpro.util.XmlValued> E valueOfXml(E[] values, String value) { return nl.vpro.util.XmlValued.valueOfXml(values, value); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy