1 /** 2 * This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 * 6 * If it is not possible or desirable to put the notice in a particular 7 * file, then You may include the notice in a location (such as a LICENSE 8 * file in a relevant directory) where a recipient would be likely to look 9 * for such a notice. 10 11 * 12 */ 13 14 /* --------------------------------------------------------------------------- 15 * U.S. Government, Department of the Army 16 * Army Materiel Command 17 * Research Development Engineering Command 18 * Communications Electronics Research Development and Engineering Center 19 * --------------------------------------------------------------------------- 20 */ 21 22 package org.oasis_open.docs.wsrf.rp_2; 23 24 import java.util.ArrayList; 25 import java.util.List; 26 import javax.xml.bind.annotation.XmlAccessType; 27 import javax.xml.bind.annotation.XmlAccessorType; 28 import javax.xml.bind.annotation.XmlAnyElement; 29 import javax.xml.bind.annotation.XmlMixed; 30 import javax.xml.bind.annotation.XmlRootElement; 31 import javax.xml.bind.annotation.XmlType; 32 import org.w3c.dom.Element; 33 34 35 /** 36 * <p>Java class for anonymous complex type. 37 * 38 * <p>The following schema fragment specifies the expected content contained within this class. 39 * 40 * <pre> 41 * <complexType> 42 * <complexContent> 43 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 44 * <sequence> 45 * <any/> 46 * </sequence> 47 * </restriction> 48 * </complexContent> 49 * </complexType> 50 * </pre> 51 * 52 * 53 */ 54 @XmlAccessorType(XmlAccessType.FIELD) 55 @XmlType(name = "", propOrder = { 56 "content" 57 }) 58 @XmlRootElement(name = "QueryResourcePropertiesResponse") 59 public class QueryResourcePropertiesResponse { 60 61 @XmlMixed 62 @XmlAnyElement(lax = true) 63 protected List<Object> content; 64 65 /** 66 * Gets the value of the content property. 67 * 68 * <p> 69 * This accessor method returns a reference to the live list, 70 * not a snapshot. Therefore any modification you make to the 71 * returned list will be present inside the JAXB object. 72 * This is why there is not a <CODE>set</CODE> method for the content property. 73 * 74 * <p> 75 * For example, to add a new item, do as follows: 76 * <pre> 77 * getContent().add(newItem); 78 * </pre> 79 * 80 * 81 * <p> 82 * Objects of the following type(s) are allowed in the list 83 * {@link Element } 84 * {@link String } 85 * {@link Object } 86 * 87 * 88 */ 89 public List<Object> getContent() { 90 if (content == null) { 91 content = new ArrayList<Object>(); 92 } 93 return this.content; 94 } 95 96 }