org.apache.axis2.security.trust.token
Class BinarySecret

java.lang.Object
  extended byorg.apache.axis2.security.trust.token.AbstractToken
      extended byorg.apache.axis2.security.trust.token.ValueToken
          extended byorg.apache.axis2.security.trust.token.BinarySecret

public class BinarySecret
extends ValueToken

Author:
Ruchith Fernando (ruchith.fernando@gmail.com)

Field Summary
static javax.xml.namespace.QName TOKEN
           
 
Fields inherited from class org.apache.axis2.security.trust.token.ValueToken
valueText
 
Fields inherited from class org.apache.axis2.security.trust.token.AbstractToken
factory, tokenElement, wstNamespace
 
Constructor Summary
BinarySecret()
           
BinarySecret(OMElement elem)
           
 
Method Summary
 void addAttribute(java.lang.String attribute, java.lang.String value, OMNamespace namespace)
          Adds the given attribute
 java.lang.String getAttributeValue(javax.xml.namespace.QName attribute)
          Returns the value of the requested attribute
protected  javax.xml.namespace.QName getToken()
           
 java.lang.String getTypeAttribute()
          Retuns the value of the .../wst:BinarySecret/@Type attribute
 void setTypeAttribute(java.lang.String type)
          Sets the value of the .../wst:BinarySecret/@Type attribute
 
Methods inherited from class org.apache.axis2.security.trust.token.ValueToken
deserializeChildElement, getValue, setElementTextValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKEN

public static final javax.xml.namespace.QName TOKEN
Constructor Detail

BinarySecret

public BinarySecret()

BinarySecret

public BinarySecret(OMElement elem)
             throws TrustException
Parameters:
elem -
Throws:
TrustException
Method Detail

getToken

protected javax.xml.namespace.QName getToken()
Specified by:
getToken in class AbstractToken

setTypeAttribute

public void setTypeAttribute(java.lang.String type)
Sets the value of the .../wst:BinarySecret/@Type attribute

Parameters:
type -

getTypeAttribute

public java.lang.String getTypeAttribute()
Retuns the value of the .../wst:BinarySecret/@Type attribute

Returns:

addAttribute

public void addAttribute(java.lang.String attribute,
                         java.lang.String value,
                         OMNamespace namespace)
Adds the given attribute

Parameters:
attribute -
value -
namespace -

getAttributeValue

public java.lang.String getAttributeValue(javax.xml.namespace.QName attribute)
Returns the value of the requested attribute

Parameters:
attribute -
Returns: