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

java.lang.Object
  extended byorg.apache.axis2.security.trust.token.AbstractToken
      extended byorg.apache.axis2.security.trust.token.CompositeToken
          extended byorg.apache.axis2.security.trust.token.Claims

public class Claims
extends CompositeToken


Field Summary
static QName TOKEN
           
 
Fields inherited from class org.apache.axis2.security.trust.token.AbstractToken
factory, tokenElement, wstNamespace
 
Constructor Summary
Claims()
           
Claims(OMElement elem)
           
 
Method Summary
 void addToken(OMElement token)
          Adds a token as a child.
protected  void deserializeChildElement(OMElement element)
          This is called for each of the immediate child elements of type OMNode.ELEMENT_NODE of this token
 Iterator getChildTokens()
          Returns an interator of child elements.
 String getDialectAttribute()
          Returns the value of the wst:Claims/@Dialect
protected  QName getToken()
           
 void setDialectAttribute(String value)
          Sets the value of the wst:Claims/@Dialect Dialect attribute specifies a URI to indicate the syntax of the claims.
 
Methods inherited from class org.apache.axis2.security.trust.token.CompositeToken
setElementTextValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKEN

public static final QName TOKEN
Constructor Detail

Claims

public Claims()

Claims

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

setDialectAttribute

public void setDialectAttribute(String value)
Sets the value of the wst:Claims/@Dialect Dialect attribute specifies a URI to indicate the syntax of the claims.

Parameters:
value -

getDialectAttribute

public String getDialectAttribute()
Returns the value of the wst:Claims/@Dialect

Returns:
Returns String.

addToken

public void addToken(OMElement token)
Adds a token as a child. This is provided as an extensibility mechanism to add any child element to the wst:Claims element

Parameters:
token -

getChildTokens

public Iterator getChildTokens()
Returns an interator of child elements.

Returns:
Returns Iterator.

getToken

protected QName getToken()
Specified by:
getToken in class AbstractToken

deserializeChildElement

protected void deserializeChildElement(OMElement element)
                                throws TrustException
Description copied from class: AbstractToken
This is called for each of the immediate child elements of type OMNode.ELEMENT_NODE of this token

Specified by:
deserializeChildElement in class AbstractToken
Parameters:
element -
Throws:
TrustException