Modifier and Type | Class and Description |
---|---|
static class |
CFDv33.CFDv33ComprobanteBase |
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableMap<String,String> |
PREFIXES |
Constructor and Description |
---|
CFDv33(Comprobante comprobante,
String... contexts) |
CFDv33(InputStream in,
String... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
addNamespace(String uri,
String prefix) |
String |
getCadenaOriginal() |
ComprobanteBase |
getComprobante() |
void |
guardar(OutputStream out) |
static Comprobante |
newComprobante(InputStream in) |
void |
sellar(PrivateKey key,
X509Certificate cert) |
Comprobante |
sellarComprobante(PrivateKey key,
X509Certificate cert) |
void |
setTransformerFactory(TransformerFactory tf) |
void |
validar() |
void |
validar(ErrorHandler handler) |
void |
verificar() |
void |
verificar(InputStream in) |
public CFDv33(InputStream in, String... contexts) throws Exception
Exception
public CFDv33(Comprobante comprobante, String... contexts) throws Exception
Exception
public void addNamespace(String uri, String prefix)
addNamespace
in interface CFDI
public void setTransformerFactory(TransformerFactory tf)
setTransformerFactory
in interface CFD
public void sellar(PrivateKey key, X509Certificate cert) throws Exception
public Comprobante sellarComprobante(PrivateKey key, X509Certificate cert) throws Exception
Exception
public void validar() throws Exception
public void validar(ErrorHandler handler) throws Exception
public void verificar() throws Exception
public void verificar(InputStream in) throws Exception
Exception
public void guardar(OutputStream out) throws Exception
public String getCadenaOriginal() throws Exception
getCadenaOriginal
in interface CFD
Exception
public static Comprobante newComprobante(InputStream in) throws Exception
Exception
public ComprobanteBase getComprobante() throws Exception
getComprobante
in interface CFDI
Exception
Copyright © 2010–2018. All rights reserved.