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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOKEN
public static final QName TOKEN
BinarySecret
public BinarySecret()
BinarySecret
public BinarySecret(OMElement elem)
throws TrustException
- Parameters:
elem
-
- Throws:
TrustException
getToken
protected QName getToken()
- Specified by:
getToken
in class AbstractToken
setTypeAttribute
public void setTypeAttribute(String type)
- Sets the value of the .../wst:BinarySecret/@Type attribute
- Parameters:
type
-
getTypeAttribute
public String getTypeAttribute()
- Retuns the value of the .../wst:BinarySecret/@Type attribute
- Returns:
- Returns String.
addAttribute
public void addAttribute(String attribute,
String value,
OMNamespace namespace)
- Adds the given attribute.
- Parameters:
attribute
- value
- namespace
-
getAttributeValue
public String getAttributeValue(QName attribute)
- Returns the value of the requested attribute.
- Parameters:
attribute
-
- Returns:
- Returns String.