KickJava   Java API By Example, From Geeks To Geeks.

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


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.XmlMixed;
20 import javax.xml.bind.annotation.XmlType;
21 import com.sun.xml.dsig.core.DSAKeyValueType;
22 import com.sun.xml.dsig.core.KeyValueType;
23 import com.sun.xml.dsig.core.RSAKeyValueType;
24 import org.w3c.dom.Element JavaDoc;
25
26
27 /**
28  * <p>Java class for KeyValueType complex type.
29  *
30  * <p>The following schema fragment specifies the expected content contained within this class.
31  *
32  * <pre>
33  * &lt;complexType name="KeyValueType">
34  * &lt;complexContent>
35  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36  * &lt;choice>
37  * &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}DSAKeyValue"/>
38  * &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}RSAKeyValue"/>
39  * &lt;any/>
40  * &lt;/choice>
41  * &lt;/restriction>
42  * &lt;/complexContent>
43  * &lt;/complexType>
44  * </pre>
45  *
46  *
47  */

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

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