org.apache.axis2.security.trust.token
Class BinarySecret
java.lang.Object
org.apache.axis2.security.trust.token.AbstractToken
org.apache.axis2.security.trust.token.ValueToken
org.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
|
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOKEN
public static final javax.xml.namespace.QName TOKEN
BinarySecret
public BinarySecret()
BinarySecret
public BinarySecret(OMElement elem)
throws TrustException
- Parameters:
elem -
- Throws:
TrustException
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: