wsdl4j

16:54:43.681 INFO  jd.cli.Main - Decompiling wsdl4j.jar
package com.ibm.wsdl;

import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import javax.wsdl.BindingFault;
import javax.wsdl.extensions.ExtensibilityElement;
import org.w3c.dom.Element;

public class BindingFaultImpl
  implements BindingFault
{
  protected String name = null;
  protected Element docEl = null;
  protected List extElements = new Vector();
  public static final long serialVersionUID = 1L;
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  public String getName()
  {
    return name;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public void setName(String paramString)
  {
    name = paramString;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("BindingFault: name=" + name);
    if (extElements != null)
    {
      Iterator localIterator = extElements.iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.BindingFaultImpl
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl;

import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import javax.wsdl.Binding;
import javax.wsdl.BindingInput;
import javax.wsdl.BindingOperation;
import javax.wsdl.BindingOutput;
import javax.wsdl.Operation;
import javax.wsdl.OperationType;
import javax.wsdl.PortType;
import javax.wsdl.extensions.ExtensibilityElement;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;

public class BindingImpl
  implements Binding
{
  protected QName name = null;
  protected PortType portType = null;
  protected List bindingOperations = new Vector();
  protected Element docEl = null;
  protected List extElements = new Vector();
  protected boolean isUndefined = true;
  public static final long serialVersionUID = 1L;
  
  public void addBindingOperation(BindingOperation paramBindingOperation)
  {
    bindingOperations.add(paramBindingOperation);
  }
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public BindingOperation getBindingOperation(String paramString1, String paramString2, String paramString3)
  {
    int i = 0;
    Object localObject1 = null;
    Iterator localIterator = bindingOperations.iterator();
    while (localIterator.hasNext())
    {
      BindingOperation localBindingOperation = (BindingOperation)localIterator.next();
      String str1 = localBindingOperation.getName();
      if ((paramString1 != null) && (str1 != null))
      {
        if (!paramString1.equals(str1)) {
          localBindingOperation = null;
        }
      }
      else if ((paramString1 != null) || (str1 != null)) {
        localBindingOperation = null;
      }
      PortType localPortType;
      OperationType localOperationType;
      Object localObject2;
      boolean bool;
      Object localObject3;
      String str2;
      if ((localBindingOperation != null) && (paramString2 != null))
      {
        localPortType = getPortType();
        localOperationType = null;
        if (localPortType != null)
        {
          localObject2 = localPortType.getOperation(paramString1, paramString2, paramString3);
          if (localObject2 != null) {
            localOperationType = ((Operation)localObject2).getStyle();
          }
        }
        localObject2 = str1;
        if (localOperationType == OperationType.REQUEST_RESPONSE) {
          localObject2 = str1 + "Request";
        } else if (localOperationType == OperationType.SOLICIT_RESPONSE) {
          localObject2 = str1 + "Solicit";
        }
        bool = paramString2.equals(localObject2);
        localObject3 = localBindingOperation.getBindingInput();
        if (localObject3 != null)
        {
          str2 = ((BindingInput)localObject3).getName();
          if (str2 == null)
          {
            if (!bool) {
              localBindingOperation = null;
            }
          }
          else if (!str2.equals(paramString2)) {
            localBindingOperation = null;
          }
        }
        else
        {
          localBindingOperation = null;
        }
      }
      if ((localBindingOperation != null) && (paramString3 != null))
      {
        localPortType = getPortType();
        localOperationType = null;
        if (localPortType != null)
        {
          localObject2 = localPortType.getOperation(paramString1, paramString2, paramString3);
          if (localObject2 != null) {
            localOperationType = ((Operation)localObject2).getStyle();
          }
        }
        localObject2 = str1;
        if ((localOperationType == OperationType.REQUEST_RESPONSE) || (localOperationType == OperationType.SOLICIT_RESPONSE)) {
          localObject2 = str1 + "Response";
        }
        bool = paramString3.equals(localObject2);
        localObject3 = localBindingOperation.getBindingOutput();
        if (localObject3 != null)
        {
          str2 = ((BindingOutput)localObject3).getName();
          if (str2 == null)
          {
            if (!bool) {
              localBindingOperation = null;
            }
          }
          else if (!str2.equals(paramString3)) {
            localBindingOperation = null;
          }
        }
        else
        {
          localBindingOperation = null;
        }
      }
      if (localBindingOperation != null)
      {
        if (i != 0) {
          throw new IllegalArgumentException("Duplicate operation with name=" + paramString1 + (paramString2 != null ? ", inputName=" + paramString2 : "") + (paramString3 != null ? ", outputName=" + paramString3 : "") + ", found in portType '" + getQName() + "'.");
        }
        i = 1;
        localObject1 = localBindingOperation;
      }
    }
    return (BindingOperation)localObject1;
  }
  
  public List getBindingOperations()
  {
    return bindingOperations;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  public PortType getPortType()
  {
    return portType;
  }
  
  public QName getQName()
  {
    return name;
  }
  
  public boolean isUndefined()
  {
    return isUndefined;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public void setPortType(PortType paramPortType)
  {
    portType = paramPortType;
  }
  
  public void setQName(QName paramQName)
  {
    name = paramQName;
  }
  
  public void setUndefined(boolean paramBoolean)
  {
    isUndefined = paramBoolean;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("Binding: name=" + name);
    if (portType != null) {
      localStringBuffer.append("\n" + portType);
    }
    Iterator localIterator;
    if (bindingOperations != null)
    {
      localIterator = bindingOperations.iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    if (extElements != null)
    {
      localIterator = extElements.iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.BindingImpl
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl;

import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import javax.wsdl.BindingInput;
import javax.wsdl.extensions.ExtensibilityElement;
import org.w3c.dom.Element;

public class BindingInputImpl
  implements BindingInput
{
  protected String name = null;
  protected Element docEl = null;
  protected List extElements = new Vector();
  public static final long serialVersionUID = 1L;
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  public String getName()
  {
    return name;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public void setName(String paramString)
  {
    name = paramString;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("BindingInput: name=" + name);
    if (extElements != null)
    {
      Iterator localIterator = extElements.iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.BindingInputImpl
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl;

import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Vector;
import javax.wsdl.BindingFault;
import javax.wsdl.BindingInput;
import javax.wsdl.BindingOperation;
import javax.wsdl.BindingOutput;
import javax.wsdl.Operation;
import javax.wsdl.extensions.ExtensibilityElement;
import org.w3c.dom.Element;

public class BindingOperationImpl
  implements BindingOperation
{
  protected String name = null;
  protected Operation operation = null;
  protected BindingInput bindingInput = null;
  protected BindingOutput bindingOutput = null;
  protected Map bindingFaults = new HashMap();
  protected Element docEl = null;
  protected List extElements = new Vector();
  public static final long serialVersionUID = 1L;
  
  public void addBindingFault(BindingFault paramBindingFault)
  {
    bindingFaults.put(paramBindingFault.getName(), paramBindingFault);
  }
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public BindingFault getBindingFault(String paramString)
  {
    return (BindingFault)bindingFaults.get(paramString);
  }
  
  public Map getBindingFaults()
  {
    return bindingFaults;
  }
  
  public BindingInput getBindingInput()
  {
    return bindingInput;
  }
  
  public BindingOutput getBindingOutput()
  {
    return bindingOutput;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  public String getName()
  {
    return name;
  }
  
  public Operation getOperation()
  {
    return operation;
  }
  
  public void setBindingInput(BindingInput paramBindingInput)
  {
    bindingInput = paramBindingInput;
  }
  
  public void setBindingOutput(BindingOutput paramBindingOutput)
  {
    bindingOutput = paramBindingOutput;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public void setName(String paramString)
  {
    name = paramString;
  }
  
  public void setOperation(Operation paramOperation)
  {
    operation = paramOperation;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("BindingOperation: name=" + name);
    if (bindingInput != null) {
      localStringBuffer.append("\n" + bindingInput);
    }
    if (bindingOutput != null) {
      localStringBuffer.append("\n" + bindingOutput);
    }
    Iterator localIterator;
    if (bindingFaults != null)
    {
      localIterator = bindingFaults.values().iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    if (extElements != null)
    {
      localIterator = extElements.iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.BindingOperationImpl
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl;

import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import javax.wsdl.BindingOutput;
import javax.wsdl.extensions.ExtensibilityElement;
import org.w3c.dom.Element;

public class BindingOutputImpl
  implements BindingOutput
{
  protected String name = null;
  protected Element docEl = null;
  protected List extElements = new Vector();
  public static final long serialVersionUID = 1L;
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  public String getName()
  {
    return name;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public void setName(String paramString)
  {
    name = paramString;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("BindingOutput: name=" + name);
    if (extElements != null)
    {
      Iterator localIterator = extElements.iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.BindingOutputImpl
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl;

import java.util.Arrays;
import java.util.List;
import javax.xml.namespace.QName;

public class Constants
{
  public static final String NS_URI_WSDL = "http://schemas.xmlsoap.org/wsdl/";
  public static final String NS_URI_XMLNS = "http://www.w3.org/2000/xmlns/";
  public static final String ELEM_DEFINITIONS = "definitions";
  public static final String ELEM_IMPORT = "import";
  public static final String ELEM_TYPES = "types";
  public static final String ELEM_MESSAGE = "message";
  public static final String ELEM_PORT_TYPE = "portType";
  public static final String ELEM_BINDING = "binding";
  public static final String ELEM_SERVICE = "service";
  public static final String ELEM_PART = "part";
  public static final String ELEM_OPERATION = "operation";
  public static final String ELEM_INPUT = "input";
  public static final String ELEM_OUTPUT = "output";
  public static final String ELEM_FAULT = "fault";
  public static final String ELEM_PORT = "port";
  public static final String ELEM_DOCUMENTATION = "documentation";
  public static final QName Q_ELEM_DEFINITIONS = new QName("http://schemas.xmlsoap.org/wsdl/", "definitions");
  public static final QName Q_ELEM_IMPORT = new QName("http://schemas.xmlsoap.org/wsdl/", "import");
  public static final QName Q_ELEM_TYPES = new QName("http://schemas.xmlsoap.org/wsdl/", "types");
  public static final QName Q_ELEM_MESSAGE = new QName("http://schemas.xmlsoap.org/wsdl/", "message");
  public static final QName Q_ELEM_PORT_TYPE = new QName("http://schemas.xmlsoap.org/wsdl/", "portType");
  public static final QName Q_ELEM_BINDING = new QName("http://schemas.xmlsoap.org/wsdl/", "binding");
  public static final QName Q_ELEM_SERVICE = new QName("http://schemas.xmlsoap.org/wsdl/", "service");
  public static final QName Q_ELEM_PART = new QName("http://schemas.xmlsoap.org/wsdl/", "part");
  public static final QName Q_ELEM_OPERATION = new QName("http://schemas.xmlsoap.org/wsdl/", "operation");
  public static final QName Q_ELEM_INPUT = new QName("http://schemas.xmlsoap.org/wsdl/", "input");
  public static final QName Q_ELEM_OUTPUT = new QName("http://schemas.xmlsoap.org/wsdl/", "output");
  public static final QName Q_ELEM_FAULT = new QName("http://schemas.xmlsoap.org/wsdl/", "fault");
  public static final QName Q_ELEM_PORT = new QName("http://schemas.xmlsoap.org/wsdl/", "port");
  public static final QName Q_ELEM_DOCUMENTATION = new QName("http://schemas.xmlsoap.org/wsdl/", "documentation");
  public static final String ATTR_NAME = "name";
  public static final String ATTR_TARGET_NAMESPACE = "targetNamespace";
  public static final String ATTR_ELEMENT = "element";
  public static final String ATTR_TYPE = "type";
  public static final String ATTR_MESSAGE = "message";
  public static final String ATTR_PARAMETER_ORDER = "parameterOrder";
  public static final String ATTR_BINDING = "binding";
  public static final String ATTR_XMLNS = "xmlns";
  public static final String ATTR_NAMESPACE = "namespace";
  public static final String ATTR_LOCATION = "location";
  public static final String ATTR_REQUIRED = "required";
  public static final QName Q_ATTR_REQUIRED = new QName("http://schemas.xmlsoap.org/wsdl/", "required");
  public static final String XML_DECL_DEFAULT = "UTF-8";
  public static final String XML_DECL_START = "<?xml version=\"1.0\" encoding=\"";
  public static final String XML_DECL_END = "\"?>";
  public static final String FEATURE_VERBOSE = "javax.wsdl.verbose";
  public static final String FEATURE_IMPORT_DOCUMENTS = "javax.wsdl.importDocuments";
  public static final String NS_URI_XSD_1999 = "http://www.w3.org/1999/XMLSchema";
  public static final String NS_URI_XSD_2000 = "http://www.w3.org/2000/10/XMLSchema";
  public static final String NS_URI_XSD_2001 = "http://www.w3.org/2001/XMLSchema";
  public static final String SCHEMA = "schema";
  public static final QName Q_ELEM_XSD_1999 = new QName("http://www.w3.org/1999/XMLSchema", "schema");
  public static final QName Q_ELEM_XSD_2000 = new QName("http://www.w3.org/2000/10/XMLSchema", "schema");
  public static final QName Q_ELEM_XSD_2001 = new QName("http://www.w3.org/2001/XMLSchema", "schema");
  public static final List XSD_QNAME_LIST = Arrays.asList(new QName[] { Q_ELEM_XSD_1999, Q_ELEM_XSD_2000, Q_ELEM_XSD_2001 });
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.Constants
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl;

import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.Vector;
import javax.wsdl.Binding;
import javax.wsdl.BindingFault;
import javax.wsdl.BindingInput;
import javax.wsdl.BindingOperation;
import javax.wsdl.BindingOutput;
import javax.wsdl.Definition;
import javax.wsdl.Fault;
import javax.wsdl.Import;
import javax.wsdl.Input;
import javax.wsdl.Message;
import javax.wsdl.Operation;
import javax.wsdl.Output;
import javax.wsdl.Part;
import javax.wsdl.Port;
import javax.wsdl.PortType;
import javax.wsdl.Service;
import javax.wsdl.Types;
import javax.wsdl.extensions.ExtensibilityElement;
import javax.wsdl.extensions.ExtensionRegistry;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;

public class DefinitionImpl
  implements Definition
{
  protected String documentBaseURI = null;
  protected QName name = null;
  protected String targetNamespace = null;
  protected Map namespaces = new HashMap();
  protected Map imports = new HashMap();
  protected Types types = null;
  protected Map messages = new HashMap();
  protected Map bindings = new HashMap();
  protected Map portTypes = new HashMap();
  protected Map services = new HashMap();
  protected Element docEl = null;
  protected List extElements = new Vector();
  protected ExtensionRegistry extReg = null;
  public static final long serialVersionUID = 1L;
  
  public DefinitionImpl()
  {
    addNamespace(null, "http://schemas.xmlsoap.org/wsdl/");
  }
  
  public void addBinding(Binding paramBinding)
  {
    bindings.put(paramBinding.getQName(), paramBinding);
  }
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public void addImport(Import paramImport)
  {
    String str = paramImport.getNamespaceURI();
    Object localObject = (List)imports.get(str);
    if (localObject == null)
    {
      localObject = new Vector();
      imports.put(str, localObject);
    }
    ((List)localObject).add(paramImport);
  }
  
  public void addMessage(Message paramMessage)
  {
    messages.put(paramMessage.getQName(), paramMessage);
  }
  
  public void addNamespace(String paramString1, String paramString2)
  {
    if (paramString1 == null) {
      paramString1 = "";
    }
    if (paramString2 != null) {
      namespaces.put(paramString1, paramString2);
    } else {
      namespaces.remove(paramString1);
    }
  }
  
  public void addPortType(PortType paramPortType)
  {
    portTypes.put(paramPortType.getQName(), paramPortType);
  }
  
  public void addService(Service paramService)
  {
    services.put(paramService.getQName(), paramService);
  }
  
  public Binding createBinding()
  {
    return new BindingImpl();
  }
  
  public BindingFault createBindingFault()
  {
    return new BindingFaultImpl();
  }
  
  public BindingInput createBindingInput()
  {
    return new BindingInputImpl();
  }
  
  public BindingOperation createBindingOperation()
  {
    return new BindingOperationImpl();
  }
  
  public BindingOutput createBindingOutput()
  {
    return new BindingOutputImpl();
  }
  
  public Fault createFault()
  {
    return new FaultImpl();
  }
  
  public Import createImport()
  {
    return new ImportImpl();
  }
  
  public Input createInput()
  {
    return new InputImpl();
  }
  
  public Message createMessage()
  {
    return new MessageImpl();
  }
  
  public Operation createOperation()
  {
    return new OperationImpl();
  }
  
  public Output createOutput()
  {
    return new OutputImpl();
  }
  
  public Part createPart()
  {
    return new PartImpl();
  }
  
  public Port createPort()
  {
    return new PortImpl();
  }
  
  public PortType createPortType()
  {
    return new PortTypeImpl();
  }
  
  public Service createService()
  {
    return new ServiceImpl();
  }
  
  public Types createTypes()
  {
    return new TypesImpl();
  }
  
  public Binding getBinding(QName paramQName)
  {
    Binding localBinding = (Binding)bindings.get(paramQName);
    if ((localBinding == null) && (paramQName != null)) {
      localBinding = (Binding)getFromImports("binding", paramQName);
    }
    return localBinding;
  }
  
  public Map getBindings()
  {
    return bindings;
  }
  
  public String getDocumentBaseURI()
  {
    return documentBaseURI;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  public ExtensionRegistry getExtensionRegistry()
  {
    return extReg;
  }
  
  private Object getFromImports(String paramString, QName paramQName)
  {
    Object localObject = null;
    List localList = getImports(paramQName.getNamespaceURI());
    if (localList != null)
    {
      Iterator localIterator = localList.iterator();
      while (localIterator.hasNext())
      {
        Import localImport = (Import)localIterator.next();
        if (localImport != null)
        {
          Definition localDefinition = localImport.getDefinition();
          if (localDefinition != null)
          {
            if (paramString == "service") {
              localObject = localDefinition.getService(paramQName);
            } else if (paramString == "message") {
              localObject = localDefinition.getMessage(paramQName);
            } else if (paramString == "binding") {
              localObject = localDefinition.getBinding(paramQName);
            } else if (paramString == "portType") {
              localObject = localDefinition.getPortType(paramQName);
            }
            if (localObject != null) {
              return localObject;
            }
          }
        }
      }
    }
    return localObject;
  }
  
  public Map getImports()
  {
    return imports;
  }
  
  public List getImports(String paramString)
  {
    return (List)imports.get(paramString);
  }
  
  public Message getMessage(QName paramQName)
  {
    Message localMessage = (Message)messages.get(paramQName);
    if ((localMessage == null) && (paramQName != null)) {
      localMessage = (Message)getFromImports("message", paramQName);
    }
    return localMessage;
  }
  
  public Map getMessages()
  {
    return messages;
  }
  
  public String getNamespace(String paramString)
  {
    if (paramString == null) {
      paramString = "";
    }
    return (String)namespaces.get(paramString);
  }
  
  public Map getNamespaces()
  {
    return namespaces;
  }
  
  public PortType getPortType(QName paramQName)
  {
    PortType localPortType = (PortType)portTypes.get(paramQName);
    if ((localPortType == null) && (paramQName != null)) {
      localPortType = (PortType)getFromImports("portType", paramQName);
    }
    return localPortType;
  }
  
  public Map getPortTypes()
  {
    return portTypes;
  }
  
  public String getPrefix(String paramString)
  {
    if (paramString == null) {
      return null;
    }
    Iterator localIterator = namespaces.entrySet().iterator();
    while (localIterator.hasNext())
    {
      Map.Entry localEntry = (Map.Entry)localIterator.next();
      String str1 = (String)localEntry.getKey();
      String str2 = (String)localEntry.getValue();
      if (paramString.equals(str2)) {
        return str1;
      }
    }
    return null;
  }
  
  public QName getQName()
  {
    return name;
  }
  
  public Service getService(QName paramQName)
  {
    Service localService = (Service)services.get(paramQName);
    if ((localService == null) && (paramQName != null)) {
      localService = (Service)getFromImports("service", paramQName);
    }
    return localService;
  }
  
  public Map getServices()
  {
    return services;
  }
  
  public String getTargetNamespace()
  {
    return targetNamespace;
  }
  
  public Types getTypes()
  {
    return types;
  }
  
  public Binding removeBinding(QName paramQName)
  {
    return (Binding)bindings.remove(paramQName);
  }
  
  public Message removeMessage(QName paramQName)
  {
    return (Message)messages.remove(paramQName);
  }
  
  public PortType removePortType(QName paramQName)
  {
    return (PortType)portTypes.remove(paramQName);
  }
  
  public Service removeService(QName paramQName)
  {
    return (Service)services.remove(paramQName);
  }
  
  public void setDocumentBaseURI(String paramString)
  {
    documentBaseURI = paramString;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public void setExtensionRegistry(ExtensionRegistry paramExtensionRegistry)
  {
    extReg = paramExtensionRegistry;
  }
  
  public void setQName(QName paramQName)
  {
    name = paramQName;
  }
  
  public void setTargetNamespace(String paramString)
  {
    targetNamespace = paramString;
  }
  
  public void setTypes(Types paramTypes)
  {
    types = paramTypes;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("Definition: name=" + name + " targetNamespace=" + targetNamespace);
    Iterator localIterator;
    if (imports != null)
    {
      localIterator = imports.values().iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    if (types != null) {
      localStringBuffer.append("\n" + types);
    }
    if (messages != null)
    {
      localIterator = messages.values().iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    if (portTypes != null)
    {
      localIterator = portTypes.values().iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    if (bindings != null)
    {
      localIterator = bindings.values().iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    if (services != null)
    {
      localIterator = services.values().iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.DefinitionImpl
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl.extensions.http;

import javax.wsdl.extensions.http.HTTPAddress;
import javax.xml.namespace.QName;

public class HTTPAddressImpl
  implements HTTPAddress
{
  protected QName elementType = HTTPConstants.Q_ELEM_HTTP_ADDRESS;
  protected Boolean required = null;
  protected String locationURI = null;
  public static final long serialVersionUID = 1L;
  
  public QName getElementType()
  {
    return elementType;
  }
  
  public String getLocationURI()
  {
    return locationURI;
  }
  
  public Boolean getRequired()
  {
    return required;
  }
  
  public void setElementType(QName paramQName)
  {
    elementType = paramQName;
  }
  
  public void setLocationURI(String paramString)
  {
    locationURI = paramString;
  }
  
  public void setRequired(Boolean paramBoolean)
  {
    required = paramBoolean;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("HTTPAddress (" + elementType + "):");
    localStringBuffer.append("\nrequired=" + required);
    if (locationURI != null) {
      localStringBuffer.append("\nlocationURI=" + locationURI);
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.extensions.http.HTTPAddressImpl
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl.extensions.http;

import com.ibm.wsdl.Constants;
import com.ibm.wsdl.util.xml.DOMUtils;
import java.io.PrintWriter;
import java.io.Serializable;
import javax.wsdl.Definition;
import javax.wsdl.WSDLException;
import javax.wsdl.extensions.ExtensibilityElement;
import javax.wsdl.extensions.ExtensionDeserializer;
import javax.wsdl.extensions.ExtensionRegistry;
import javax.wsdl.extensions.ExtensionSerializer;
import javax.wsdl.extensions.http.HTTPAddress;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;

public class HTTPAddressSerializer
  implements ExtensionSerializer, ExtensionDeserializer, Serializable
{
  public static final long serialVersionUID = 1L;
  
  public void marshall(Class paramClass, QName paramQName, ExtensibilityElement paramExtensibilityElement, PrintWriter paramPrintWriter, Definition paramDefinition, ExtensionRegistry paramExtensionRegistry)
    throws WSDLException
  {
    HTTPAddress localHTTPAddress = (HTTPAddress)paramExtensibilityElement;
    if (localHTTPAddress != null)
    {
      String str = DOMUtils.getQualifiedValue("http://schemas.xmlsoap.org/wsdl/http/", "address", paramDefinition);
      paramPrintWriter.print("      <" + str);
      DOMUtils.printAttribute("location", localHTTPAddress.getLocationURI(), paramPrintWriter);
      Boolean localBoolean = localHTTPAddress.getRequired();
      if (localBoolean != null) {
        DOMUtils.printQualifiedAttribute(Constants.Q_ATTR_REQUIRED, localBoolean.toString(), paramDefinition, paramPrintWriter);
      }
      paramPrintWriter.println("/>");
    }
  }
  
  public ExtensibilityElement unmarshall(Class paramClass, QName paramQName, Element paramElement, Definition paramDefinition, ExtensionRegistry paramExtensionRegistry)
    throws WSDLException
  {
    HTTPAddress localHTTPAddress = (HTTPAddress)paramExtensionRegistry.createExtension(paramClass, paramQName);
    String str1 = DOMUtils.getAttribute(paramElement, "location");
    String str2 = DOMUtils.getAttributeNS(paramElement, "http://schemas.xmlsoap.org/wsdl/", "required");
    if (str1 != null) {
      localHTTPAddress.setLocationURI(str1);
    }
    if (str2 != null) {
      localHTTPAddress.setRequired(new Boolean(str2));
    }
    return localHTTPAddress;
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.extensions.http.HTTPAddressSerializer
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl.extensions.http;

import javax.wsdl.extensions.http.HTTPBinding;
import javax.xml.namespace.QName;

public class HTTPBindingImpl
  implements HTTPBinding
{
  protected QName elementType = HTTPConstants.Q_ELEM_HTTP_BINDING;
  protected Boolean required = null;
  protected String verb = null;
  public static final long serialVersionUID = 1L;
  
  public QName getElementType()
  {
    return elementType;
  }
  
  public Boolean getRequired()
  {
    return required;
  }
  
  public String getVerb()
  {
    return verb;
  }
  
  public void setElementType(QName paramQName)
  {
    elementType = paramQName;
  }
  
  public void setRequired(Boolean paramBoolean)
  {
    required = paramBoolean;
  }
  
  public void setVerb(String paramString)
  {
    verb = paramString;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("HTTPBinding (" + elementType + "):");
    localStringBuffer.append("\nrequired=" + required);
    if (verb != null) {
      localStringBuffer.append("\nverb=" + verb);
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.extensions.http.HTTPBindingImpl
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl.extensions.http;

import com.ibm.wsdl.Constants;
import com.ibm.wsdl.util.xml.DOMUtils;
import java.io.PrintWriter;
import java.io.Serializable;
import javax.wsdl.Definition;
import javax.wsdl.WSDLException;
import javax.wsdl.extensions.ExtensibilityElement;
import javax.wsdl.extensions.ExtensionDeserializer;
import javax.wsdl.extensions.ExtensionRegistry;
import javax.wsdl.extensions.ExtensionSerializer;
import javax.wsdl.extensions.http.HTTPBinding;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;

public class HTTPBindingSerializer
  implements ExtensionSerializer, ExtensionDeserializer, Serializable
{
  public static final long serialVersionUID = 1L;
  
  public void marshall(Class paramClass, QName paramQName, ExtensibilityElement paramExtensibilityElement, PrintWriter paramPrintWriter, Definition paramDefinition, ExtensionRegistry paramExtensionRegistry)
    throws WSDLException
  {
    HTTPBinding localHTTPBinding = (HTTPBinding)paramExtensibilityElement;
    if (localHTTPBinding != null)
    {
      String str = DOMUtils.getQualifiedValue("http://schemas.xmlsoap.org/wsdl/http/", "binding", paramDefinition);
      paramPrintWriter.print("    <" + str);
      DOMUtils.printAttribute("verb", localHTTPBinding.getVerb(), paramPrintWriter);
      Boolean localBoolean = localHTTPBinding.getRequired();
      if (localBoolean != null) {
        DOMUtils.printQualifiedAttribute(Constants.Q_ATTR_REQUIRED, localBoolean.toString(), paramDefinition, paramPrintWriter);
      }
      paramPrintWriter.println("/>");
    }
  }
  
  public ExtensibilityElement unmarshall(Class paramClass, QName paramQName, Element paramElement, Definition paramDefinition, ExtensionRegistry paramExtensionRegistry)
    throws WSDLException
  {
    HTTPBinding localHTTPBinding = (HTTPBinding)paramExtensionRegistry.createExtension(paramClass, paramQName);
    String str1 = DOMUtils.getAttribute(paramElement, "verb");
    String str2 = DOMUtils.getAttributeNS(paramElement, "http://schemas.xmlsoap.org/wsdl/", "required");
    if (str1 != null) {
      localHTTPBinding.setVerb(str1);
    }
    if (str2 != null) {
      localHTTPBinding.setRequired(new Boolean(str2));
    }
    return localHTTPBinding;
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.extensions.http.HTTPBindingSerializer
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl.extensions.http;

import javax.xml.namespace.QName;

public class HTTPConstants
{
  public static final String NS_URI_HTTP = "http://schemas.xmlsoap.org/wsdl/http/";
  public static final String ELEM_ADDRESS = "address";
  public static final String ELEM_URL_ENCODED = "urlEncoded";
  public static final String ELEM_URL_REPLACEMENT = "urlReplacement";
  public static final QName Q_ELEM_HTTP_BINDING = new QName("http://schemas.xmlsoap.org/wsdl/http/", "binding");
  public static final QName Q_ELEM_HTTP_OPERATION = new QName("http://schemas.xmlsoap.org/wsdl/http/", "operation");
  public static final QName Q_ELEM_HTTP_ADDRESS = new QName("http://schemas.xmlsoap.org/wsdl/http/", "address");
  public static final QName Q_ELEM_HTTP_URL_ENCODED = new QName("http://schemas.xmlsoap.org/wsdl/http/", "urlEncoded");
  public static final QName Q_ELEM_HTTP_URL_REPLACEMENT = new QName("http://schemas.xmlsoap.org/wsdl/http/", "urlReplacement");
  public static final String ATTR_VERB = "verb";
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.extensions.http.HTTPConstants
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl.extensions.http;

import javax.wsdl.extensions.http.HTTPOperation;
import javax.xml.namespace.QName;

public class HTTPOperationImpl
  implements HTTPOperation
{
  protected QName elementType = HTTPConstants.Q_ELEM_HTTP_OPERATION;
  protected Boolean required = null;
  protected String locationURI = null;
  public static final long serialVersionUID = 1L;
  
  public QName getElementType()
  {
    return elementType;
  }
  
  public String getLocationURI()
  {
    return locationURI;
  }
  
  public Boolean getRequired()
  {
    return required;
  }
  
  public void setElementType(QName paramQName)
  {
    elementType = paramQName;
  }
  
  public void setLocationURI(String paramString)
  {
    locationURI = paramString;
  }
  
  public void setRequired(Boolean paramBoolean)
  {
    required = paramBoolean;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("HTTPOperation (" + elementType + "):");
    localStringBuffer.append("\nrequired=" + required);
    if (locationURI != null) {
      localStringBuffer.append("\nlocationURI=" + locationURI);
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.extensions.http.HTTPOperationImpl
 * Java Class Version: 1.1 (45.3)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl.extensions.http;

import com.ibm.wsdl.Constants;
import com.ibm.wsdl.util.xml.DOMUtils;
import java.io.PrintWriter;
import java.io.Serializable;
import javax.wsdl.Definition;
import javax.wsdl.WSDLException;
import javax.wsdl.extensions.ExtensibilityElement;
import javax.wsdl.extensions.ExtensionDeserializer;
import javax.wsdl.extensions.ExtensionRegistry;
import javax.wsdl.extensions.ExtensionSerializer;
import javax.wsdl.extensions.http.HTTPOperation;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;

public class HTTPOperationSerializer
  implements ExtensionSerializer, ExtensionDeserializer, Serializable
{
  public static final long serialVersionUID = 1L;
  
  public void marshall(Class paramClass, QName paramQName, ExtensibilityElement paramExtensibilityElement, PrintWriter paramPrintWriter, Definition paramDefinition, ExtensionRegistry paramExtensionRegistry)
    throws WSDLException
  {
    HTTPOperation localHTTPOperation = (HTTPOperation)paramExtensibilityElement;
    if (localHTTPOperation != null)
    {
      String str = DOMUtils.getQuali
1 2 3 4 5 6 7

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2019. Infinite Loop Ltd