001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common Development
008: * and Distribution License("CDDL") (collectively, the "License"). You
009: * may not use this file except in compliance with the License. You can obtain
010: * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
011: * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
012: * language governing permissions and limitations under the License.
013: *
014: * When distributing the software, include this License Header Notice in each
015: * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
016: * Sun designates this particular file as subject to the "Classpath" exception
017: * as provided by Sun in the GPL Version 2 section of the License file that
018: * accompanied this code. If applicable, add the following below the License
019: * Header, with the fields enclosed by brackets [] replaced by your own
020: * identifying information: "Portions Copyrighted [year]
021: * [name of copyright owner]"
022: *
023: * Contributor(s):
024: *
025: * If you wish your version of this file to be governed by only the CDDL or
026: * only the GPL Version 2, indicate your decision by adding "[Contributor]
027: * elects to include this software in this distribution under the [CDDL or GPL
028: * Version 2] license." If you don't indicate a single choice of license, a
029: * recipient has the option to distribute your version of this file under
030: * either the CDDL, the GPL Version 2 or to extend the choice of license to
031: * its licensees as provided above. However, if you add GPL Version 2 code
032: * and therefore, elected the GPL Version 2 license, then the option applies
033: * only if the new code is made subject to such option by the copyright
034: * holder.
035: */
036: //
037: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-3355
038: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
039: // Any modifications to this file will be lost upon recompilation of the source schema.
040: // Generated on: 2006.06.26 at 11:03:26 AM EDT
041: //
042:
043: package com.sun.xml.ws.mex.client.schema;
044:
045: import java.util.HashMap;
046: import java.util.Map;
047: import javax.xml.bind.annotation.XmlAccessType;
048: import javax.xml.bind.annotation.XmlAccessorType;
049: import javax.xml.bind.annotation.XmlAnyAttribute;
050: import javax.xml.bind.annotation.XmlAnyElement;
051: import javax.xml.bind.annotation.XmlAttribute;
052: import javax.xml.bind.annotation.XmlElement;
053: import javax.xml.bind.annotation.XmlRootElement;
054: import javax.xml.bind.annotation.XmlType;
055: import javax.xml.namespace.QName;
056: import org.w3c.dom.Element;
057:
058: /**
059: * <p>Java class for MetadataSection element declaration.
060: *
061: * <p>The following schema fragment specifies the expected content contained within this class.
062: *
063: * <pre>
064: * <element name="MetadataSection">
065: * <complexType>
066: * <complexContent>
067: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
068: * <choice>
069: * <any/>
070: * <element ref="{http://schemas.xmlsoap.org/ws/2004/09/mex}MetadataReference"/>
071: * <element ref="{http://schemas.xmlsoap.org/ws/2004/09/mex}Location"/>
072: * </choice>
073: * <attribute name="Dialect" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
074: * <attribute name="Identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
075: * </restriction>
076: * </complexContent>
077: * </complexType>
078: * </element>
079: * </pre>
080: *
081: *
082: */
083: @XmlAccessorType(XmlAccessType.FIELD)
084: @XmlType(name="",propOrder={"any","metadataReference","location"})
085: @XmlRootElement(name="MetadataSection")
086: public class MetadataSection {
087:
088: @XmlAnyElement(lax=true)
089: protected Object any;
090: @XmlElement(name="MetadataReference",namespace="http://schemas.xmlsoap.org/ws/2004/09/mex")
091: protected MetadataReference metadataReference;
092: @XmlElement(name="Location",namespace="http://schemas.xmlsoap.org/ws/2004/09/mex")
093: protected String location;
094: @XmlAttribute(name="Dialect",required=true)
095: protected String dialect;
096: @XmlAttribute(name="Identifier")
097: protected String identifier;
098: @XmlAnyAttribute
099: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
100:
101: /**
102: * Gets the value of the any property.
103: *
104: * @return
105: * possible object is
106: * {@link Element }
107: * {@link Object }
108: *
109: */
110: public Object getAny() {
111: return any;
112: }
113:
114: /**
115: * Sets the value of the any property.
116: *
117: * @param value
118: * allowed object is
119: * {@link Element }
120: * {@link Object }
121: *
122: */
123: public void setAny(Object value) {
124: this .any = value;
125: }
126:
127: /**
128: * Gets the value of the metadataReference property.
129: *
130: * @return
131: * possible object is
132: * {@link MetadataReference }
133: *
134: */
135: public MetadataReference getMetadataReference() {
136: return metadataReference;
137: }
138:
139: /**
140: * Sets the value of the metadataReference property.
141: *
142: * @param value
143: * allowed object is
144: * {@link MetadataReference }
145: *
146: */
147: public void setMetadataReference(MetadataReference value) {
148: this .metadataReference = value;
149: }
150:
151: /**
152: * Gets the value of the location property.
153: *
154: * @return
155: * possible object is
156: * {@link String }
157: *
158: */
159: public String getLocation() {
160: return location;
161: }
162:
163: /**
164: * Sets the value of the location property.
165: *
166: * @param value
167: * allowed object is
168: * {@link String }
169: *
170: */
171: public void setLocation(String value) {
172: this .location = value;
173: }
174:
175: /**
176: * Gets the value of the dialect property.
177: *
178: * @return
179: * possible object is
180: * {@link String }
181: *
182: */
183: public String getDialect() {
184: return dialect;
185: }
186:
187: /**
188: * Sets the value of the dialect property.
189: *
190: * @param value
191: * allowed object is
192: * {@link String }
193: *
194: */
195: public void setDialect(String value) {
196: this .dialect = value;
197: }
198:
199: /**
200: * Gets the value of the identifier property.
201: *
202: * @return
203: * possible object is
204: * {@link String }
205: *
206: */
207: public String getIdentifier() {
208: return identifier;
209: }
210:
211: /**
212: * Sets the value of the identifier property.
213: *
214: * @param value
215: * allowed object is
216: * {@link String }
217: *
218: */
219: public void setIdentifier(String value) {
220: this .identifier = value;
221: }
222:
223: /**
224: * Gets a map that contains attributes that aren't bound to any typed property on this class.
225: *
226: * <p>
227: * the map is keyed by the name of the attribute and
228: * the value is the string value of the attribute.
229: *
230: * the map returned by this method is live, and you can add new attribute
231: * by updating the map directly. Because of this design, there's no setter.
232: *
233: *
234: * @return
235: * always non-null
236: */
237: public Map<QName, String> getOtherAttributes() {
238: return otherAttributes;
239: }
240:
241: }
|