com.fincatto.documentofiscal.cte400.transformers.CTProcessoEmissaoTransformer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nfe Show documentation
Show all versions of nfe Show documentation
Biblioteca de comunicacao de nota fiscal eletronica brasileira
package com.fincatto.documentofiscal.cte400.transformers;
import com.fincatto.documentofiscal.cte400.classes.CTProcessoEmissao;
import org.simpleframework.xml.transform.Transform;
public class CTProcessoEmissaoTransformer implements Transform {
@Override
public CTProcessoEmissao read(String arg0) {
return CTProcessoEmissao.valueOfCodigo(arg0);
}
@Override
public String write(CTProcessoEmissao arg0) {
return arg0.getCodigo();
}
}