This project has retired. For details please refer to its Attic page.
SignatureValueType 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 javax.xml.bind.annotation.XmlAccessType;
22  import javax.xml.bind.annotation.XmlAccessorType;
23  import javax.xml.bind.annotation.XmlAttribute;
24  import javax.xml.bind.annotation.XmlID;
25  import javax.xml.bind.annotation.XmlSchemaType;
26  import javax.xml.bind.annotation.XmlType;
27  import javax.xml.bind.annotation.XmlValue;
28  import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
29  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
30  
31  
32  /**
33   * <p>Java class for SignatureValueType complex type.
34   * 
35   * <p>The following schema fragment specifies the expected content contained within this class.
36   * 
37   * <pre>
38   * &lt;complexType name="SignatureValueType">
39   *   &lt;simpleContent>
40   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>base64Binary">
41   *       &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
42   *     &lt;/extension>
43   *   &lt;/simpleContent>
44   * &lt;/complexType>
45   * </pre>
46   * 
47   * 
48   */
49  @XmlAccessorType(XmlAccessType.FIELD)
50  @XmlType(name = "SignatureValueType", propOrder = {
51      "value"
52  })
53  public class SignatureValueType {
54  
55      @XmlValue
56      protected byte[] value;
57      @XmlAttribute(name = "Id")
58      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
59      @XmlID
60      @XmlSchemaType(name = "ID")
61      protected String id;
62  
63      /**
64       * Gets the value of the value property.
65       * 
66       * @return
67       *     possible object is
68       *     byte[]
69       */
70      public byte[] getValue() {
71          return value;
72      }
73  
74      /**
75       * Sets the value of the value property.
76       * 
77       * @param value
78       *     allowed object is
79       *     byte[]
80       */
81      public void setValue(byte[] value) {
82          this.value = ((byte[]) value);
83      }
84  
85      /**
86       * Gets the value of the id property.
87       * 
88       * @return
89       *     possible object is
90       *     {@link String }
91       *     
92       */
93      public String getId() {
94          return id;
95      }
96  
97      /**
98       * Sets the value of the id property.
99       * 
100      * @param value
101      *     allowed object is
102      *     {@link String }
103      *     
104      */
105     public void setId(String value) {
106         this.id = value;
107     }
108 
109 }