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

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

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


Field Summary
 
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.UseKeyType
any, sig
 
Constructor Summary
UseKeyImpl(com.sun.xml.ws.security.Token token)
           
UseKeyImpl(com.sun.xml.ws.security.trust.impl.bindings.UseKeyType ukType)
           
 
Method Summary
 java.net.URI getSignatureID()
          get the Sig attribute value if set, null otherwise
 com.sun.xml.ws.security.Token getToken()
          Get the Token contained in the element, null otherwise.
 void setSignatureID(java.net.URI sigID)
          Set the option Sig attribute of UseKey
 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.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(@NotNull
                  com.sun.xml.ws.security.trust.impl.bindings.UseKeyType ukType)
Method Detail

setToken

public void setToken(@NotNull
                     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(@NotNull
                           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