KickJava   Java API By Example, From Geeks To Geeks.

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


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.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlID;
18 import javax.xml.bind.annotation.XmlType;
19 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
20 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
21 import com.sun.xml.dsig.core.ManifestType;
22 import com.sun.xml.dsig.core.ReferenceType;
23
24
25 /**
26  * <p>Java class for ManifestType complex type.
27  *
28  * <p>The following schema fragment specifies the expected content contained within this class.
29  *
30  * <pre>
31  * &lt;complexType name="ManifestType">
32  * &lt;complexContent>
33  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34  * &lt;sequence>
35  * &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/>
36  * &lt;/sequence>
37  * &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
38  * &lt;/restriction>
39  * &lt;/complexContent>
40  * &lt;/complexType>
41  * </pre>
42  *
43  *
44  */

45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "ManifestType", propOrder = {
47     "reference"
48 })
49 public class ManifestType {
50
51     @XmlElement(name = "Reference", namespace = "http://www.w3.org/2000/09/xmldsig#")
52     protected List JavaDoc<ReferenceType> reference;
53     @XmlAttribute(name = "Id")
54     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
55     @XmlID
56     protected String JavaDoc id;
57
58     /**
59      * Gets the value of the reference property.
60      *
61      * <p>
62      * This accessor method returns a reference to the live list,
63      * not a snapshot. Therefore any modification you make to the
64      * returned list will be present inside the JAXB object.
65      * This is why there is not a <CODE>set</CODE> method for the reference property.
66      *
67      * <p>
68      * For example, to add a new item, do as follows:
69      * <pre>
70      * getReference().add(newItem);
71      * </pre>
72      *
73      *
74      * <p>
75      * Objects of the following type(s) are allowed in the list
76      * {@link ReferenceType }
77      *
78      *
79      */

80     public List JavaDoc<ReferenceType> getReference() {
81         if (reference == null) {
82             reference = new ArrayList JavaDoc<ReferenceType>();
83         }
84         return this.reference;
85     }
86
87     /**
88      * Gets the value of the id property.
89      *
90      * @return
91      * possible object is
92      * {@link String }
93      *
94      */

95     public String JavaDoc getId() {
96         return id;
97     }
98
99     /**
100      * Sets the value of the id property.
101      *
102      * @param value
103      * allowed object is
104      * {@link String }
105      *
106      */

107     public void setId(String JavaDoc value) {
108         this.id = value;
109     }
110
111 }
112
Popular Tags