JavaTM 2 Platform
Standard Ed. 6

javax.jws.soap
列舉 SOAPBinding.Use

java.lang.Object
  繼承者 java.lang.Enum<SOAPBinding.Use>
      繼承者 javax.jws.soap.SOAPBinding.Use
所有已實作的介面:
Serializable, Comparable<SOAPBinding.Use>
正在封閉類別:
SOAPBinding

public static enum SOAPBinding.Use
extends Enum<SOAPBinding.Use>

SOAP 綁定的使用。


列舉常數摘要
ENCODED
           
LITERAL
           
 
方法摘要
static SOAPBinding.Use valueOf(String name)
          返回帶有指定名稱的該型別的列舉常數。
static SOAPBinding.Use[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
從類別 java.lang.Enum 繼承的方法
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
從類別 java.lang.Object 繼承的方法
getClass, notify, notifyAll, wait, wait, wait
 

列舉常數詳細資訊

LITERAL

public static final SOAPBinding.Use LITERAL

ENCODED

public static final SOAPBinding.Use ENCODED
方法詳細資訊

values

public static final SOAPBinding.Use[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for(SOAPBinding.Use c : SOAPBinding.Use.values())
        System.out.println(c);

返回:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SOAPBinding.Use valueOf(String name)
返回帶有指定名稱的該型別的列舉常數。 字元串必須與用於宣告該型別的列舉常數的 標識符完全比對。(不允許有多餘 的空格。)

參數:
指定要返回的列舉常數的名稱。 -
返回:
返回帶有指定名稱的列舉常數
拋出:
如果該列舉型別沒有帶有指定名稱的常數, - 則拋出 IllegalArgumentException

JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only