1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 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: 2015.11.12 at 10:43:37 PM CET 6 // 7 8 9 package eu.fbk.dkm.pikes.resources.util.fnlu; 10 11 import java.util.ArrayList; 12 import java.util.List; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlAttribute; 16 import javax.xml.bind.annotation.XmlElement; 17 import javax.xml.bind.annotation.XmlType; 18 19 20 /** 21 * <p>Java class for headerType complex type. 22 * 23 * <p>The following schema fragment specifies the expected content contained within this class. 24 * 25 * <pre> 26 * <complexType name="headerType"> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <sequence> 30 * <element name="corpus" type="{http://framenet.icsi.berkeley.edu}corpDocType" maxOccurs="unbounded" minOccurs="0"/> 31 * <element name="frame" minOccurs="0"> 32 * <complexType> 33 * <complexContent> 34 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 35 * <sequence> 36 * <element name="FE" maxOccurs="unbounded"> 37 * <complexType> 38 * <complexContent> 39 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 40 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 41 * <attribute name="abbrev" type="{http://www.w3.org/2001/XMLSchema}string" /> 42 * <attribute name="type" use="required" type="{http://framenet.icsi.berkeley.edu}coreType" /> 43 * <attribute name="bgColor" use="required" type="{http://framenet.icsi.berkeley.edu}RGBColorType" /> 44 * <attribute name="fgColor" use="required" type="{http://framenet.icsi.berkeley.edu}RGBColorType" /> 45 * </restriction> 46 * </complexContent> 47 * </complexType> 48 * </element> 49 * </sequence> 50 * </restriction> 51 * </complexContent> 52 * </complexType> 53 * </element> 54 * </sequence> 55 * </restriction> 56 * </complexContent> 57 * </complexType> 58 * </pre> 59 * 60 * 61 */ 62 @XmlAccessorType(XmlAccessType.FIELD) 63 @XmlType(name = "headerType", propOrder = { 64 "corpus", 65 "frame" 66 }) 67 public class HeaderType { 68 69 protected List<CorpDocType> corpus; 70 protected HeaderType.Frame frame; 71 72 /** 73 * Gets the value of the corpus property. 74 * 75 * <p> 76 * This accessor method returns a reference to the live list, 77 * not a snapshot. Therefore any modification you make to the 78 * returned list will be present inside the JAXB object. 79 * This is why there is not a <CODE>set</CODE> method for the corpus property. 80 * 81 * <p> 82 * For example, to add a new item, do as follows: 83 * <pre> 84 * getCorpus().add(newItem); 85 * </pre> 86 * 87 * 88 * <p> 89 * Objects of the following type(s) are allowed in the list 90 * {@link CorpDocType } 91 * 92 * 93 */ 94 public List<CorpDocType> getCorpus() { 95 if (corpus == null) { 96 corpus = new ArrayList<CorpDocType>(); 97 } 98 return this.corpus; 99 } 100 101 /** 102 * Gets the value of the frame property. 103 * 104 * @return 105 * possible object is 106 * {@link HeaderType.Frame } 107 * 108 */ 109 public HeaderType.Frame getFrame() { 110 return frame; 111 } 112 113 /** 114 * Sets the value of the frame property. 115 * 116 * @param value 117 * allowed object is 118 * {@link HeaderType.Frame } 119 * 120 */ 121 public void setFrame(HeaderType.Frame value) { 122 this.frame = value; 123 } 124 125 126 /** 127 * <p>Java class for anonymous complex type. 128 * 129 * <p>The following schema fragment specifies the expected content contained within this class. 130 * 131 * <pre> 132 * <complexType> 133 * <complexContent> 134 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 135 * <sequence> 136 * <element name="FE" maxOccurs="unbounded"> 137 * <complexType> 138 * <complexContent> 139 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 140 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 141 * <attribute name="abbrev" type="{http://www.w3.org/2001/XMLSchema}string" /> 142 * <attribute name="type" use="required" type="{http://framenet.icsi.berkeley.edu}coreType" /> 143 * <attribute name="bgColor" use="required" type="{http://framenet.icsi.berkeley.edu}RGBColorType" /> 144 * <attribute name="fgColor" use="required" type="{http://framenet.icsi.berkeley.edu}RGBColorType" /> 145 * </restriction> 146 * </complexContent> 147 * </complexType> 148 * </element> 149 * </sequence> 150 * </restriction> 151 * </complexContent> 152 * </complexType> 153 * </pre> 154 * 155 * 156 */ 157 @XmlAccessorType(XmlAccessType.FIELD) 158 @XmlType(name = "", propOrder = { 159 "fe" 160 }) 161 public static class Frame { 162 163 @XmlElement(name = "FE", required = true) 164 protected List<HeaderType.Frame.FE> fe; 165 166 /** 167 * Gets the value of the fe property. 168 * 169 * <p> 170 * This accessor method returns a reference to the live list, 171 * not a snapshot. Therefore any modification you make to the 172 * returned list will be present inside the JAXB object. 173 * This is why there is not a <CODE>set</CODE> method for the fe property. 174 * 175 * <p> 176 * For example, to add a new item, do as follows: 177 * <pre> 178 * getFE().add(newItem); 179 * </pre> 180 * 181 * 182 * <p> 183 * Objects of the following type(s) are allowed in the list 184 * {@link HeaderType.Frame.FE } 185 * 186 * 187 */ 188 public List<HeaderType.Frame.FE> getFE() { 189 if (fe == null) { 190 fe = new ArrayList<HeaderType.Frame.FE>(); 191 } 192 return this.fe; 193 } 194 195 196 /** 197 * <p>Java class for anonymous complex type. 198 * 199 * <p>The following schema fragment specifies the expected content contained within this class. 200 * 201 * <pre> 202 * <complexType> 203 * <complexContent> 204 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 205 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 206 * <attribute name="abbrev" type="{http://www.w3.org/2001/XMLSchema}string" /> 207 * <attribute name="type" use="required" type="{http://framenet.icsi.berkeley.edu}coreType" /> 208 * <attribute name="bgColor" use="required" type="{http://framenet.icsi.berkeley.edu}RGBColorType" /> 209 * <attribute name="fgColor" use="required" type="{http://framenet.icsi.berkeley.edu}RGBColorType" /> 210 * </restriction> 211 * </complexContent> 212 * </complexType> 213 * </pre> 214 * 215 * 216 */ 217 @XmlAccessorType(XmlAccessType.FIELD) 218 @XmlType(name = "") 219 public static class FE { 220 221 @XmlAttribute(name = "name", required = true) 222 protected String name; 223 @XmlAttribute(name = "abbrev") 224 protected String abbrev; 225 @XmlAttribute(name = "type", required = true) 226 protected CoreType type; 227 @XmlAttribute(name = "bgColor", required = true) 228 protected String bgColor; 229 @XmlAttribute(name = "fgColor", required = true) 230 protected String fgColor; 231 232 /** 233 * Gets the value of the name property. 234 * 235 * @return 236 * possible object is 237 * {@link String } 238 * 239 */ 240 public String getName() { 241 return name; 242 } 243 244 /** 245 * Sets the value of the name property. 246 * 247 * @param value 248 * allowed object is 249 * {@link String } 250 * 251 */ 252 public void setName(String value) { 253 this.name = value; 254 } 255 256 /** 257 * Gets the value of the abbrev property. 258 * 259 * @return 260 * possible object is 261 * {@link String } 262 * 263 */ 264 public String getAbbrev() { 265 return abbrev; 266 } 267 268 /** 269 * Sets the value of the abbrev property. 270 * 271 * @param value 272 * allowed object is 273 * {@link String } 274 * 275 */ 276 public void setAbbrev(String value) { 277 this.abbrev = value; 278 } 279 280 /** 281 * Gets the value of the type property. 282 * 283 * @return 284 * possible object is 285 * {@link CoreType } 286 * 287 */ 288 public CoreType getType() { 289 return type; 290 } 291 292 /** 293 * Sets the value of the type property. 294 * 295 * @param value 296 * allowed object is 297 * {@link CoreType } 298 * 299 */ 300 public void setType(CoreType value) { 301 this.type = value; 302 } 303 304 /** 305 * Gets the value of the bgColor property. 306 * 307 * @return 308 * possible object is 309 * {@link String } 310 * 311 */ 312 public String getBgColor() { 313 return bgColor; 314 } 315 316 /** 317 * Sets the value of the bgColor property. 318 * 319 * @param value 320 * allowed object is 321 * {@link String } 322 * 323 */ 324 public void setBgColor(String value) { 325 this.bgColor = value; 326 } 327 328 /** 329 * Gets the value of the fgColor property. 330 * 331 * @return 332 * possible object is 333 * {@link String } 334 * 335 */ 336 public String getFgColor() { 337 return fgColor; 338 } 339 340 /** 341 * Sets the value of the fgColor property. 342 * 343 * @param value 344 * allowed object is 345 * {@link String } 346 * 347 */ 348 public void setFgColor(String value) { 349 this.fgColor = value; 350 } 351 352 } 353 354 } 355 356 }