javax.wsdl_1.5.1.v201012040544

16:37:10.562 INFO  jd.cli.Main - Decompiling javax.wsdl_1.5.1.v201012040544.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 setName(String paramString)
  {
    name = paramString;
  }
  
  public String getName()
  {
    return name;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  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.2 (46.0)
 * 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 setQName(QName paramQName)
  {
    name = paramQName;
  }
  
  public QName getQName()
  {
    return name;
  }
  
  public void setPortType(PortType paramPortType)
  {
    portType = paramPortType;
  }
  
  public PortType getPortType()
  {
    return portType;
  }
  
  public void addBindingOperation(BindingOperation paramBindingOperation)
  {
    bindingOperations.add(paramBindingOperation);
  }
  
  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 void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  public void setUndefined(boolean paramBoolean)
  {
    isUndefined = paramBoolean;
  }
  
  public boolean isUndefined()
  {
    return isUndefined;
  }
  
  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.2 (46.0)
 * 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 setName(String paramString)
  {
    name = paramString;
  }
  
  public String getName()
  {
    return name;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  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.2 (46.0)
 * 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 setName(String paramString)
  {
    name = paramString;
  }
  
  public String getName()
  {
    return name;
  }
  
  public void setOperation(Operation paramOperation)
  {
    operation = paramOperation;
  }
  
  public Operation getOperation()
  {
    return operation;
  }
  
  public void setBindingInput(BindingInput paramBindingInput)
  {
    bindingInput = paramBindingInput;
  }
  
  public BindingInput getBindingInput()
  {
    return bindingInput;
  }
  
  public void setBindingOutput(BindingOutput paramBindingOutput)
  {
    bindingOutput = paramBindingOutput;
  }
  
  public BindingOutput getBindingOutput()
  {
    return bindingOutput;
  }
  
  public void addBindingFault(BindingFault paramBindingFault)
  {
    bindingFaults.put(paramBindingFault.getName(), paramBindingFault);
  }
  
  public BindingFault getBindingFault(String paramString)
  {
    return (BindingFault)bindingFaults.get(paramString);
  }
  
  public Map getBindingFaults()
  {
    return bindingFaults;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  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.2 (46.0)
 * 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 setName(String paramString)
  {
    name = paramString;
  }
  
  public String getName()
  {
    return name;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  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.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl;

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 String[] PART_ATTR_NAMES = { "name", "type", "element" };
  public static final String[] BINDING_ATTR_NAMES = { "name", "type" };
  public static final String[] BINDING_FAULT_ATTR_NAMES = { "name" };
  public static final String[] BINDING_INPUT_ATTR_NAMES = { "name" };
  public static final String[] BINDING_OPERATION_ATTR_NAMES = { "name" };
  public static final String[] BINDING_OUTPUT_ATTR_NAMES = { "name" };
  public static final String[] FAULT_ATTR_NAMES = { "name", "message" };
  public static final String[] IMPORT_ATTR_NAMES = { "namespace", "location" };
  public static final String[] INPUT_ATTR_NAMES = { "name", "message" };
  public static final String[] MESSAGE_ATTR_NAMES = { "name" };
  public static final String[] OPERATION_ATTR_NAMES = { "name", "parameterOrder" };
  public static final String[] OUTPUT_ATTR_NAMES = { "name", "message" };
  public static final String[] PORT_ATTR_NAMES = { "name", "binding" };
  public static final String[] PORT_TYPE_ATTR_NAMES = { "name" };
  public static final String[] SERVICE_ATTR_NAMES = { "name" };
  public static final String[] TYPES_ATTR_NAMES = new String[0];
  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";
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.Constants
 * Java Class Version: 1.2 (46.0)
 * 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 void setDocumentBaseURI(String paramString)
  {
    documentBaseURI = paramString;
  }
  
  public String getDocumentBaseURI()
  {
    return documentBaseURI;
  }
  
  public void setQName(QName paramQName)
  {
    name = paramQName;
  }
  
  public QName getQName()
  {
    return name;
  }
  
  public void setTargetNamespace(String paramString)
  {
    targetNamespace = paramString;
  }
  
  public String getTargetNamespace()
  {
    return targetNamespace;
  }
  
  public void addNamespace(String paramString1, String paramString2)
  {
    if (paramString1 == null) {
      paramString1 = "";
    }
    if (paramString2 != null) {
      namespaces.put(paramString1, paramString2);
    } else {
      namespaces.remove(paramString1);
    }
  }
  
  public String getNamespace(String paramString)
  {
    if (paramString == null) {
      paramString = "";
    }
    return (String)namespaces.get(paramString);
  }
  
  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 Map getNamespaces()
  {
    return namespaces;
  }
  
  public void setTypes(Types paramTypes)
  {
    types = paramTypes;
  }
  
  public Types getTypes()
  {
    return types;
  }
  
  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 List getImports(String paramString)
  {
    return (List)imports.get(paramString);
  }
  
  public Map getImports()
  {
    return imports;
  }
  
  public void addMessage(Message paramMessage)
  {
    messages.put(paramMessage.getQName(), paramMessage);
  }
  
  public Message getMessage(QName paramQName)
  {
    Message localMessage = (Message)messages.get(paramQName);
    if ((localMessage == null) && (paramQName != null)) {
      localMessage = (Message)getFromImports("message", paramQName);
    }
    return localMessage;
  }
  
  public Message removeMessage(QName paramQName)
  {
    return (Message)messages.remove(paramQName);
  }
  
  public Map getMessages()
  {
    return messages;
  }
  
  public void addBinding(Binding paramBinding)
  {
    bindings.put(paramBinding.getQName(), paramBinding);
  }
  
  public Binding getBinding(QName paramQName)
  {
    Binding localBinding = (Binding)bindings.get(paramQName);
    if ((localBinding == null) && (paramQName != null)) {
      localBinding = (Binding)getFromImports("binding", paramQName);
    }
    return localBinding;
  }
  
  public Binding removeBinding(QName paramQName)
  {
    return (Binding)bindings.remove(paramQName);
  }
  
  public Map getBindings()
  {
    return bindings;
  }
  
  public void addPortType(PortType paramPortType)
  {
    portTypes.put(paramPortType.getQName(), paramPortType);
  }
  
  public PortType getPortType(QName paramQName)
  {
    PortType localPortType = (PortType)portTypes.get(paramQName);
    if ((localPortType == null) && (paramQName != null)) {
      localPortType = (PortType)getFromImports("portType", paramQName);
    }
    return localPortType;
  }
  
  public PortType removePortType(QName paramQName)
  {
    return (PortType)portTypes.remove(paramQName);
  }
  
  public Map getPortTypes()
  {
    return portTypes;
  }
  
  public void addService(Service paramService)
  {
    services.put(paramService.getQName(), paramService);
  }
  
  public Service getService(QName paramQName)
  {
    Service localService = (Service)services.get(paramQName);
    if ((localService == null) && (paramQName != null)) {
      localService = (Service)getFromImports("service", paramQName);
    }
    return localService;
  }
  
  public Service removeService(QName paramQName)
  {
    return (Service)services.remove(paramQName);
  }
  
  public Map getServices()
  {
    return services;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  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 void setExtensionRegistry(ExtensionRegistry paramExtensionRegistry)
  {
    extReg = paramExtensionRegistry;
  }
  
  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 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.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.wsdl.Fault;
import javax.wsdl.Message;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;

public class FaultImpl
  implements Fault
{
  protected String name = null;
  protected Message message = null;
  protected Element docEl = null;
  protected Map extensionAttributes = new HashMap();
  protected List nativeAttributeNames = Arrays.asList(Constants.FAULT_ATTR_NAMES);
  public static final long serialVersionUID = 1L;
  
  public void setName(String paramString)
  {
    name = paramString;
  }
  
  public String getName()
  {
    return name;
  }
  
  public void setMessage(Message paramMessage)
  {
    message = paramMessage;
  }
  
  public Message getMessage()
  {
    return message;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public void setExtensionAttribute(QName paramQName, Object paramObject)
  {
    if (paramObject != null) {
      extensionAttributes.put(paramQName, paramObject);
    } else {
      extensionAttributes.remove(paramQName);
    }
  }
  
  public Object getExtensionAttribute(QName paramQName)
  {
    return extensionAttributes.get(paramQName);
  }
  
  public Map getExtensionAttributes()
  {
    return extensionAttributes;
  }
  
  public List getNativeAttributeNames()
  {
    return nativeAttributeNames;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("Fault: name=" + name);
    if (message != null) {
      localStringBuffer.append("\n" + message);
    }
    Iterator localIterator = extensionAttributes.keySet().iterator();
    while (localIterator.hasNext())
    {
      QName localQName = (QName)localIterator.next();
      localStringBuffer.append("\nextension attribute: " + localQName + "=" + extensionAttributes.get(localQName));
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.FaultImpl
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.wsdl.Definition;
import javax.wsdl.Import;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;

public class ImportImpl
  implements Import
{
  protected String namespaceURI = null;
  protected String locationURI = null;
  protected Definition definition = null;
  protected Element docEl = null;
  protected Map extensionAttributes = new HashMap();
  protected List nativeAttributeNames = Arrays.asList(Constants.IMPORT_ATTR_NAMES);
  public static final long serialVersionUID = 1L;
  
  public void setNamespaceURI(String paramString)
  {
    namespaceURI = paramString;
  }
  
  public String getNamespaceURI()
  {
    return namespaceURI;
  }
  
  public void setLocationURI(String paramString)
  {
    locationURI = paramString;
  }
  
  public String getLocationURI()
  {
    return locationURI;
  }
  
  public void setDefinition(Definition paramDefinition)
  {
    definition = paramDefinition;
  }
  
  public Definition getDefinition()
  {
    return definition;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public void setExtensionAttribute(QName paramQName, Object paramObject)
  {
    if (paramObject != null) {
      extensionAttributes.put(paramQName, paramObject);
    } else {
      extensionAttributes.remove(paramQName);
    }
  }
  
  public Object getExtensionAttribute(QName paramQName)
  {
    return extensionAttributes.get(paramQName);
  }
  
  public Map getExtensionAttributes()
  {
    return extensionAttributes;
  }
  
  public List getNativeAttributeNames()
  {
    return nativeAttributeNames;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("Import:");
    if (namespaceURI != null) {
      localStringBuffer.append("\nnamespaceURI=" + namespaceURI);
    }
    if (locationURI != null) {
      localStringBuffer.append("\nlocationURI=" + locationURI);
    }
    if (definition != null) {
      localStringBuffer.append("\ndefinition=" + definition);
    }
    Iterator localIterator = extensionAttributes.keySet().iterator();
    while (localIterator.hasNext())
    {
      QName localQName = (QName)localIterator.next();
      localStringBuffer.append("\nextension attribute: " + localQName + "=" + extensionAttributes.get(localQName));
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.ImportImpl
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package com.ibm.wsdl;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.wsdl.Input;
import javax.wsdl.Message;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;

public class InputImpl
  implements Input
{
  protected String name = null;
  protected Message message = null;
  protected Element docEl = null;
  protected Map extensionAttributes = new HashMap();
  protected List nativeAttributeNames = Arrays.asList(Constants.INPUT_ATTR_NAMES);
  public static final long serialVersionUID = 1L;
  
  public void setName(String paramString)
  {
    name = paramString;
  }
  
  public String getName()
  {
    return name;
  }
  
  public void setMessage(Message paramMessage)
  {
    message = paramMessage;
  }
  
  public Message getMessage()
  {
    return message;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public void setExtensionAttribute(QName paramQName, Object paramObject)
  {
    if (paramObject != null) {
      extensionAttributes.put(paramQName, paramObject);
    } else {
      extensionAttributes.remove(paramQName);
    }
  }
  
  public Object getExtensionAttribute(QName paramQName)
  {
    return extensionAttributes.get(paramQName);
  }
  
  public Map getExtensionAttributes()
  {
    return extensionAttributes;
  }
  
  public List getNativeAttributeNames()
  {
    return nativeAttributeNames;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("Input: name=" + name);
    if (message != null) {
      localStringBuffer.append("\n" + message);
    }
    Iterator localIterator = extensionAttributes.keySet().iterator();
    while (localIterator.hasNext())
    {
      QName localQName = (QName)localIterator.next();
      localStringBuffer.append("\nextension attribute: " + localQName + "=" + extensionAttributes.get(localQName));
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.InputImpl
 * Java Class Version: 1.2 (46.0)
 * 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.Message;
import javax.wsdl.Part;
import javax.wsdl.extensions.ExtensibilityElement;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;

public class MessageImpl
  implements Message
{
  protected Map parts = new HashMap();
  protected List additionOrderOfParts = new Vector();
  protected QName name = null;
  protected Element docEl = null;
  protected List extElements = new Vector();
  protected boolean isUndefined = true;
  public static final long serialVersionUID = 1L;
  
  public void setQName(QName paramQName)
  {
    name = paramQName;
  }
  
  public QName getQName()
  {
    return name;
  }
  
  public void addPart(Part paramPart)
  {
    String str = paramPart.getName();
    parts.put(str, paramPart);
    additionOrderOfParts.add(str);
  }
  
  public Part getPart(String paramString)
  {
    return (Part)parts.get(paramString);
  }
  
  public Map getParts()
  {
    return parts;
  }
  
  public List getOrderedParts(List paramList)
  {
    Vector localVector = new Vector();
    if (paramList == null) {
      paramList = additionOrderOfParts;
    }
    Iterator localIterator = paramList.iterator();
    while (localIterator.hasNext())
    {
      String str = (String)localIterator.next();
      Part localPart = getPart(str);
      if (localPart != null) {
        localVector.add(localPart);
      }
    }
    return localVector;
  }
  
  public void setDocumentationElement(Element paramElement)
  {
    docEl = paramElement;
  }
  
  public Element getDocumentationElement()
  {
    return docEl;
  }
  
  public void addExtensibilityElement(ExtensibilityElement paramExtensibilityElement)
  {
    extElements.add(paramExtensibilityElement);
  }
  
  public List getExtensibilityElements()
  {
    return extElements;
  }
  
  public void setUndefined(boolean paramBoolean)
  {
    isUndefined = paramBoolean;
  }
  
  public boolean isUndefined()
  {
    return isUndefined;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("Message: name=" + name);
    if (parts != null)
    {
      Iterator localIterator = parts.values().iterator();
      while (localIterator.hasNext()) {
        localStringBuffer.append("\n" + localIterator.next());
      }
    }
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.ibm.wsdl.MessageImpl
 * Java Class Version: 1.2 (46.0)
 * 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.Fault;
import javax.wsdl.Input;
import javax.wsdl.Operation;
import javax.wsdl.OperationType;
import javax.wsdl.Output;
import javax.wsdl.extensions.ExtensibilityElement;
import org.w3c.dom.Element;

public class OperationImpl
  implements Operation
{
  protected String name = null;
  protected Input input = null;
  protected Output output = null;
  protected Map faults = new HashMap();
  protected OperationType style = null;
  protected List parameterOrder = null;
  protected Element docEl = null;
  protected List extElements = new Vector();
  protected boolean isUndefined = true;
  public static final long serialVersionUID = 1L;
  
  public void setName(String paramSt
1 2 3 4 5 6 7 8 9

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-2017. Infinite Loop Ltd