org.oasis_open.docs.wss._2004._01.oasis_200401_wss_wssecurity_secext_1_0_xsd
Class UsernameTokenType

java.lang.Object
  extended by org.oasis_open.docs.wss._2004._01.oasis_200401_wss_wssecurity_secext_1_0_xsd.UsernameTokenType
All Implemented Interfaces:
java.io.Serializable, org.apache.axis.encoding.AnyContentType

public class UsernameTokenType
extends java.lang.Object
implements java.io.Serializable, org.apache.axis.encoding.AnyContentType

This type represents a username token per Section 4.1

See Also:
Serialized Form

Constructor Summary
UsernameTokenType()
           
UsernameTokenType(AttributedString username, org.apache.axis.message.MessageElement[] _any, org.apache.axis.types.Id id)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 org.apache.axis.message.MessageElement[] get_any()
          Gets the _any value for this UsernameTokenType.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 org.apache.axis.types.Id getId()
          Gets the id value for this UsernameTokenType.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 AttributedString getUsername()
          Gets the username value for this UsernameTokenType.
 int hashCode()
           
 void set_any(org.apache.axis.message.MessageElement[] _any)
          Sets the _any value for this UsernameTokenType.
 void setId(org.apache.axis.types.Id id)
          Sets the id value for this UsernameTokenType.
 void setUsername(AttributedString username)
          Sets the username value for this UsernameTokenType.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernameTokenType

public UsernameTokenType()

UsernameTokenType

public UsernameTokenType(AttributedString username,
                         org.apache.axis.message.MessageElement[] _any,
                         org.apache.axis.types.Id id)
Method Detail

getUsername

public AttributedString getUsername()
Gets the username value for this UsernameTokenType.

Returns:
username

setUsername

public void setUsername(AttributedString username)
Sets the username value for this UsernameTokenType.

Parameters:
username -

get_any

public org.apache.axis.message.MessageElement[] get_any()
Gets the _any value for this UsernameTokenType.

Specified by:
get_any in interface org.apache.axis.encoding.AnyContentType
Returns:
_any

set_any

public void set_any(org.apache.axis.message.MessageElement[] _any)
Sets the _any value for this UsernameTokenType.

Specified by:
set_any in interface org.apache.axis.encoding.AnyContentType
Parameters:
_any -

getId

public org.apache.axis.types.Id getId()
Gets the id value for this UsernameTokenType.

Returns:
id

setId

public void setId(org.apache.axis.types.Id id)
Sets the id value for this UsernameTokenType.

Parameters:
id -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer