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  package com.melloware.jspiff.jaxb;
24  
25  import javax.xml.bind.annotation.XmlAccessType;
26  import javax.xml.bind.annotation.XmlAccessorType;
27  import javax.xml.bind.annotation.XmlAttribute;
28  import javax.xml.bind.annotation.XmlType;
29  import javax.xml.bind.annotation.XmlValue;
30  
31  
32  /**
33   * <p>Java class for MetaType complex type.
34   * 
35   * <p>The following schema fragment specifies the expected content contained within this class.
36   * 
37   * <pre>
38   * &lt;complexType name="MetaType">
39   *   &lt;simpleContent>
40   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
41   *       &lt;attribute name="rel" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
42   *     &lt;/extension>
43   *   &lt;/simpleContent>
44   * &lt;/complexType>
45   * </pre>
46   * 
47   * 
48   */
49  @XmlAccessorType(XmlAccessType.FIELD)
50  @XmlType(name = "MetaType", propOrder = {
51      "value"
52  })
53  public class MetaType {
54  
55      @XmlValue
56      protected String value;
57      @XmlAttribute(required = true)
58      protected String rel;
59  
60      /**
61       * Gets the value of the value property.
62       * 
63       * @return
64       *     possible object is
65       *     {@link String }
66       *     
67       */
68      public String getValue() {
69          return value;
70      }
71  
72      /**
73       * Sets the value of the value property.
74       * 
75       * @param value
76       *     allowed object is
77       *     {@link String }
78       *     
79       */
80      public void setValue(String value) {
81          this.value = value;
82      }
83  
84      /**
85       * Gets the value of the rel property.
86       * 
87       * @return
88       *     possible object is
89       *     {@link String }
90       *     
91       */
92      public String getRel() {
93          return rel;
94      }
95  
96      /**
97       * Sets the value of the rel property.
98       * 
99       * @param value
100      *     allowed object is
101      *     {@link String }
102      *     
103      */
104     public void setRel(String value) {
105         this.rel = value;
106     }
107 
108 }