org.jvnet.wom.api
Enum WSDLPart.Binding
java.lang.Object
java.lang.Enum<WSDLPart.Binding>
org.jvnet.wom.api.WSDLPart.Binding
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<WSDLPart.Binding>
- Enclosing class:
- WSDLPart
public static enum WSDLPart.Binding
- extends java.lang.Enum<WSDLPart.Binding>
Tells different kind of known bindings a wsdl:part can be associated with
- Author:
- Vivek Pandey
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Body
public static final WSDLPart.Binding Body
Header
public static final WSDLPart.Binding Header
Mime
public static final WSDLPart.Binding Mime
None
public static final WSDLPart.Binding None
values
public static WSDLPart.Binding[] 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 (WSDLPart.Binding c : WSDLPart.Binding.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WSDLPart.Binding valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
isBody
public boolean isBody()
isHeader
public boolean isHeader()
isMime
public boolean isMime()
isUnknown
public boolean isUnknown()
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.