KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3 > _2000 > _09 > xmldsig_ > X509DataType


1
2 package org.w3._2000._09.xmldsig_;
3
4 import java.util.ArrayList JavaDoc;
5 import java.util.List JavaDoc;
6 import javax.xml.bind.JAXBElement;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlAnyElement;
10 import javax.xml.bind.annotation.XmlElementRef;
11 import javax.xml.bind.annotation.XmlElementRefs;
12 import javax.xml.bind.annotation.XmlRootElement;
13 import javax.xml.bind.annotation.XmlType;
14 import org.w3c.dom.Element JavaDoc;
15
16
17 /**
18  * <p>Java class for X509DataType complex type.
19  *
20  * <p>The following schema fragment specifies the expected content contained within this class.
21  *
22  * <pre>
23  * &lt;complexType name="X509DataType">
24  * &lt;complexContent>
25  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26  * &lt;sequence maxOccurs="unbounded">
27  * &lt;choice>
28  * &lt;element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/>
29  * &lt;element name="X509SKI" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
30  * &lt;element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/>
31  * &lt;element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
32  * &lt;element name="X509CRL" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
33  * &lt;any/>
34  * &lt;/choice>
35  * &lt;/sequence>
36  * &lt;/restriction>
37  * &lt;/complexContent>
38  * &lt;/complexType>
39  * </pre>
40  *
41  *
42  */

43 @XmlRootElement
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "X509Data", propOrder = {
46     "x509IssuerSerialOrX509SKIOrX509SubjectName"
47 })
48 public class X509DataType {
49
50     @XmlElementRefs({
51         @XmlElementRef(name = "X509SKI", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class),
52         @XmlElementRef(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class),
53         @XmlElementRef(name = "X509SubjectName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class),
54         @XmlElementRef(name = "X509IssuerSerial", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class),
55         @XmlElementRef(name = "X509CRL", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class)
56     })
57     @XmlAnyElement(lax = true)
58     protected List JavaDoc<Object JavaDoc> x509IssuerSerialOrX509SKIOrX509SubjectName;
59
60     /**
61      * Gets the value of the x509IssuerSerialOrX509SKIOrX509SubjectName property.
62      *
63      * <p>
64      * This accessor method returns a reference to the live list,
65      * not a snapshot. Therefore any modification you make to the
66      * returned list will be present inside the JAXB object.
67      * This is why there is not a <CODE>set</CODE> method for the x509IssuerSerialOrX509SKIOrX509SubjectName property.
68      *
69      * <p>
70      * For example, to add a new item, do as follows:
71      * <pre>
72      * getX509IssuerSerialOrX509SKIOrX509SubjectName().add(newItem);
73      * </pre>
74      *
75      *
76      * <p>
77      * Objects of the following type(s) are allowed in the list
78      * {@link JAXBElement }{@code <}{@link byte[]}{@code >}
79      * {@link Element }
80      * {@link JAXBElement }{@code <}{@link byte[]}{@code >}
81      * {@link JAXBElement }{@code <}{@link String }{@code >}
82      * {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >}
83      * {@link Object }
84      * {@link JAXBElement }{@code <}{@link byte[]}{@code >}
85      *
86      *
87      */

88     public List JavaDoc<Object JavaDoc> getX509IssuerSerialOrX509SKIOrX509SubjectName() {
89         if (x509IssuerSerialOrX509SKIOrX509SubjectName == null) {
90             x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList JavaDoc<Object JavaDoc>();
91         }
92         return this.x509IssuerSerialOrX509SKIOrX509SubjectName;
93     }
94
95 }
96
Popular Tags