org.apache.axis.message.addressing
Class FaultSubcodeValues

java.lang.Object
  extended by org.apache.axis.message.addressing.FaultSubcodeValues
All Implemented Interfaces:
java.io.Serializable

public class FaultSubcodeValues
extends java.lang.Object
implements java.io.Serializable

Java content class for FaultSubcodeValues element declaration.

The following schema fragment specifies the expected content contained within this java content object. (defined at http://schemas.xmlsoap.org/ws/2004/08/addressing line 110)

 <xs:simpleType name="FaultSubcodeValues">
  <xs:restriction base="xs:QName">
      <xs:enumeration value="wsa:InvalidMessageInformationHeader"/>
      <xs:enumeration value="wsa:MessageInformationHeaderRequired"/>
      <xs:enumeration value="wsa:DestinationUnreachable"/>
      <xs:enumeration value="wsa:ActionNotSupported"/>
      <xs:enumeration value="wsa:EndpointUnavailable"/>
  </xs:restriction>
 </xs:simpleType>
 

Version:
$Revision: 14 $
Author:
Davanum Srinivas
See Also:
Serialized Form

Field Summary
static javax.xml.namespace.QName V1
          SubCode.
static javax.xml.namespace.QName V2
          SubCode.
static javax.xml.namespace.QName V3
          SubCode.
static javax.xml.namespace.QName V4
          SubCode.
static javax.xml.namespace.QName V5
          SubCode.
static FaultSubcodeValues VALUE1
          Enumeration value.
static FaultSubcodeValues VALUE2
          Enumeration value.
static FaultSubcodeValues VALUE3
          Enumeration value.
static FaultSubcodeValues VALUE4
          Enumeration value.
static FaultSubcodeValues VALUE5
          Enumeration value.
 
Constructor Summary
protected FaultSubcodeValues(javax.xml.namespace.QName value)
          Creates a new instance.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
static FaultSubcodeValues fromString(java.lang.String value)
          Converts a string into an enumerated value.
static FaultSubcodeValues fromValue(javax.xml.namespace.QName value)
          Converts a QName into an enumerated value.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mType, java.lang.Class<?> jType, javax.xml.namespace.QName xType)
          Gets a Deserializer instance for this class.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mType, java.lang.Class<?> jType, javax.xml.namespace.QName xType)
          Gets a Serializer instance for this class.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type meta-data object.
 javax.xml.namespace.QName getValue()
          Gets the value.
 int hashCode()
          
 java.lang.Object readResolve()
          Enforces that the only instances of this class are the ones defined as constants.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

V1

public static final javax.xml.namespace.QName V1
SubCode.


V2

public static final javax.xml.namespace.QName V2
SubCode.


V3

public static final javax.xml.namespace.QName V3
SubCode.


V4

public static final javax.xml.namespace.QName V4
SubCode.


V5

public static final javax.xml.namespace.QName V5
SubCode.


VALUE1

public static final FaultSubcodeValues VALUE1
Enumeration value.


VALUE2

public static final FaultSubcodeValues VALUE2
Enumeration value.


VALUE3

public static final FaultSubcodeValues VALUE3
Enumeration value.


VALUE4

public static final FaultSubcodeValues VALUE4
Enumeration value.


VALUE5

public static final FaultSubcodeValues VALUE5
Enumeration value.

Constructor Detail

FaultSubcodeValues

protected FaultSubcodeValues(javax.xml.namespace.QName value)
Creates a new instance.

Parameters:
value - Fault code
Method Detail

fromString

public static FaultSubcodeValues fromString(java.lang.String value)
                                     throws java.lang.IllegalArgumentException
Converts a string into an enumerated value.

Parameters:
value - String
Returns:
Value
Throws:
java.lang.IllegalArgumentException - If the string does not match any value

fromValue

public static FaultSubcodeValues fromValue(javax.xml.namespace.QName value)
                                    throws java.lang.IllegalArgumentException
Converts a QName into an enumerated value.

Parameters:
value - QName
Returns:
Value
Throws:
java.lang.IllegalArgumentException - If the QName does not match any value

getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mType,
                                                                    java.lang.Class<?> jType,
                                                                    javax.xml.namespace.QName xType)
Gets a Deserializer instance for this class.

Parameters:
mType - Mech type
jType - Java type
xType - XML type
Returns:
A Deserializer instance

getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mType,
                                                                java.lang.Class<?> jType,
                                                                javax.xml.namespace.QName xType)
Gets a Serializer instance for this class.

Parameters:
mType - Mech type
jType - Java type
xType - XML type
Returns:
A Serializer instance

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type meta-data object.

Returns:
The type description

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

getValue

public javax.xml.namespace.QName getValue()
Gets the value.

Returns:
Value

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Enforces that the only instances of this class are the ones defined as constants.

Returns:
One of the constants
Throws:
java.io.ObjectStreamException - If an error occurs

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object


Copyright © 2008-2009 Rodrigo Ruiz. All Rights Reserved.