org.apache.axis2.security.trust.token
Class AppliesTo
java.lang.Object
org.apache.axis2.security.trust.token.AbstractToken
org.apache.axis2.security.trust.token.CompositeToken
org.apache.axis2.security.trust.token.AppliesTo
- public class AppliesTo
- extends CompositeToken
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOKEN
public static final QName TOKEN
AppliesTo
public AppliesTo()
AppliesTo
public AppliesTo(OMElement elem)
throws TrustException
- Parameters:
elem
-
- Throws:
TrustException
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
wsp:AppliesTo
element
- Parameters:
token
-
getChildTokens
public Iterator getChildTokens()
- Retuns an iterator 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