org.javastro.ivoa.entities.stc.v1.Adapter1 Maven / Gradle / Ivy
package org.javastro.ivoa.entities.stc.v1;
import jakarta.xml.bind.annotation.adapters.XmlAdapter;
import org.javastro.ivoa.entities.jaxb.hacks.RelocatableOriginType;
public class Adapter1
extends XmlAdapter
{
public RelocatableOriginType unmarshal(String value) {
return new RelocatableOriginType(value);
}
public String marshal(RelocatableOriginType value) {
if (value == null) {
return null;
}
return value.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy