Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | // |
| 2 | // Este arquivo foi gerado pela Arquitetura JavaTM para Implementa��o de Refer�ncia (JAXB) de Bind XML, v2.2.8-b130911.1802 |
||
| 3 | // Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
||
| 4 | // Todas as modifica��es neste arquivo ser�o perdidas ap�s a recompila��o do esquema de origem. |
||
| 5 | // Gerado em: 2017.05.30 �s 08:31:54 PM GFT |
||
| 6 | // |
||
| 7 | |||
| 8 | |||
| 9 | package nfce.java; |
||
| 10 | |||
| 11 | import javax.xml.bind.annotation.XmlAccessType; |
||
| 12 | import javax.xml.bind.annotation.XmlAccessorType; |
||
| 13 | import javax.xml.bind.annotation.XmlAttribute; |
||
| 14 | import javax.xml.bind.annotation.XmlElement; |
||
| 15 | import javax.xml.bind.annotation.XmlID; |
||
| 16 | import javax.xml.bind.annotation.XmlSchemaType; |
||
| 17 | import javax.xml.bind.annotation.XmlType; |
||
| 18 | import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; |
||
| 19 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * <p>Classe Java de SignedInfoType complex type. |
||
| 24 | * |
||
| 25 | * <p>O seguinte fragmento do esquema especifica o conte�do esperado contido dentro desta classe. |
||
| 26 | * |
||
| 27 | * <pre> |
||
| 28 | * <complexType name="SignedInfoType"> |
||
| 29 | * <complexContent> |
||
| 30 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 31 | * <sequence> |
||
| 32 | * <element name="CanonicalizationMethod"> |
||
| 33 | * <complexType> |
||
| 34 | * <complexContent> |
||
| 35 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 36 | * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /> |
||
| 37 | * </restriction> |
||
| 38 | * </complexContent> |
||
| 39 | * </complexType> |
||
| 40 | * </element> |
||
| 41 | * <element name="SignatureMethod"> |
||
| 42 | * <complexType> |
||
| 43 | * <complexContent> |
||
| 44 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 45 | * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> |
||
| 46 | * </restriction> |
||
| 47 | * </complexContent> |
||
| 48 | * </complexType> |
||
| 49 | * </element> |
||
| 50 | * <element name="Reference" type="{http://www.w3.org/2000/09/xmldsig#}ReferenceType"/> |
||
| 51 | * </sequence> |
||
| 52 | * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> |
||
| 53 | * </restriction> |
||
| 54 | * </complexContent> |
||
| 55 | * </complexType> |
||
| 56 | * </pre> |
||
| 57 | * |
||
| 58 | * |
||
| 59 | */ |
||
| 60 | @XmlAccessorType(XmlAccessType.FIELD) |
||
| 61 | @XmlType(name = "SignedInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { |
||
| 62 | "canonicalizationMethod", |
||
| 63 | "signatureMethod", |
||
| 64 | "reference" |
||
| 65 | }) |
||
| 66 | public class SignedInfoType { |
||
| 67 | |||
| 68 | @XmlElement(name = "CanonicalizationMethod", required = true) |
||
| 69 | protected SignedInfoType.CanonicalizationMethod canonicalizationMethod; |
||
| 70 | @XmlElement(name = "SignatureMethod", required = true) |
||
| 71 | protected SignedInfoType.SignatureMethod signatureMethod; |
||
| 72 | @XmlElement(name = "Reference", required = true) |
||
| 73 | protected ReferenceType reference; |
||
| 74 | @XmlAttribute(name = "Id") |
||
| 75 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
||
| 76 | @XmlID |
||
| 77 | @XmlSchemaType(name = "ID") |
||
| 78 | protected String id; |
||
| 79 | |||
| 80 | /** |
||
| 81 | * Obt�m o valor da propriedade canonicalizationMethod. |
||
| 82 | * |
||
| 83 | * @return |
||
| 84 | * possible object is |
||
| 85 | * {@link SignedInfoType.CanonicalizationMethod } |
||
| 86 | * |
||
| 87 | */ |
||
| 88 | public SignedInfoType.CanonicalizationMethod getCanonicalizationMethod() { |
||
| 89 | return canonicalizationMethod; |
||
| 90 | } |
||
| 91 | |||
| 92 | /** |
||
| 93 | * Define o valor da propriedade canonicalizationMethod. |
||
| 94 | * |
||
| 95 | * @param value |
||
| 96 | * allowed object is |
||
| 97 | * {@link SignedInfoType.CanonicalizationMethod } |
||
| 98 | * |
||
| 99 | */ |
||
| 100 | public void setCanonicalizationMethod(SignedInfoType.CanonicalizationMethod value) { |
||
| 101 | this.canonicalizationMethod = value; |
||
| 102 | } |
||
| 103 | |||
| 104 | /** |
||
| 105 | * Obt�m o valor da propriedade signatureMethod. |
||
| 106 | * |
||
| 107 | * @return |
||
| 108 | * possible object is |
||
| 109 | * {@link SignedInfoType.SignatureMethod } |
||
| 110 | * |
||
| 111 | */ |
||
| 112 | public SignedInfoType.SignatureMethod getSignatureMethod() { |
||
| 113 | return signatureMethod; |
||
| 114 | } |
||
| 115 | |||
| 116 | /** |
||
| 117 | * Define o valor da propriedade signatureMethod. |
||
| 118 | * |
||
| 119 | * @param value |
||
| 120 | * allowed object is |
||
| 121 | * {@link SignedInfoType.SignatureMethod } |
||
| 122 | * |
||
| 123 | */ |
||
| 124 | public void setSignatureMethod(SignedInfoType.SignatureMethod value) { |
||
| 125 | this.signatureMethod = value; |
||
| 126 | } |
||
| 127 | |||
| 128 | /** |
||
| 129 | * Obt�m o valor da propriedade reference. |
||
| 130 | * |
||
| 131 | * @return |
||
| 132 | * possible object is |
||
| 133 | * {@link ReferenceType } |
||
| 134 | * |
||
| 135 | */ |
||
| 136 | public ReferenceType getReference() { |
||
| 137 | return reference; |
||
| 138 | } |
||
| 139 | |||
| 140 | /** |
||
| 141 | * Define o valor da propriedade reference. |
||
| 142 | * |
||
| 143 | * @param value |
||
| 144 | * allowed object is |
||
| 145 | * {@link ReferenceType } |
||
| 146 | * |
||
| 147 | */ |
||
| 148 | public void setReference(ReferenceType value) { |
||
| 149 | this.reference = value; |
||
| 150 | } |
||
| 151 | |||
| 152 | /** |
||
| 153 | * Obt�m o valor da propriedade id. |
||
| 154 | * |
||
| 155 | * @return |
||
| 156 | * possible object is |
||
| 157 | * {@link String } |
||
| 158 | * |
||
| 159 | */ |
||
| 160 | public String getId() { |
||
| 161 | return id; |
||
| 162 | } |
||
| 163 | |||
| 164 | /** |
||
| 165 | * Define o valor da propriedade id. |
||
| 166 | * |
||
| 167 | * @param value |
||
| 168 | * allowed object is |
||
| 169 | * {@link String } |
||
| 170 | * |
||
| 171 | */ |
||
| 172 | public void setId(String value) { |
||
| 173 | this.id = value; |
||
| 174 | } |
||
| 175 | |||
| 176 | |||
| 177 | /** |
||
| 178 | * <p>Classe Java de anonymous complex type. |
||
| 179 | * |
||
| 180 | * <p>O seguinte fragmento do esquema especifica o conte�do esperado contido dentro desta classe. |
||
| 181 | * |
||
| 182 | * <pre> |
||
| 183 | * <complexType> |
||
| 184 | * <complexContent> |
||
| 185 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 186 | * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /> |
||
| 187 | * </restriction> |
||
| 188 | * </complexContent> |
||
| 189 | * </complexType> |
||
| 190 | * </pre> |
||
| 191 | * |
||
| 192 | * |
||
| 193 | */ |
||
| 194 | @XmlAccessorType(XmlAccessType.FIELD) |
||
| 195 | @XmlType(name = "") |
||
| 196 | public static class CanonicalizationMethod { |
||
| 197 | |||
| 198 | @XmlAttribute(name = "Algorithm", required = true) |
||
| 199 | @XmlSchemaType(name = "anyURI") |
||
| 200 | protected String algorithm; |
||
| 201 | |||
| 202 | /** |
||
| 203 | * Obt�m o valor da propriedade algorithm. |
||
| 204 | * |
||
| 205 | * @return |
||
| 206 | * possible object is |
||
| 207 | * {@link String } |
||
| 208 | * |
||
| 209 | */ |
||
| 210 | public String getAlgorithm() { |
||
| 211 | if (algorithm == null) { |
||
| 212 | return "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; |
||
| 213 | } else { |
||
| 214 | return algorithm; |
||
| 215 | } |
||
| 216 | } |
||
| 217 | |||
| 218 | /** |
||
| 219 | * Define o valor da propriedade algorithm. |
||
| 220 | * |
||
| 221 | * @param value |
||
| 222 | * allowed object is |
||
| 223 | * {@link String } |
||
| 224 | * |
||
| 225 | */ |
||
| 226 | public void setAlgorithm(String value) { |
||
| 227 | this.algorithm = value; |
||
| 228 | } |
||
| 229 | |||
| 230 | } |
||
| 231 | |||
| 232 | |||
| 233 | /** |
||
| 234 | * <p>Classe Java de anonymous complex type. |
||
| 235 | * |
||
| 236 | * <p>O seguinte fragmento do esquema especifica o conte�do esperado contido dentro desta classe. |
||
| 237 | * |
||
| 238 | * <pre> |
||
| 239 | * <complexType> |
||
| 240 | * <complexContent> |
||
| 241 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 242 | * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> |
||
| 243 | * </restriction> |
||
| 244 | * </complexContent> |
||
| 245 | * </complexType> |
||
| 246 | * </pre> |
||
| 247 | * |
||
| 248 | * |
||
| 249 | */ |
||
| 250 | @XmlAccessorType(XmlAccessType.FIELD) |
||
| 251 | @XmlType(name = "") |
||
| 252 | public static class SignatureMethod { |
||
| 253 | |||
| 254 | @XmlAttribute(name = "Algorithm", required = true) |
||
| 255 | @XmlSchemaType(name = "anyURI") |
||
| 256 | protected String algorithm; |
||
| 257 | |||
| 258 | /** |
||
| 259 | * Obt�m o valor da propriedade algorithm. |
||
| 260 | * |
||
| 261 | * @return |
||
| 262 | * possible object is |
||
| 263 | * {@link String } |
||
| 264 | * |
||
| 265 | */ |
||
| 266 | public String getAlgorithm() { |
||
| 267 | if (algorithm == null) { |
||
| 268 | return "http://www.w3.org/2000/09/xmldsig#rsa-sha1"; |
||
| 269 | } else { |
||
| 270 | return algorithm; |
||
| 271 | } |
||
| 272 | } |
||
| 273 | |||
| 274 | /** |
||
| 275 | * Define o valor da propriedade algorithm. |
||
| 276 | * |
||
| 277 | * @param value |
||
| 278 | * allowed object is |
||
| 279 | * {@link String } |
||
| 280 | * |
||
| 281 | */ |
||
| 282 | public void setAlgorithm(String value) { |
||
| 283 | this.algorithm = value; |
||
| 284 | } |
||
| 285 | |||
| 286 | } |
||
| 287 | |||
| 288 | } |