View Javadoc

1   /**
2    * JSpiff
3    * -----------------
4    * Copyright (c) 2005-2006 Emil A. Lefkof III
5    *
6    * I always give it my best shot to make a program useful and solid, but
7    * remeber that there is absolutely no warranty for using this program as
8    * stated in the following terms:
9    *
10   * Licensed under the Apache License, Version 2.0 (the "License");
11   * you may not use this file except in compliance with the License.
12   * You may obtain a copy of the License at
13   *
14   *     http://www.apache.org/licenses/LICENSE-2.0
15   *
16   * Unless required by applicable law or agreed to in writing, software
17   * distributed under the License is distributed on an "AS IS" BASIS,
18   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   * See the License for the specific language governing permissions and
20   * limitations under the License.
21   */
22  
23  
24  package com.melloware.jspiff.jaxb;
25  
26  import javax.xml.bind.annotation.XmlAccessType;
27  import javax.xml.bind.annotation.XmlAccessorType;
28  import javax.xml.bind.annotation.XmlAttribute;
29  import javax.xml.bind.annotation.XmlType;
30  import javax.xml.bind.annotation.XmlValue;
31  
32  
33  /**
34   * <p>Java class for LinkType complex type.
35   * 
36   * <p>The following schema fragment specifies the expected content contained within this class.
37   * 
38   * <pre>
39   * &lt;complexType name="LinkType">
40   *   &lt;simpleContent>
41   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>anyURI">
42   *       &lt;attribute name="rel" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
43   *     &lt;/extension>
44   *   &lt;/simpleContent>
45   * &lt;/complexType>
46   * </pre>
47   * 
48   * 
49   */
50  @XmlAccessorType(XmlAccessType.FIELD)
51  @XmlType(name = "LinkType", propOrder = {
52      "value"
53  })
54  public class LinkType {
55  
56      @XmlValue
57      protected String value;
58      @XmlAttribute(required = true)
59      protected String rel;
60  
61      /**
62       * Gets the value of the value property.
63       * 
64       * @return
65       *     possible object is
66       *     {@link String }
67       *     
68       */
69      public String getValue() {
70          return value;
71      }
72  
73      /**
74       * Sets the value of the value property.
75       * 
76       * @param value
77       *     allowed object is
78       *     {@link String }
79       *     
80       */
81      public void setValue(String value) {
82          this.value = value;
83      }
84  
85      /**
86       * Gets the value of the rel property.
87       * 
88       * @return
89       *     possible object is
90       *     {@link String }
91       *     
92       */
93      public String getRel() {
94          return rel;
95      }
96  
97      /**
98       * Sets the value of the rel property.
99       * 
100      * @param value
101      *     allowed object is
102      *     {@link String }
103      *     
104      */
105     public void setRel(String value) {
106         this.rel = value;
107     }
108 
109 }