KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > xml > dsig > core > X509DataType


1 //
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
3
// See <a HREF="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4
// Any modifications to this file will be lost upon recompilation of the source schema.
5
// Generated on: 2006.02.24 at 05:55:09 PM PST
6
//
7

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

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

95     public List JavaDoc<Object JavaDoc> getX509IssuerSerialOrX509SKIOrX509SubjectName() {
96         if (x509IssuerSerialOrX509SKIOrX509SubjectName == null) {
97             x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList JavaDoc<Object JavaDoc>();
98         }
99         return this.x509IssuerSerialOrX509SKIOrX509SubjectName;
100     }
101
102 }
103
Popular Tags