View Javadoc
1   package org.kuali.ole.docstore.common.document.content.instance;
2   
3   import com.thoughtworks.xstream.annotations.XStreamAlias;
4   
5   import javax.xml.bind.annotation.*;
6   
7   
8   /**
9    * <p>Java class for link complex type.
10   * <p/>
11   * <p>The following schema fragment specifies the expected content contained within this class.
12   * <p/>
13   * <pre>
14   * &lt;complexType name="link">
15   *   &lt;complexContent>
16   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
17   *       &lt;sequence>
18   *         &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
19   *         &lt;element name="url" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
20   *       &lt;/sequence>
21   *     &lt;/restriction>
22   *   &lt;/complexContent>
23   * &lt;/complexType>
24   * </pre>
25   */
26  @XmlAccessorType(XmlAccessType.FIELD)
27  @XmlType(name = "link", propOrder = {
28          "text",
29          "url"
30  })
31  @XStreamAlias("link")
32  public class Link {
33  
34      //@XmlElement(name = "text")
35      protected String text;
36      //@XmlElement(name = "url")
37      @XmlSchemaType(name = "anyURI")
38      protected String url;
39  
40      /**
41       * Gets the value of the text property.
42       *
43       * @return possible object is
44       *         {@link String }
45       */
46      public String getText() {
47          return text;
48      }
49  
50      /**
51       * Sets the value of the text property.
52       *
53       * @param value allowed object is
54       *              {@link String }
55       */
56      public void setText(String value) {
57          this.text = value;
58      }
59  
60      /**
61       * Gets the value of the url property.
62       *
63       * @return possible object is
64       *         {@link String }
65       */
66      public String getUrl() {
67          return url;
68      }
69  
70      /**
71       * Sets the value of the url property.
72       *
73       * @param value allowed object is
74       *              {@link String }
75       */
76      public void setUrl(String value) {
77          this.url = value;
78      }
79  
80  }