mx.emite.sdk.enums.sat.adaptadores.SatAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ef-sdk-java Show documentation
Show all versions of ef-sdk-java Show documentation
Este kit de consumo provee a los integradores de Apis de Java para construir software que consuma los diferentes servicios web publicados por Emite Facturacion
package mx.emite.sdk.enums.sat.adaptadores;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import mx.emite.sdk.enums.sat.Sat;
public abstract class SatAdapter extends XmlAdapter {
@Override
public abstract T unmarshal(S metodo) throws Exception;
@SuppressWarnings("unchecked")
@Override
public S marshal(T metodo) throws Exception {
if(metodo==null)
return null;
return (S)metodo.getDescripcion();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy