Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * (c) Copyright IBM Corp 2006 
   */
  
  package com.ibm.wsdl.extensions.soap12;
  
Copied from com.ibm.wsdl.extensions.soap.SOAPBindingImpl
 
 public class SOAP12BindingImpl implements SOAP12Binding
 {
   protected Boolean required = null;
   protected String style = null;
   protected String transportURI = null;
 
   public static final long serialVersionUID = 1;

  
Set the type of this extensibility element.

Parameters:
elementType the type
 
   public void setElementType(QName elementType)
   {
     this. = elementType;
   }

  
Get the type of this extensibility element.

Returns:
the extensibility element's type
 
   public QName getElementType()
   {
     return ;
   }

  
Set whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
 
   public void setRequired(Boolean required)
   {
     this. = required;
   }

  
Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
 
   public Boolean getRequired()
   {
     return ;
   }

  
Set the style for this SOAP binding.

Parameters:
style the desired style
 
   public void setStyle(String style)
   {
     this. = style;
   }

  
Get the style for this SOAP binding.
 
   public String getStyle()
   {
     return ;
   }

  
Set the SOAP transport URI to be used for communicating with this binding.

Parameters:
transportURI the URI describing the transport to be used
 
   public void setTransportURI(String transportURI)
   {
     this. = transportURI;
   }

  
Get the transport URI to be used with this binding.

Returns:
the transport URI to be used
 
   public String getTransportURI()
   {
     return ;
   }
 
  public String toString()
  {
    StringBuffer strBuf = new StringBuffer();
    strBuf.append("SOAPBinding (" +  + "):");
    strBuf.append("\nrequired=" + );
    if ( != null)
    {
      strBuf.append("\ntransportURI=" + );
    }
    if ( != null)
    {
      strBuf.append("\nstyle=" + );
    }
    return strBuf.toString();
  }
New to GrepCode? Check out our FAQ X