This project has retired. For details please refer to its Attic page.
CanonicalizationMethodType xref
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.XmlMixed;
28  import javax.xml.bind.annotation.XmlSchemaType;
29  import javax.xml.bind.annotation.XmlType;
30  
31  
32  /**
33   * <p>Java class for CanonicalizationMethodType complex type.
34   * 
35   * <p>The following schema fragment specifies the expected content contained within this class.
36   * 
37   * <pre>
38   * &lt;complexType name="CanonicalizationMethodType">
39   *   &lt;complexContent>
40   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41   *       &lt;sequence>
42   *         &lt;any/>
43   *       &lt;/sequence>
44   *       &lt;attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
45   *     &lt;/restriction>
46   *   &lt;/complexContent>
47   * &lt;/complexType>
48   * </pre>
49   * 
50   * 
51   */
52  @XmlAccessorType(XmlAccessType.FIELD)
53  @XmlType(name = "CanonicalizationMethodType", propOrder = {
54      "content"
55  })
56  public class CanonicalizationMethodType {
57  
58      @XmlMixed
59      @XmlAnyElement(lax = true)
60      protected List<Object> content;
61      @XmlAttribute(name = "Algorithm", required = true)
62      @XmlSchemaType(name = "anyURI")
63      protected String algorithm;
64  
65      /**
66       * Gets the value of the content property.
67       * 
68       * <p>
69       * This accessor method returns a reference to the live list,
70       * not a snapshot. Therefore any modification you make to the
71       * returned list will be present inside the JAXB object.
72       * This is why there is not a <CODE>set</CODE> method for the content property.
73       * 
74       * <p>
75       * For example, to add a new item, do as follows:
76       * <pre>
77       *    getContent().add(newItem);
78       * </pre>
79       * 
80       * 
81       * <p>
82       * Objects of the following type(s) are allowed in the list
83       * {@link String }
84       * {@link Object }
85       * 
86       * 
87       */
88      public List<Object> getContent() {
89          if (content == null) {
90              content = new ArrayList<Object>();
91          }
92          return this.content;
93      }
94  
95      /**
96       * Gets the value of the algorithm property.
97       * 
98       * @return
99       *     possible object is
100      *     {@link String }
101      *     
102      */
103     public String getAlgorithm() {
104         return algorithm;
105     }
106 
107     /**
108      * Sets the value of the algorithm property.
109      * 
110      * @param value
111      *     allowed object is
112      *     {@link String }
113      *     
114      */
115     public void setAlgorithm(String value) {
116         this.algorithm = value;
117     }
118 
119 }