org.apache.ws.sandbox.security.policy.message.token
Class AppliesTo

java.lang.Object
  extended byorg.apache.ws.sandbox.security.trust.message.token.AbstractToken
      extended byorg.apache.ws.sandbox.security.trust.message.token.CompositeElement
          extended byorg.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
           
 
Fields inherited from class org.apache.ws.sandbox.security.trust.message.token.AbstractToken
document, element
 
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 org.apache.ws.sandbox.security.trust.message.token.CompositeElement
setElementTextValue
 
Methods inherited from class org.apache.ws.sandbox.security.trust.message.token.AbstractToken
addChild, getElement, parse, removeChild, setElement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TOKEN

public static final javax.xml.namespace.QName TOKEN
Constructor Detail

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 -
Method Detail

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.