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 * <complexType name="link"> 15 * <complexContent> 16 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 17 * <sequence> 18 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 19 * <element name="url" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> 20 * </sequence> 21 * </restriction> 22 * </complexContent> 23 * </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 }