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

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.wssx.bindings.UseKeyType
      extended by com.sun.xml.ws.security.trust.impl.wssx.elements.UseKeyImpl
All Implemented Interfaces:
UseKey

public class UseKeyImpl
extends com.sun.xml.ws.security.trust.impl.wssx.bindings.UseKeyType
implements UseKey


Field Summary
 
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.UseKeyType
any, sig
 
Constructor Summary
UseKeyImpl(SecurityTokenReference str)
           
UseKeyImpl(com.sun.xml.ws.security.Token token)
           
UseKeyImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.UseKeyType ukType)
           
 
Method Summary
 SecurityTokenReference getSecurityTokenReference()
           
 java.net.URI getSignatureID()
          get the Sig attribute value if set, null otherwise
 java.lang.String getTargetType()
           
 com.sun.xml.ws.security.Token getToken()
          Get the Token contained in the element, null otherwise.
 void setSecurityTokenReference(SecurityTokenReference ref)
           
 void setSignatureID(java.net.URI sigID)
          Set the option Sig attribute of UseKey
 void setTargetType(java.lang.String ttype)
           
 void setToken(com.sun.xml.ws.security.Token token)
          Set the Token as the contents of UseKey
 
Methods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.UseKeyType
getAny, getSig, setAny, setSig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UseKeyImpl

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

UseKeyImpl

public UseKeyImpl(SecurityTokenReference str)

UseKeyImpl

public UseKeyImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.UseKeyType ukType)
           throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getTargetType

public java.lang.String getTargetType()

setTargetType

public void setTargetType(java.lang.String ttype)

setSecurityTokenReference

public void setSecurityTokenReference(SecurityTokenReference ref)

getSecurityTokenReference

public SecurityTokenReference getSecurityTokenReference()

setToken

public void setToken(com.sun.xml.ws.security.Token token)
Description copied from interface: UseKey
Set the Token as the contents of UseKey

Specified by:
setToken in interface UseKey

getToken

public com.sun.xml.ws.security.Token getToken()
Description copied from interface: UseKey
Get the Token contained in the element, null otherwise.

Specified by:
getToken in interface UseKey

setSignatureID

public void setSignatureID(java.net.URI sigID)
Description copied from interface: UseKey
Set the option Sig attribute of UseKey

Specified by:
setSignatureID in interface UseKey

getSignatureID

public java.net.URI getSignatureID()
Description copied from interface: UseKey
get the Sig attribute value if set, null otherwise

Specified by:
getSignatureID in interface UseKey