View Javadoc
1   /*
2    * Copyright 2001-2008 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  
18  
19  package org.w3._2000._09.xmldsig_;
20  
21  import java.util.ArrayList;
22  import java.util.List;
23  import javax.xml.bind.annotation.XmlAccessType;
24  import javax.xml.bind.annotation.XmlAccessorType;
25  import javax.xml.bind.annotation.XmlAnyElement;
26  import javax.xml.bind.annotation.XmlAttribute;
27  import javax.xml.bind.annotation.XmlID;
28  import javax.xml.bind.annotation.XmlMixed;
29  import javax.xml.bind.annotation.XmlSchemaType;
30  import javax.xml.bind.annotation.XmlType;
31  import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
32  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
33  import org.w3c.dom.Element;
34  
35  
36  /**
37   * <p>Java class for SignaturePropertyType complex type.
38   * 
39   * <p>The following schema fragment specifies the expected content contained within this class.
40   * 
41   * <pre>
42   * &lt;complexType name="SignaturePropertyType">
43   *   &lt;complexContent>
44   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
45   *       &lt;choice maxOccurs="unbounded">
46   *         &lt;any/>
47   *       &lt;/choice>
48   *       &lt;attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
49   *       &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
50   *     &lt;/restriction>
51   *   &lt;/complexContent>
52   * &lt;/complexType>
53   * </pre>
54   * 
55   * 
56   */
57  @XmlAccessorType(XmlAccessType.FIELD)
58  @XmlType(name = "SignaturePropertyType", propOrder = {
59      "content"
60  })
61  public class SignaturePropertyType {
62  
63      @XmlMixed
64      @XmlAnyElement(lax = true)
65      protected List<Object> content;
66      @XmlAttribute(name = "Target", required = true)
67      @XmlSchemaType(name = "anyURI")
68      protected String target;
69      @XmlAttribute(name = "Id")
70      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
71      @XmlID
72      @XmlSchemaType(name = "ID")
73      protected String id;
74  
75      /**
76       * Gets the value of the content property.
77       * 
78       * <p>
79       * This accessor method returns a reference to the live list,
80       * not a snapshot. Therefore any modification you make to the
81       * returned list will be present inside the JAXB object.
82       * This is why there is not a <CODE>set</CODE> method for the content property.
83       * 
84       * <p>
85       * For example, to add a new item, do as follows:
86       * <pre>
87       *    getContent().add(newItem);
88       * </pre>
89       * 
90       * 
91       * <p>
92       * Objects of the following type(s) are allowed in the list
93       * {@link String }
94       * {@link Object }
95       * {@link Element }
96       * 
97       * 
98       */
99      public List<Object> getContent() {
100         if (content == null) {
101             content = new ArrayList<Object>();
102         }
103         return this.content;
104     }
105 
106     /**
107      * Gets the value of the target property.
108      * 
109      * @return
110      *     possible object is
111      *     {@link String }
112      *     
113      */
114     public String getTarget() {
115         return target;
116     }
117 
118     /**
119      * Sets the value of the target property.
120      * 
121      * @param value
122      *     allowed object is
123      *     {@link String }
124      *     
125      */
126     public void setTarget(String value) {
127         this.target = value;
128     }
129 
130     /**
131      * Gets the value of the id property.
132      * 
133      * @return
134      *     possible object is
135      *     {@link String }
136      *     
137      */
138     public String getId() {
139         return id;
140     }
141 
142     /**
143      * Sets the value of the id property.
144      * 
145      * @param value
146      *     allowed object is
147      *     {@link String }
148      *     
149      */
150     public void setId(String value) {
151         this.id = value;
152     }
153 
154 }