com.sun.xml.ws.security.trust.impl.wssx.elements
Class CancelTargetImpl

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.wssx.bindings.CancelTargetType
      extended by com.sun.xml.ws.security.trust.impl.wssx.elements.CancelTargetImpl
All Implemented Interfaces:
CancelTarget

public class CancelTargetImpl
extends com.sun.xml.ws.security.trust.impl.wssx.bindings.CancelTargetType
implements CancelTarget

Defines Binding for requesting security tokens to be cancelled.


Field Summary
 
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.CancelTargetType
any
 
Fields inherited from interface com.sun.xml.ws.security.trust.elements.CancelTarget
CUSTOM_TARGET_TYPE, STR_TARGET_TYPE
 
Constructor Summary
CancelTargetImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.CancelTargetType ctType)
           
CancelTargetImpl(SecurityTokenReference str)
           
CancelTargetImpl(com.sun.xml.ws.security.Token token)
           
 
Method Summary
 SecurityTokenReference getSecurityTokenReference()
          Get the STR for the Token to be Cancelled
 java.lang.String getTargetType()
          Get the type of the Cancel Target information item
 com.sun.xml.ws.security.Token getToken()
          Get the token to be Cancelled
 void setSecurityTokenReference(SecurityTokenReference ref)
          Set the STR for the Token to be Cancelled
 void setTargetType(java.lang.String ttype)
           
 void setToken(com.sun.xml.ws.security.Token token)
          Set the token to be Cancelled
 
Methods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.CancelTargetType
getAny, setAny
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.ws.security.trust.elements.CancelTarget
getAny, setAny
 

Constructor Detail

CancelTargetImpl

public CancelTargetImpl(SecurityTokenReference str)

CancelTargetImpl

public CancelTargetImpl(com.sun.xml.ws.security.Token token)

CancelTargetImpl

public CancelTargetImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.CancelTargetType ctType)
                 throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getTargetType

public java.lang.String getTargetType()
Description copied from interface: CancelTarget
Get the type of the Cancel Target information item

Specified by:
getTargetType in interface CancelTarget

setTargetType

public void setTargetType(java.lang.String ttype)

setSecurityTokenReference

public void setSecurityTokenReference(SecurityTokenReference ref)
Description copied from interface: CancelTarget
Set the STR for the Token to be Cancelled

Specified by:
setSecurityTokenReference in interface CancelTarget

getSecurityTokenReference

public SecurityTokenReference getSecurityTokenReference()
Description copied from interface: CancelTarget
Get the STR for the Token to be Cancelled

Specified by:
getSecurityTokenReference in interface CancelTarget

setToken

public void setToken(com.sun.xml.ws.security.Token token)
Description copied from interface: CancelTarget
Set the token to be Cancelled

Specified by:
setToken in interface CancelTarget

getToken

public com.sun.xml.ws.security.Token getToken()
Description copied from interface: CancelTarget
Get the token to be Cancelled

Specified by:
getToken in interface CancelTarget