1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2013.05.27 at 06:54:03 PM EDT 6 // 7 8 9 package org.apache.juddi.v3.client.mapping.wadl; 10 11 import java.util.ArrayList; 12 import java.util.HashMap; 13 import java.util.List; 14 import java.util.Map; 15 import javax.xml.bind.annotation.XmlAccessType; 16 import javax.xml.bind.annotation.XmlAccessorType; 17 import javax.xml.bind.annotation.XmlAnyAttribute; 18 import javax.xml.bind.annotation.XmlAnyElement; 19 import javax.xml.bind.annotation.XmlAttribute; 20 import javax.xml.bind.annotation.XmlMixed; 21 import javax.xml.bind.annotation.XmlRootElement; 22 import javax.xml.bind.annotation.XmlType; 23 import javax.xml.namespace.QName; 24 import org.w3c.dom.Element; 25 26 27 /** 28 * <p>Java class for anonymous complex type. 29 * 30 * <p>The following schema fragment specifies the expected content contained within this class. 31 * 32 * <pre> 33 * <complexType> 34 * <complexContent> 35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 36 * <sequence> 37 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 38 * </sequence> 39 * <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" /> 40 * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> 41 * <anyAttribute processContents='lax' namespace='##other'/> 42 * </restriction> 43 * </complexContent> 44 * </complexType> 45 * </pre> 46 * 47 * 48 */ 49 @XmlAccessorType(XmlAccessType.FIELD) 50 @XmlType(name = "", propOrder = { 51 "content" 52 }) 53 @XmlRootElement(name = "doc") 54 public class Doc { 55 56 @XmlMixed 57 @XmlAnyElement(lax = true) 58 protected List<Object> content; 59 @XmlAttribute 60 protected String title; 61 @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") 62 protected String lang; 63 @XmlAnyAttribute 64 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 65 66 /** 67 * Gets the value of the content property. 68 * 69 * <p> 70 * This accessor method returns a reference to the live list, 71 * not a snapshot. Therefore any modification you make to the 72 * returned list will be present inside the JAXB object. 73 * This is why there is not a <CODE>set</CODE> method for the content property. 74 * 75 * <p> 76 * For example, to add a new item, do as follows: 77 * <pre> 78 * getContent().add(newItem); 79 * </pre> 80 * 81 * 82 * <p> 83 * Objects of the following type(s) are allowed in the list 84 * {@link String } 85 * {@link Element } 86 * {@link Object } 87 * 88 * 89 */ 90 public List<Object> getContent() { 91 if (content == null) { 92 content = new ArrayList<Object>(); 93 } 94 return this.content; 95 } 96 97 /** 98 * Gets the value of the title property. 99 * 100 * @return 101 * possible object is 102 * {@link String } 103 * 104 */ 105 public String getTitle() { 106 return title; 107 } 108 109 /** 110 * Sets the value of the title property. 111 * 112 * @param value 113 * allowed object is 114 * {@link String } 115 * 116 */ 117 public void setTitle(String value) { 118 this.title = value; 119 } 120 121 /** 122 * Gets the value of the lang property. 123 * 124 * @return 125 * possible object is 126 * {@link String } 127 * 128 */ 129 public String getLang() { 130 return lang; 131 } 132 133 /** 134 * Sets the value of the lang property. 135 * 136 * @param value 137 * allowed object is 138 * {@link String } 139 * 140 */ 141 public void setLang(String value) { 142 this.lang = value; 143 } 144 145 /** 146 * Gets a map that contains attributes that aren't bound to any typed property on this class. 147 * 148 * <p> 149 * the map is keyed by the name of the attribute and 150 * the value is the string value of the attribute. 151 * 152 * the map returned by this method is live, and you can add new attribute 153 * by updating the map directly. Because of this design, there's no setter. 154 * 155 * 156 * @return 157 * always non-null 158 */ 159 public Map<QName, String> getOtherAttributes() { 160 return otherAttributes; 161 } 162 163 }