org.apache.ws.sandbox.security.policy.message.token
Class AppliesTo
java.lang.Object
org.apache.ws.sandbox.security.trust.message.token.AbstractToken
org.apache.ws.sandbox.security.trust.message.token.CompositeElement
org.apache.ws.sandbox.security.policy.message.token.AppliesTo
- public class AppliesTo
- extends CompositeElement
- Author:
- Malinda Kaushalye, Ruchith Fernando
Field Summary |
static javax.xml.namespace.QName |
TOKEN
|
Constructor Summary |
AppliesTo(org.w3c.dom.Document doc)
Constructor for AppliesTo |
AppliesTo(org.w3c.dom.Element elem)
Constructor for AppliesTo |
Method Summary |
void |
addChildElement(org.w3c.dom.Element elem)
|
protected void |
deserializeChildElement(org.w3c.dom.Element elem)
Populates the attribute elements with given elements
This method will be called with the child elements of the wsa:AppliesTo |
java.lang.String |
getAppliesToAddressEpr()
Returns the value of the wsa:EndpointReference/wsa:Address |
protected javax.xml.namespace.QName |
getToken()
Returns the QName of this type |
void |
setEndpointReference(java.lang.String eprValue)
Set the value of the wsa:EndpointReference/wsa:Address |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TOKEN
public static final javax.xml.namespace.QName TOKEN
AppliesTo
public AppliesTo(org.w3c.dom.Element elem)
throws WSTrustException
- Constructor for AppliesTo
- Parameters:
elem
-
- Throws:
WSSecurityException
WSTrustException
AppliesTo
public AppliesTo(org.w3c.dom.Document doc)
- Constructor for AppliesTo
- Parameters:
doc
-
setEndpointReference
public void setEndpointReference(java.lang.String eprValue)
- Set the value of the
wsa:EndpointReference/wsa:Address
- Parameters:
eprValue
-
getAppliesToAddressEpr
public java.lang.String getAppliesToAddressEpr()
- Returns the value of the
wsa:EndpointReference/wsa:Address
- Returns:
addChildElement
public void addChildElement(org.w3c.dom.Element elem)
getToken
protected javax.xml.namespace.QName getToken()
- Returns the QName of this type
- Specified by:
getToken
in class AbstractToken
- Returns:
- See Also:
AbstractToken.getToken()
deserializeChildElement
protected void deserializeChildElement(org.w3c.dom.Element elem)
throws WSTrustException
- Populates the attribute elements with given elements
This method will be called with the child elements of the
wsa:AppliesTo
- Specified by:
deserializeChildElement
in class AbstractToken
- Parameters:
elem
- The child element
- Throws:
WSTrustException
- See Also:
AbstractToken.deserializeChildElement(org.w3c.dom.Element)
Copyright © 2004-2008 Apache Web Services. All Rights Reserved.