Rev 414 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 415 | espaco | 1 | package nfe.util; |
| 414 | espaco | 2 | |
| 3 | import javax.xml.bind.JAXBElement; |
||
| 4 | import javax.xml.bind.annotation.XmlElementDecl; |
||
| 5 | import javax.xml.bind.annotation.XmlRegistry; |
||
| 6 | import javax.xml.namespace.QName; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @author Samuel Oliveira - samuel@swconsultoria.com.br |
||
| 10 | * Data: 26/01/2018 - 23:19 |
||
| 11 | */ |
||
| 12 | @XmlRegistry |
||
| 13 | public class XsdUtil { |
||
| 14 | |||
| 15 | private final static QName _TNfeProc_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "nfeProc"); |
||
| 16 | private final static QName _TProtNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "protNFe"); |
||
| 17 | private final static QName _TProcInutNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "procInutNFe"); |
||
| 18 | private final static QName _TRetEnviNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "retEnviNFe"); |
||
| 19 | private static final QName _TProcEvento_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "procEvento"); |
||
| 20 | private static final QName _TRetEnvEvento_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "retEnvEvento"); |
||
| 21 | private static final QName _TRetInutNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "retInutNFe"); |
||
| 22 | private static final QName _TDistDFeInt_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "distDFeInt"); |
||
| 23 | |||
| 24 | public interface enviNfe { |
||
| 25 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TNfeProc", scope = br.com.swconsultoria.nfe.schema_4.enviNFe.TNfeProc.class) |
||
| 26 | static JAXBElement<br.com.swconsultoria.nfe.schema_4.enviNFe.TNfeProc> createTNfeProc(br.com.swconsultoria.nfe.schema_4.enviNFe.TNfeProc value) { |
||
| 27 | return new JAXBElement<br.com.swconsultoria.nfe.schema_4.enviNFe.TNfeProc>(_TNfeProc_QNAME, br.com.swconsultoria.nfe.schema_4.enviNFe.TNfeProc.class, br.com.swconsultoria.nfe.schema_4.enviNFe.TNfeProc.class, value); |
||
| 28 | } |
||
| 29 | |||
| 30 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TProtNFe", scope = br.com.swconsultoria.nfe.schema_4.enviNFe.TProtNFe.class) |
||
| 31 | static JAXBElement<br.com.swconsultoria.nfe.schema_4.enviNFe.TProtNFe> createTProtNFe(br.com.swconsultoria.nfe.schema_4.enviNFe.TProtNFe value) { |
||
| 32 | return new JAXBElement<br.com.swconsultoria.nfe.schema_4.enviNFe.TProtNFe>(_TProtNFe_QNAME, br.com.swconsultoria.nfe.schema_4.enviNFe.TProtNFe.class, br.com.swconsultoria.nfe.schema_4.enviNFe.TProtNFe.class, value); |
||
| 33 | } |
||
| 34 | |||
| 35 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TRetEnviNFe", scope = br.com.swconsultoria.nfe.schema_4.enviNFe.TRetEnviNFe.class) |
||
| 36 | static JAXBElement<br.com.swconsultoria.nfe.schema_4.enviNFe.TRetEnviNFe> createTRetEnviNFe(br.com.swconsultoria.nfe.schema_4.enviNFe.TRetEnviNFe value) { |
||
| 37 | return new JAXBElement<br.com.swconsultoria.nfe.schema_4.enviNFe.TRetEnviNFe>(_TRetEnviNFe_QNAME, br.com.swconsultoria.nfe.schema_4.enviNFe.TRetEnviNFe.class, br.com.swconsultoria.nfe.schema_4.enviNFe.TRetEnviNFe.class, value); |
||
| 38 | } |
||
| 39 | } |
||
| 40 | |||
| 41 | public interface distDFeInt { |
||
| 42 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "distDFeInt", scope = br.com.swconsultoria.nfe.schema.distdfeint.DistDFeInt.class) |
||
| 43 | static JAXBElement<br.com.swconsultoria.nfe.schema.distdfeint.DistDFeInt> createDistDFeInt(br.com.swconsultoria.nfe.schema.distdfeint.DistDFeInt value) { |
||
| 44 | return new JAXBElement<>(_TDistDFeInt_QNAME, br.com.swconsultoria.nfe.schema.distdfeint.DistDFeInt.class, br.com.swconsultoria.nfe.schema.distdfeint.DistDFeInt.class, value); |
||
| 45 | } |
||
| 46 | } |
||
| 47 | |||
| 48 | public interface retConsReciNfe { |
||
| 49 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "protNFe", scope = br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TProtNFe.class) |
||
| 50 | static JAXBElement<br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TProtNFe> createTProtNFe(br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TProtNFe value) { |
||
| 51 | return new JAXBElement<br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TProtNFe>(_TProtNFe_QNAME, br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TProtNFe.class, br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TProtNFe.class, value); |
||
| 52 | } |
||
| 53 | } |
||
| 54 | |||
| 55 | public interface retConsSitNfe { |
||
| 56 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TProtNFe", scope = br.com.swconsultoria.nfe.schema_4.retConsSitNFe.TProtNFe.class) |
||
| 57 | static JAXBElement<br.com.swconsultoria.nfe.schema_4.retConsSitNFe.TProtNFe> createTProtNFe(br.com.swconsultoria.nfe.schema_4.retConsSitNFe.TProtNFe value) { |
||
| 58 | return new JAXBElement<br.com.swconsultoria.nfe.schema_4.retConsSitNFe.TProtNFe>(_TProtNFe_QNAME, br.com.swconsultoria.nfe.schema_4.retConsSitNFe.TProtNFe.class, br.com.swconsultoria.nfe.schema_4.retConsSitNFe.TProtNFe.class, value); |
||
| 59 | } |
||
| 60 | } |
||
| 61 | |||
| 62 | public interface retEnviNfe { |
||
| 63 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TProtNFe", scope = br.com.swconsultoria.nfe.schema_4.retEnviNFe.TProtNFe.class) |
||
| 64 | static JAXBElement<br.com.swconsultoria.nfe.schema_4.retEnviNFe.TProtNFe> createTProtNFe(br.com.swconsultoria.nfe.schema_4.retEnviNFe.TProtNFe value) { |
||
| 65 | return new JAXBElement<br.com.swconsultoria.nfe.schema_4.retEnviNFe.TProtNFe>(_TProtNFe_QNAME, br.com.swconsultoria.nfe.schema_4.retEnviNFe.TProtNFe.class, br.com.swconsultoria.nfe.schema_4.retEnviNFe.TProtNFe.class, value); |
||
| 66 | } |
||
| 67 | } |
||
| 68 | |||
| 69 | public interface inutNfe { |
||
| 70 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TProcInutNFe", scope = br.com.swconsultoria.nfe.schema_4.inutNFe.TProcInutNFe.class) |
||
| 71 | static JAXBElement<br.com.swconsultoria.nfe.schema_4.inutNFe.TProcInutNFe> createTProcInutNFe(br.com.swconsultoria.nfe.schema_4.inutNFe.TProcInutNFe value) { |
||
| 72 | return new JAXBElement<br.com.swconsultoria.nfe.schema_4.inutNFe.TProcInutNFe>(_TProcInutNFe_QNAME, br.com.swconsultoria.nfe.schema_4.inutNFe.TProcInutNFe.class, br.com.swconsultoria.nfe.schema_4.inutNFe.TProcInutNFe.class, value); |
||
| 73 | } |
||
| 74 | |||
| 75 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TRetInutNFe", scope = br.com.swconsultoria.nfe.schema_4.inutNFe.TRetInutNFe.class) |
||
| 76 | static JAXBElement<br.com.swconsultoria.nfe.schema_4.inutNFe.TRetInutNFe> createTRetInutNfe(br.com.swconsultoria.nfe.schema_4.inutNFe.TRetInutNFe value) { |
||
| 77 | return new JAXBElement<br.com.swconsultoria.nfe.schema_4.inutNFe.TRetInutNFe>(_TProcInutNFe_QNAME, br.com.swconsultoria.nfe.schema_4.inutNFe.TRetInutNFe.class, br.com.swconsultoria.nfe.schema_4.inutNFe.TRetInutNFe.class, value); |
||
| 78 | } |
||
| 79 | |||
| 80 | |||
| 81 | } |
||
| 82 | |||
| 83 | public interface epec { |
||
| 84 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TProcEvento", scope = br.com.swconsultoria.nfe.schema.envEpec.TProcEvento.class) |
||
| 85 | static JAXBElement<br.com.swconsultoria.nfe.schema.envEpec.TProcEvento> createTProcEvento(br.com.swconsultoria.nfe.schema.envEpec.TProcEvento value) { |
||
| 86 | return new JAXBElement<>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envEpec.TProcEvento.class, br.com.swconsultoria.nfe.schema.envEpec.TProcEvento.class, value); |
||
| 87 | } |
||
| 88 | } |
||
| 89 | |||
| 90 | public interface envEventoAtorInteressado { |
||
| 91 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TProcEvento", scope = br.com.swconsultoria.nfe.schema.envEventoAtorInteressado.TProcEvento.class) |
||
| 92 | static JAXBElement<br.com.swconsultoria.nfe.schema.envEventoAtorInteressado.TProcEvento> createTProcEvento(br.com.swconsultoria.nfe.schema.envEventoAtorInteressado.TProcEvento value) { |
||
| 93 | return new JAXBElement<>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envEventoAtorInteressado.TProcEvento.class, br.com.swconsultoria.nfe.schema.envEventoAtorInteressado.TProcEvento.class, value); |
||
| 94 | } |
||
| 95 | } |
||
| 96 | |||
| 97 | public interface envEventoCancNFe { |
||
| 98 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TProcEvento", scope = br.com.swconsultoria.nfe.schema.envEventoCancNFe.TProcEvento.class) |
||
| 99 | static JAXBElement<br.com.swconsultoria.nfe.schema.envEventoCancNFe.TProcEvento> createTProcEvento(br.com.swconsultoria.nfe.schema.envEventoCancNFe.TProcEvento value) { |
||
| 100 | return new JAXBElement<>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envEventoCancNFe.TProcEvento.class, br.com.swconsultoria.nfe.schema.envEventoCancNFe.TProcEvento.class, value); |
||
| 101 | } |
||
| 102 | } |
||
| 103 | |||
| 104 | public interface envEventoCancSubst { |
||
| 105 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TProcEvento", scope = br.com.swconsultoria.nfe.schema.envEventoCancSubst.TProcEvento.class) |
||
| 106 | static JAXBElement<br.com.swconsultoria.nfe.schema.envEventoCancSubst.TProcEvento> createTProcEvento(br.com.swconsultoria.nfe.schema.envEventoCancSubst.TProcEvento value) { |
||
| 107 | return new JAXBElement<>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envEventoCancSubst.TProcEvento.class, br.com.swconsultoria.nfe.schema.envEventoCancSubst.TProcEvento.class, value); |
||
| 108 | } |
||
| 109 | } |
||
| 110 | public interface envcce { |
||
| 111 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TProcEvento", scope = br.com.swconsultoria.nfe.schema.envcce.TProcEvento.class) |
||
| 112 | static JAXBElement<br.com.swconsultoria.nfe.schema.envcce.TProcEvento> createTProcEvento(br.com.swconsultoria.nfe.schema.envcce.TProcEvento value) { |
||
| 113 | return new JAXBElement<>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envcce.TProcEvento.class, br.com.swconsultoria.nfe.schema.envcce.TProcEvento.class, value); |
||
| 114 | } |
||
| 115 | } |
||
| 116 | |||
| 117 | public interface manifestacao { |
||
| 118 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TProcEvento", scope = br.com.swconsultoria.nfe.schema.envConfRecebto.TProcEvento.class) |
||
| 119 | static JAXBElement<br.com.swconsultoria.nfe.schema.envConfRecebto.TProcEvento> createTProcEvento(br.com.swconsultoria.nfe.schema.envConfRecebto.TProcEvento value) { |
||
| 120 | return new JAXBElement<br.com.swconsultoria.nfe.schema.envConfRecebto.TProcEvento>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envConfRecebto.TProcEvento.class, br.com.swconsultoria.nfe.schema.envConfRecebto.TProcEvento.class, value); |
||
| 121 | } |
||
| 122 | } |
||
| 123 | |||
| 124 | public interface retEnvEvento { |
||
| 125 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TRetEnvEvento", scope = br.com.swconsultoria.nfe.schema.envEpec.TRetEnvEvento.class) |
||
| 126 | static JAXBElement<br.com.swconsultoria.nfe.schema.envEpec.TRetEnvEvento> createTRetEnvEvento(br.com.swconsultoria.nfe.schema.envEpec.TRetEnvEvento value) { |
||
| 127 | return new JAXBElement<br.com.swconsultoria.nfe.schema.envEpec.TRetEnvEvento>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envEpec.TRetEnvEvento.class, br.com.swconsultoria.nfe.schema.envEpec.TRetEnvEvento.class, value); |
||
| 128 | } |
||
| 129 | |||
| 130 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TRetEnvEvento", scope = br.com.swconsultoria.nfe.schema.envEventoCancSubst.TRetEnvEvento.class) |
||
| 131 | static JAXBElement<br.com.swconsultoria.nfe.schema.envEventoCancSubst.TRetEnvEvento> createTRetEnvEvento(br.com.swconsultoria.nfe.schema.envEventoCancSubst.TRetEnvEvento value) { |
||
| 132 | return new JAXBElement<br.com.swconsultoria.nfe.schema.envEventoCancSubst.TRetEnvEvento>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envEventoCancSubst.TRetEnvEvento.class, br.com.swconsultoria.nfe.schema.envEventoCancSubst.TRetEnvEvento.class, value); |
||
| 133 | } |
||
| 134 | |||
| 135 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TRetEnvEvento", scope = br.com.swconsultoria.nfe.schema.envConfRecebto.TRetEnvEvento.class) |
||
| 136 | static JAXBElement<br.com.swconsultoria.nfe.schema.envConfRecebto.TRetEnvEvento> createTRetEnvEvento(br.com.swconsultoria.nfe.schema.envConfRecebto.TRetEnvEvento value) { |
||
| 137 | return new JAXBElement<br.com.swconsultoria.nfe.schema.envConfRecebto.TRetEnvEvento>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envConfRecebto.TRetEnvEvento.class, br.com.swconsultoria.nfe.schema.envConfRecebto.TRetEnvEvento.class, value); |
||
| 138 | } |
||
| 139 | |||
| 140 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TRetEnvEvento", scope = br.com.swconsultoria.nfe.schema.envcce.TRetEnvEvento.class) |
||
| 141 | static JAXBElement<br.com.swconsultoria.nfe.schema.envcce.TRetEnvEvento> createTRetEnvEvento(br.com.swconsultoria.nfe.schema.envcce.TRetEnvEvento value) { |
||
| 142 | return new JAXBElement<br.com.swconsultoria.nfe.schema.envcce.TRetEnvEvento>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envcce.TRetEnvEvento.class, br.com.swconsultoria.nfe.schema.envcce.TRetEnvEvento.class, value); |
||
| 143 | } |
||
| 144 | |||
| 145 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TRetEnvEvento", scope = br.com.swconsultoria.nfe.schema.envEventoCancNFe.TRetEnvEvento.class) |
||
| 146 | static JAXBElement<br.com.swconsultoria.nfe.schema.envEventoCancNFe.TRetEnvEvento> createTRetEnvEvento(br.com.swconsultoria.nfe.schema.envEventoCancNFe.TRetEnvEvento value) { |
||
| 147 | return new JAXBElement<br.com.swconsultoria.nfe.schema.envEventoCancNFe.TRetEnvEvento>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envEventoCancNFe.TRetEnvEvento.class, br.com.swconsultoria.nfe.schema.envEventoCancNFe.TRetEnvEvento.class, value); |
||
| 148 | } |
||
| 149 | |||
| 150 | @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TRetEnvEvento", scope = br.com.swconsultoria.nfe.schema.envEventoAtorInteressado.TRetEnvEvento.class) |
||
| 151 | static JAXBElement<br.com.swconsultoria.nfe.schema.envEventoAtorInteressado.TRetEnvEvento> createTRetEnvEvento(br.com.swconsultoria.nfe.schema.envEventoAtorInteressado.TRetEnvEvento value) { |
||
| 152 | return new JAXBElement<br.com.swconsultoria.nfe.schema.envEventoAtorInteressado.TRetEnvEvento>(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envEventoAtorInteressado.TRetEnvEvento.class, br.com.swconsultoria.nfe.schema.envEventoAtorInteressado.TRetEnvEvento.class, value); |
||
| 153 | } |
||
| 154 | } |
||
| 155 | |||
| 156 | } |