You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2013/07/12 00:49:06 UTC
svn commit: r1502388 [1/2] - in /juddi/trunk:
juddi-client/src/main/java/org/apache/juddi/v3/client/
juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/
juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/
juddi-client/src/main/ja...
Author: alexoree
Date: Thu Jul 11 22:49:05 2013
New Revision: 1502388
URL: http://svn.apache.org/r1502388
Log:
JUDDI-600 Adding WADL2UDDI, adding REST tmodels to standard install data
JUDDI-599 Adding implementations of Inquiry getXXX APIs in REST style
JUDDI-607 Adding updates for the administrative user interface
JUDDI-245 Adding additional javadoc for Juddi-Api ws
Added:
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WADL2UDDI.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Application.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Doc.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Grammars.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/HTTPMethods.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Include.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Link.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Method.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/ObjectFactory.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Option.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Param.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/ParamStyle.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Representation.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Request.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Resource.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/ResourceType.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Resources.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Response.java
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/package-info.java
juddi/trunk/juddi-examples/uddi-samples/src/uddi/examples/WadlImport.java
- copied, changed from r1492918, juddi/trunk/juddi-examples/uddi-samples/src/uddi/examples/WsdlImport.java
Modified:
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/UDDIConstants.java
juddi/trunk/juddi-core/pom.xml
juddi/trunk/juddi-core/src/main/resources/juddi_install_data/UDDI_tModels.xml
juddi/trunk/juddi-examples/uddi-samples/nbproject/project.properties
juddi/trunk/juddi-rest-cxf/src/main/java/org/apache/juddi/api/impl/rest/UDDIInquiryJAXRS.java
juddi/trunk/juddiv3-war/src/main/webapp/admin/admin.jsp
juddi/trunk/juddiv3-war/src/main/webapp/admin/header-top.jsp
juddi/trunk/juddiv3-war/src/main/webapp/admin/home.jsp
juddi/trunk/uddi-ws/src/main/java/org/apache/juddi/v3_service/JUDDIApiPortType.java
Modified: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/UDDIConstants.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/UDDIConstants.java?rev=1502388&r1=1502387&r2=1502388&view=diff
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/UDDIConstants.java (original)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/UDDIConstants.java Thu Jul 11 22:49:05 2013
@@ -14,6 +14,9 @@ import org.uddi.api_v3.TModel;
*/
public interface UDDIConstants {
+ public static final int MAX_xml_lang_length = 26;
+ public static final int MAX_description_length = 255;
+ public static final int MAX_discoveryURL_length = 4096;
/**
* andAllKeys: this changes the behavior for identifierBag to AND keys
* rather than OR them. This is already the default for categoryBag and
@@ -637,6 +640,4 @@ public interface UDDIConstants {
* A tModel that represents the SOAP 1.2 protocol
*/
public static String PROTOCOL_SOAP12 = "uddi:uddi.org:protocol:soap12";
-
-
}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WADL2UDDI.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WADL2UDDI.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WADL2UDDI.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WADL2UDDI.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,362 @@
+/*
+ * Copyright 2013 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.juddi.v3.client.mapping;
+
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Properties;
+import java.util.Set;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+import javax.xml.bind.JAXB;
+import javax.xml.namespace.QName;
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.juddi.api_v3.AccessPointType;
+import org.apache.juddi.v3.client.UDDIConstants;
+import org.apache.juddi.v3.client.config.Property;
+import org.apache.juddi.v3.client.config.UDDIClerk;
+import org.apache.juddi.v3.client.config.UDDIKeyConvention;
+import org.apache.juddi.v3.client.mappings.wadl.Application;
+import org.apache.juddi.v3.client.mappings.wadl.Doc;
+import org.apache.juddi.v3.client.mappings.wadl.Resource;
+import org.apache.juddi.v3.client.mappings.wadl.Resources;
+import org.uddi.api_v3.AccessPoint;
+import org.uddi.api_v3.BindingTemplate;
+import org.uddi.api_v3.BindingTemplates;
+import org.uddi.api_v3.BusinessService;
+import org.uddi.api_v3.BusinessServices;
+import org.uddi.api_v3.CategoryBag;
+import org.uddi.api_v3.Description;
+import org.uddi.api_v3.InstanceDetails;
+import org.uddi.api_v3.KeyedReference;
+import org.uddi.api_v3.Name;
+import org.uddi.api_v3.OverviewDoc;
+import org.uddi.api_v3.OverviewURL;
+import org.uddi.api_v3.TModel;
+import org.uddi.api_v3.TModelInstanceDetails;
+import org.uddi.api_v3.TModelInstanceInfo;
+import org.w3c.dom.Element;
+
+/**
+ * This class is incomplete
+ *
+ * @author Alex O'Ree
+ */
+public class WADL2UDDI {
+
+ private static Log log = LogFactory.getLog(WADL2UDDI.class);
+ private String keyDomainURI;
+ private String businessKey;
+ private String lang;
+ private UDDIClerk clerk = null;
+ private Properties properties = null;
+ private URLLocalizer urlLocalizer;
+
+ public WADL2UDDI(UDDIClerk clerk, URLLocalizer urlLocalizer, Properties properties) throws ConfigurationException {
+ super();
+ this.clerk = clerk;
+ this.urlLocalizer = urlLocalizer;
+ this.properties = properties;
+
+ if (clerk != null) {
+ if (!properties.containsKey("keyDomain")) {
+ throw new ConfigurationException("Property keyDomain is a required property when using WADL2UDDI.");
+ }
+ if (!properties.containsKey("businessKey") && !properties.containsKey("businessName")) {
+ throw new ConfigurationException("Either property businessKey, or businessName, is a required property when using WADL2UDDI.");
+ }
+ if (!properties.containsKey("nodeName")) {
+ if (properties.containsKey("serverName") && properties.containsKey("serverPort")) {
+ String nodeName = properties.getProperty("serverName") + "_" + properties.getProperty("serverPort");
+ properties.setProperty("nodeName", nodeName);
+ } else {
+ throw new ConfigurationException("Property nodeName is not defined and is a required property when using WADL2UDDI.");
+ }
+ }
+ }
+
+ //Obtaining values from the properties
+ this.keyDomainURI = "uddi:" + properties.getProperty("keyDomain") + ":";
+ if (properties.contains(Property.BUSINESS_KEY)) {
+ this.businessKey = properties.getProperty(Property.BUSINESS_KEY);
+ } else {
+ //using the BusinessKey Template, and the businessName to construct the key
+ this.businessKey = UDDIKeyConvention.getBusinessKey(properties);
+ }
+ this.lang = properties.getProperty(Property.LANG, Property.DEFAULT_LANG);
+ }
+
+ public Set<TModel> createWADLTModels(String wadlURL, Application app) throws Exception {
+ Set<TModel> tModels = new HashSet<TModel>();
+
+ return tModels;
+ }
+
+ public Set<TModel> createWADLPortTypeTModels(String wadlURL, Application app) throws Exception {
+ Set<TModel> tModels = new HashSet<TModel>();
+ // Create a tModel for each portType
+
+ return tModels;
+ }
+
+ public String getKeyDomainURI() {
+ return keyDomainURI;
+ }
+
+ public void setKeyDomain(String keyDomainURI) {
+ this.keyDomainURI = keyDomainURI;
+ }
+
+ public String getLang() {
+ return lang;
+ }
+
+ public void setLang(String lang) {
+ this.lang = lang;
+ }
+
+ private static String ContentToString(List<Object> content) {
+ StringBuilder sb = new StringBuilder();
+ for (int i = 0; i < content.size(); i++) {
+ sb.append(content.get(i).toString()).append(" ");
+ }
+ return sb.toString().trim();
+ }
+
+ /**
+ * Creates a UDDI Business Service.
+ *
+ * @param serviceQName This must be specified to identify the namespace of
+ * the service, which is used to set the service uddi key
+ * @param waldDefinition
+ * @return
+ */
+ public BusinessService createBusinessService(QName serviceQName, Application wadlDefinition) throws MalformedURLException {
+
+ log.debug("Constructing Service UDDI Information for " + serviceQName);
+ BusinessService service = new BusinessService();
+ // BusinessKey
+ service.setBusinessKey(businessKey);
+ // ServiceKey
+ service.setServiceKey(UDDIKeyConvention.getServiceKey(properties, serviceQName.getLocalPart()));
+ // Description
+ String serviceDescription = properties.getProperty(Property.SERVICE_DESCRIPTION, Property.DEFAULT_SERVICE_DESCRIPTION);
+ // Override with the service description from the WSDL if present
+ boolean lengthwarn = false;
+ if (!wadlDefinition.getDoc().isEmpty()) {
+
+ for (int i = 0; i < wadlDefinition.getDoc().size(); i++) {
+ Description description = new Description();
+ if (wadlDefinition.getDoc().get(i).getLang() != null) {
+ description.setLang(wadlDefinition.getDoc().get(i).getLang());
+ } else {
+ description.setLang(lang);
+ }
+ if (description.getLang() != null && description.getLang().length() > UDDIConstants.MAX_xml_lang_length) {
+ lengthwarn = true;
+ description.setLang(description.getLang().substring(0, UDDIConstants.MAX_xml_lang_length - 1));
+ }
+
+ StringBuilder sb = new StringBuilder();
+ sb.append(wadlDefinition.getDoc().get(i).getTitle()).append(" ");
+ sb.append(ContentToString(wadlDefinition.getDoc().get(i).getContent()));
+
+ description.setValue(wadlDefinition.getDoc().get(i).getTitle());
+ if (description.getValue() != null && description.getValue().length() > UDDIConstants.MAX_description_length) {
+ lengthwarn = true;
+ description.setValue(description.getValue().substring(0, UDDIConstants.MAX_description_length - 1));
+ }
+
+ }
+ } else {
+
+ Description description = new Description();
+ description.setLang(lang);
+ if (description.getLang() != null && description.getLang().length() > UDDIConstants.MAX_xml_lang_length) {
+ lengthwarn = true;
+ description.setLang(description.getLang().substring(0, UDDIConstants.MAX_xml_lang_length - 1));
+ }
+ description.setValue(serviceDescription);
+ service.getDescription().add(description);
+ if (description.getValue() != null && description.getValue().length() > UDDIConstants.MAX_description_length) {
+ lengthwarn = true;
+ description.setValue(description.getValue().substring(0, UDDIConstants.MAX_description_length - 1));
+ }
+ }
+
+
+
+ // Service name
+ Name sName = new Name();
+ sName.setLang(lang);
+ if (!wadlDefinition.getDoc().isEmpty()) {
+ sName.setValue(wadlDefinition.getDoc().get(0).getTitle());
+ }
+ if (sName.getValue() == null) {
+ sName.setValue(serviceQName.getLocalPart());
+ }
+ service.getName().add(sName);
+
+ CategoryBag categoryBag = new CategoryBag();
+
+ String namespace = serviceQName.getNamespaceURI();
+ if (namespace != null && namespace != "") {
+ KeyedReference namespaceReference = newKeyedReference(
+ "uddi:uddi.org:xml:namespace", "uddi-org:xml:namespace", namespace);
+ categoryBag.getKeyedReference().add(namespaceReference);
+ }
+
+ KeyedReference serviceReference = newKeyedReference(
+ "uddi:uddi.org:wadl:types", "uddi-org:wadl:types", "service");
+ categoryBag.getKeyedReference().add(serviceReference);
+
+ KeyedReference localNameReference = newKeyedReference(
+ "uddi:uddi.org:xml:localname", "uddi-org:xml:localName", serviceQName.getLocalPart());
+ categoryBag.getKeyedReference().add(localNameReference);
+
+ service.setCategoryBag(categoryBag);
+
+ for (int i = 0; i < wadlDefinition.getResources().size(); i++) {
+ BindingTemplate bindingTemplate = createWADLBinding(serviceQName, getDocTitle(wadlDefinition.getResources().get(i).getDoc()), new URL(wadlDefinition.getResources().get(i).getBase()), wadlDefinition.getResources().get(i));
+ service.setBindingTemplates(new BindingTemplates());
+ service.getBindingTemplates().getBindingTemplate().add(bindingTemplate);
+ }
+
+
+ if (lengthwarn) {
+ log.warn("Some object descriptions are longer than the maximum allowed by UDDI and have been truncated.");
+ }
+ return service;
+ }
+
+ public static List<URL> GetBaseAddresses(Application app)
+ {
+ List<URL> urls = new ArrayList<URL>();
+ if (app==null) return urls;
+ for (int i=0; i < app.getResources().size(); i++){
+ try {
+ urls.add(new URL(app.getResources().get(i).getBase()));
+ } catch (MalformedURLException ex) {
+ log.warn("The base URL " + app.getResources().get(i).getBase() + " is invalid or could not be parsed", ex);
+ }
+ }
+ return urls;
+ }
+
+ protected static KeyedReference newKeyedReference(String tModelKey, String keyName, String value) {
+ KeyedReference typesReference = new KeyedReference();
+ typesReference.setTModelKey(tModelKey);
+ typesReference.setKeyName(keyName);
+ typesReference.setKeyValue(value);
+ return typesReference;
+ }
+
+ protected BindingTemplate createWADLBinding(QName serviceQName, String portName, URL serviceUrl, Resources res) {
+
+ BindingTemplate bindingTemplate = new BindingTemplate();
+ // Set BusinessService Key
+ bindingTemplate.setServiceKey(UDDIKeyConvention.getServiceKey(properties, serviceQName.getLocalPart()));
+
+ if (serviceUrl != null) {
+ // Set AccessPoint
+ AccessPoint accessPoint = new AccessPoint();
+ accessPoint.setUseType(AccessPointType.END_POINT.toString());
+ accessPoint.setValue(urlLocalizer.rewrite(serviceUrl));
+ bindingTemplate.setAccessPoint(accessPoint);
+ // Set Binding Key
+ String bindingKey = UDDIKeyConvention.getBindingKey(properties, serviceQName, portName, serviceUrl);
+ bindingTemplate.setBindingKey(bindingKey);
+
+ Description description = new Description();
+ description.setLang(lang);
+ description.setValue(getDescription(res.getDoc()));
+ bindingTemplate.getDescription().add(description);
+
+ // reference wsdl:binding tModel
+ TModelInstanceInfo tModelInstanceInfoBinding = new TModelInstanceInfo();
+ tModelInstanceInfoBinding.setTModelKey(keyDomainURI + "binding");
+ InstanceDetails instanceDetails = new InstanceDetails();
+ instanceDetails.setInstanceParms(portName);
+ tModelInstanceInfoBinding.setInstanceDetails(instanceDetails);
+ Description descriptionB = new Description();
+ descriptionB.setLang(lang);
+ descriptionB.setValue("The binding that this endpoint implements. " + bindingTemplate.getDescription().get(0).getValue()
+ + " The instanceParms specifies the port local name.");
+ tModelInstanceInfoBinding.getDescription().add(descriptionB);
+ TModelInstanceDetails tModelInstanceDetails = new TModelInstanceDetails();
+ tModelInstanceDetails.getTModelInstanceInfo().add(tModelInstanceInfoBinding);
+
+ // reference wsdl:portType tModel
+
+ TModelInstanceInfo tModelInstanceInfoPortType = new TModelInstanceInfo();
+ tModelInstanceInfoPortType.setTModelKey(keyDomainURI + "rest");
+ //String portTypeDescription = "";
+
+ Description descriptionPT = new Description();
+ descriptionPT.setLang(lang);
+ descriptionPT.setValue("The wadl:Resource:base implements." );
+ tModelInstanceInfoPortType.getDescription().add(descriptionPT);
+ tModelInstanceDetails.getTModelInstanceInfo().add(tModelInstanceInfoPortType);
+
+ bindingTemplate.setTModelInstanceDetails(tModelInstanceDetails);
+
+ }
+ return bindingTemplate;
+ }
+
+ public static Application ParseWadl(InputStream stream) {
+ Application unmarshal = JAXB.unmarshal(stream, Application.class);
+ return unmarshal;
+ }
+ public static final String PACKAGE = "org.apache.juddi.v3.client.mappings.wadl";
+
+ public static Application ParseWadl(URL file) {
+ Application unmarshal = JAXB.unmarshal(file, Application.class);
+ return unmarshal;
+ }
+
+ public static Application ParseWadl(File file) throws FileNotFoundException, IOException {
+ Application unmarshal = JAXB.unmarshal(file, Application.class);
+ return unmarshal;
+ }
+
+
+ private String getDocTitle(List<Doc> doc) {
+ if (doc.isEmpty() || doc.get(0) == null || doc.get(0).getTitle() == null) {
+ return "A resource base URL without a description";
+ }
+ return (doc.get(0).getTitle());
+ }
+
+ private String getDescription(List<Doc> doc) {
+ StringBuilder sb = new StringBuilder();
+ for (int i = 0; i < doc.size(); i++) {
+ sb.append(doc.get(i).getTitle()).append(" ");
+ sb.append(ContentToString(doc.get(i).getContent()));
+ }
+ return sb.toString().trim();
+ }
+}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Application.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Application.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Application.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Application.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,219 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.05.27 at 06:54:03 PM EDT
+//
+
+
+package org.apache.juddi.v3.client.mappings.wadl;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://wadl.dev.java.net/2009/02}grammars" minOccurs="0"/>
+ * <element ref="{http://wadl.dev.java.net/2009/02}resources" maxOccurs="unbounded" minOccurs="0"/>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://wadl.dev.java.net/2009/02}resource_type"/>
+ * <element ref="{http://wadl.dev.java.net/2009/02}method"/>
+ * <element ref="{http://wadl.dev.java.net/2009/02}representation"/>
+ * <element ref="{http://wadl.dev.java.net/2009/02}param"/>
+ * </choice>
+ * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "doc",
+ "grammars",
+ "resources",
+ "resourceTypeOrMethodOrRepresentation",
+ "any"
+})
+@XmlRootElement(name = "application")
+public class Application {
+
+ protected List<Doc> doc;
+ protected Grammars grammars;
+ protected List<Resources> resources;
+ @XmlElements({
+ @XmlElement(name = "representation", type = Representation.class),
+ @XmlElement(name = "method", type = Method.class),
+ @XmlElement(name = "param", type = Param.class),
+ @XmlElement(name = "resource_type", type = ResourceType.class)
+ })
+ protected List<Object> resourceTypeOrMethodOrRepresentation;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+
+ /**
+ * Gets the value of the doc property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the doc property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDoc().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Doc }
+ *
+ *
+ */
+ public List<Doc> getDoc() {
+ if (doc == null) {
+ doc = new ArrayList<Doc>();
+ }
+ return this.doc;
+ }
+
+ /**
+ * Gets the value of the grammars property.
+ *
+ * @return
+ * possible object is
+ * {@link Grammars }
+ *
+ */
+ public Grammars getGrammars() {
+ return grammars;
+ }
+
+ /**
+ * Sets the value of the grammars property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Grammars }
+ *
+ */
+ public void setGrammars(Grammars value) {
+ this.grammars = value;
+ }
+
+ /**
+ * Gets the value of the resources property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the resources property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResources().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Resources }
+ *
+ *
+ */
+ public List<Resources> getResources() {
+ if (resources == null) {
+ resources = new ArrayList<Resources>();
+ }
+ return this.resources;
+ }
+
+ /**
+ * Gets the value of the resourceTypeOrMethodOrRepresentation property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the resourceTypeOrMethodOrRepresentation property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResourceTypeOrMethodOrRepresentation().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Representation }
+ * {@link Method }
+ * {@link Param }
+ * {@link ResourceType }
+ *
+ *
+ */
+ public List<Object> getResourceTypeOrMethodOrRepresentation() {
+ if (resourceTypeOrMethodOrRepresentation == null) {
+ resourceTypeOrMethodOrRepresentation = new ArrayList<Object>();
+ }
+ return this.resourceTypeOrMethodOrRepresentation;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Doc.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Doc.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Doc.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Doc.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,163 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.05.27 at 06:54:03 PM EDT
+//
+
+
+package org.apache.juddi.v3.client.mappings.wadl;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
+ * <anyAttribute processContents='lax' namespace='##other'/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "content"
+})
+@XmlRootElement(name = "doc")
+public class Doc {
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute
+ protected String title;
+ @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
+ protected String lang;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the content property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets the value of the title property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTitle() {
+ return title;
+ }
+
+ /**
+ * Sets the value of the title property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTitle(String value) {
+ this.title = value;
+ }
+
+ /**
+ * Gets the value of the lang property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLang() {
+ return lang;
+ }
+
+ /**
+ * Sets the value of the lang property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLang(String value) {
+ this.lang = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Grammars.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Grammars.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Grammars.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Grammars.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,144 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.05.27 at 06:54:03 PM EDT
+//
+
+
+package org.apache.juddi.v3.client.mappings.wadl;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://wadl.dev.java.net/2009/02}include" maxOccurs="unbounded" minOccurs="0"/>
+ * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "doc",
+ "include",
+ "any"
+})
+@XmlRootElement(name = "grammars")
+public class Grammars {
+
+ protected List<Doc> doc;
+ protected List<Include> include;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+
+ /**
+ * Gets the value of the doc property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the doc property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDoc().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Doc }
+ *
+ *
+ */
+ public List<Doc> getDoc() {
+ if (doc == null) {
+ doc = new ArrayList<Doc>();
+ }
+ return this.doc;
+ }
+
+ /**
+ * Gets the value of the include property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the include property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getInclude().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Include }
+ *
+ *
+ */
+ public List<Include> getInclude() {
+ if (include == null) {
+ include = new ArrayList<Include>();
+ }
+ return this.include;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/HTTPMethods.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/HTTPMethods.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/HTTPMethods.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/HTTPMethods.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,51 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.05.27 at 06:54:03 PM EDT
+//
+
+
+package org.apache.juddi.v3.client.mappings.wadl;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for HTTPMethods.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="HTTPMethods">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="GET"/>
+ * <enumeration value="POST"/>
+ * <enumeration value="PUT"/>
+ * <enumeration value="HEAD"/>
+ * <enumeration value="DELETE"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "HTTPMethods")
+@XmlEnum
+public enum HTTPMethods {
+
+ GET,
+ POST,
+ PUT,
+ HEAD,
+ DELETE;
+
+ public String value() {
+ return name();
+ }
+
+ public static HTTPMethods fromValue(String v) {
+ return valueOf(v);
+ }
+
+}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Include.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Include.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Include.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Include.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,131 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.05.27 at 06:54:03 PM EDT
+//
+
+
+package org.apache.juddi.v3.client.mappings.wadl;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <anyAttribute processContents='lax' namespace='##other'/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "doc"
+})
+@XmlRootElement(name = "include")
+public class Include {
+
+ protected List<Doc> doc;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String href;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the doc property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the doc property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDoc().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Doc }
+ *
+ *
+ */
+ public List<Doc> getDoc() {
+ if (doc == null) {
+ doc = new ArrayList<Doc>();
+ }
+ return this.doc;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Link.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Link.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Link.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Link.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,227 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.05.27 at 06:54:03 PM EDT
+//
+
+
+package org.apache.juddi.v3.client.mappings.wadl;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
+ * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="resource_type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="rel" type="{http://www.w3.org/2001/XMLSchema}token" />
+ * <attribute name="rev" type="{http://www.w3.org/2001/XMLSchema}token" />
+ * <anyAttribute processContents='lax' namespace='##other'/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "doc",
+ "any"
+})
+@XmlRootElement(name = "link")
+public class Link {
+
+ protected List<Doc> doc;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "resource_type")
+ @XmlSchemaType(name = "anyURI")
+ protected String resourceType;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "token")
+ protected String rel;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "token")
+ protected String rev;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the doc property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the doc property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDoc().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Doc }
+ *
+ *
+ */
+ public List<Doc> getDoc() {
+ if (doc == null) {
+ doc = new ArrayList<Doc>();
+ }
+ return this.doc;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the resourceType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getResourceType() {
+ return resourceType;
+ }
+
+ /**
+ * Sets the value of the resourceType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setResourceType(String value) {
+ this.resourceType = value;
+ }
+
+ /**
+ * Gets the value of the rel property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRel() {
+ return rel;
+ }
+
+ /**
+ * Sets the value of the rel property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRel(String value) {
+ this.rel = value;
+ }
+
+ /**
+ * Gets the value of the rev property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRev() {
+ return rev;
+ }
+
+ /**
+ * Sets the value of the rev property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRev(String value) {
+ this.rev = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Method.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Method.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Method.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Method.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,286 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.05.27 at 06:54:03 PM EDT
+//
+
+
+package org.apache.juddi.v3.client.mappings.wadl;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://wadl.dev.java.net/2009/02}request" minOccurs="0"/>
+ * <element ref="{http://wadl.dev.java.net/2009/02}response" maxOccurs="unbounded" minOccurs="0"/>
+ * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * <attribute name="name" type="{http://wadl.dev.java.net/2009/02}Method" />
+ * <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <anyAttribute processContents='lax' namespace='##other'/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "doc",
+ "request",
+ "response",
+ "any"
+})
+@XmlRootElement(name = "method")
+public class Method {
+
+ protected List<Doc> doc;
+ protected Request request;
+ protected List<Response> response;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ @XmlSchemaType(name = "ID")
+ protected String id;
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String href;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the doc property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the doc property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDoc().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Doc }
+ *
+ *
+ */
+ public List<Doc> getDoc() {
+ if (doc == null) {
+ doc = new ArrayList<Doc>();
+ }
+ return this.doc;
+ }
+
+ /**
+ * Gets the value of the request property.
+ *
+ * @return
+ * possible object is
+ * {@link Request }
+ *
+ */
+ public Request getRequest() {
+ return request;
+ }
+
+ /**
+ * Sets the value of the request property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Request }
+ *
+ */
+ public void setRequest(Request value) {
+ this.request = value;
+ }
+
+ /**
+ * Gets the value of the response property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the response property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResponse().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Response }
+ *
+ *
+ */
+ public List<Response> getResponse() {
+ if (response == null) {
+ response = new ArrayList<Response>();
+ }
+ return this.response;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/ObjectFactory.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/ObjectFactory.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/ObjectFactory.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/ObjectFactory.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,151 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.05.27 at 06:54:03 PM EDT
+//
+
+
+package org.apache.juddi.v3.client.mappings.wadl;
+
+import javax.xml.bind.annotation.XmlRegistry;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.apache.juddi.v3.client.mappings.wadl package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.juddi.v3.client.mappings.wadl
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Representation }
+ *
+ */
+ public Representation createRepresentation() {
+ return new Representation();
+ }
+
+ /**
+ * Create an instance of {@link Option }
+ *
+ */
+ public Option createOption() {
+ return new Option();
+ }
+
+ /**
+ * Create an instance of {@link Response }
+ *
+ */
+ public Response createResponse() {
+ return new Response();
+ }
+
+ /**
+ * Create an instance of {@link Include }
+ *
+ */
+ public Include createInclude() {
+ return new Include();
+ }
+
+ /**
+ * Create an instance of {@link Method }
+ *
+ */
+ public Method createMethod() {
+ return new Method();
+ }
+
+ /**
+ * Create an instance of {@link Request }
+ *
+ */
+ public Request createRequest() {
+ return new Request();
+ }
+
+ /**
+ * Create an instance of {@link Resource }
+ *
+ */
+ public Resource createResource() {
+ return new Resource();
+ }
+
+ /**
+ * Create an instance of {@link Param }
+ *
+ */
+ public Param createParam() {
+ return new Param();
+ }
+
+ /**
+ * Create an instance of {@link Application }
+ *
+ */
+ public Application createApplication() {
+ return new Application();
+ }
+
+ /**
+ * Create an instance of {@link Link }
+ *
+ */
+ public Link createLink() {
+ return new Link();
+ }
+
+ /**
+ * Create an instance of {@link Grammars }
+ *
+ */
+ public Grammars createGrammars() {
+ return new Grammars();
+ }
+
+ /**
+ * Create an instance of {@link Resources }
+ *
+ */
+ public Resources createResources() {
+ return new Resources();
+ }
+
+ /**
+ * Create an instance of {@link Doc }
+ *
+ */
+ public Doc createDoc() {
+ return new Doc();
+ }
+
+ /**
+ * Create an instance of {@link ResourceType }
+ *
+ */
+ public ResourceType createResourceType() {
+ return new ResourceType();
+ }
+
+}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Option.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Option.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Option.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Option.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,192 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.05.27 at 06:54:03 PM EDT
+//
+
+
+package org.apache.juddi.v3.client.mappings.wadl;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
+ * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="mediaType" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <anyAttribute processContents='lax' namespace='##other'/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "doc",
+ "any"
+})
+@XmlRootElement(name = "option")
+public class Option {
+
+ protected List<Doc> doc;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(required = true)
+ protected String value;
+ @XmlAttribute
+ protected String mediaType;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the doc property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the doc property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDoc().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Doc }
+ *
+ *
+ */
+ public List<Doc> getDoc() {
+ if (doc == null) {
+ doc = new ArrayList<Doc>();
+ }
+ return this.doc;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the mediaType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMediaType() {
+ return mediaType;
+ }
+
+ /**
+ * Sets the value of the mediaType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMediaType(String value) {
+ this.mediaType = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Param.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Param.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Param.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/Param.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,489 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.05.27 at 06:54:03 PM EDT
+//
+
+
+package org.apache.juddi.v3.client.mappings.wadl;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://wadl.dev.java.net/2009/02}option" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://wadl.dev.java.net/2009/02}link" minOccurs="0"/>
+ * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="style" type="{http://wadl.dev.java.net/2009/02}ParamStyle" />
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" default="xs:string" />
+ * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="repeating" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="fixed" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <anyAttribute processContents='lax' namespace='##other'/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "doc",
+ "option",
+ "link",
+ "any"
+})
+@XmlRootElement(name = "param")
+public class Param {
+
+ protected List<Doc> doc;
+ protected List<Option> option;
+ protected Link link;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String href;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+ @XmlAttribute
+ protected ParamStyle style;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ @XmlSchemaType(name = "ID")
+ protected String id;
+ @XmlAttribute
+ protected QName type;
+ @XmlAttribute(name = "default")
+ protected String _default;
+ @XmlAttribute
+ protected Boolean required;
+ @XmlAttribute
+ protected Boolean repeating;
+ @XmlAttribute
+ protected String fixed;
+ @XmlAttribute
+ protected String path;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the doc property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the doc property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDoc().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Doc }
+ *
+ *
+ */
+ public List<Doc> getDoc() {
+ if (doc == null) {
+ doc = new ArrayList<Doc>();
+ }
+ return this.doc;
+ }
+
+ /**
+ * Gets the value of the option property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the option property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getOption().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Option }
+ *
+ *
+ */
+ public List<Option> getOption() {
+ if (option == null) {
+ option = new ArrayList<Option>();
+ }
+ return this.option;
+ }
+
+ /**
+ * Gets the value of the link property.
+ *
+ * @return
+ * possible object is
+ * {@link Link }
+ *
+ */
+ public Link getLink() {
+ return link;
+ }
+
+ /**
+ * Sets the value of the link property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Link }
+ *
+ */
+ public void setLink(Link value) {
+ this.link = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the style property.
+ *
+ * @return
+ * possible object is
+ * {@link ParamStyle }
+ *
+ */
+ public ParamStyle getStyle() {
+ return style;
+ }
+
+ /**
+ * Sets the value of the style property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ParamStyle }
+ *
+ */
+ public void setStyle(ParamStyle value) {
+ this.style = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ if (type == null) {
+ return new QName("http://www.w3.org/2001/XMLSchema", "string", "xs");
+ } else {
+ return type;
+ }
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the default property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefault() {
+ return _default;
+ }
+
+ /**
+ * Sets the value of the default property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefault(String value) {
+ this._default = value;
+ }
+
+ /**
+ * Gets the value of the required property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isRequired() {
+ if (required == null) {
+ return false;
+ } else {
+ return required;
+ }
+ }
+
+ /**
+ * Sets the value of the required property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setRequired(Boolean value) {
+ this.required = value;
+ }
+
+ /**
+ * Gets the value of the repeating property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isRepeating() {
+ if (repeating == null) {
+ return false;
+ } else {
+ return repeating;
+ }
+ }
+
+ /**
+ * Sets the value of the repeating property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setRepeating(Boolean value) {
+ this.repeating = value;
+ }
+
+ /**
+ * Gets the value of the fixed property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFixed() {
+ return fixed;
+ }
+
+ /**
+ * Sets the value of the fixed property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFixed(String value) {
+ this.fixed = value;
+ }
+
+ /**
+ * Gets the value of the path property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPath() {
+ return path;
+ }
+
+ /**
+ * Sets the value of the path property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPath(String value) {
+ this.path = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Added: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/ParamStyle.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/ParamStyle.java?rev=1502388&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/ParamStyle.java (added)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mappings/wadl/ParamStyle.java Thu Jul 11 22:49:05 2013
@@ -0,0 +1,67 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.05.27 at 06:54:03 PM EDT
+//
+
+
+package org.apache.juddi.v3.client.mappings.wadl;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ParamStyle.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="ParamStyle">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="plain"/>
+ * <enumeration value="query"/>
+ * <enumeration value="matrix"/>
+ * <enumeration value="header"/>
+ * <enumeration value="template"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "ParamStyle")
+@XmlEnum
+public enum ParamStyle {
+
+ @XmlEnumValue("plain")
+ PLAIN("plain"),
+ @XmlEnumValue("query")
+ QUERY("query"),
+ @XmlEnumValue("matrix")
+ MATRIX("matrix"),
+ @XmlEnumValue("header")
+ HEADER("header"),
+ @XmlEnumValue("template")
+ TEMPLATE("template");
+ private final String value;
+
+ ParamStyle(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static ParamStyle fromValue(String v) {
+ for (ParamStyle c: ParamStyle.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org