Class UseKeyImpl
- java.lang.Object
-
- com.sun.xml.ws.security.trust.impl.bindings.UseKeyType
-
- com.sun.xml.ws.security.trust.impl.elements.UseKeyImpl
-
- All Implemented Interfaces:
UseKey
public class UseKeyImpl extends UseKeyType implements UseKey
- Author:
- Manveen Kaur
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.UseKeyType
any, sig
-
-
Constructor Summary
Constructors Constructor Description UseKeyImpl(Token token)UseKeyImpl(UseKeyType ukType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetSignatureID()get the Sig attribute value if set, null otherwiseTokengetToken()Get the Token contained in the element, null otherwise.voidsetSignatureID(URI sigID)Set the option Sig attribute of UseKeyvoidsetToken(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
-
-
-
-
Constructor Detail
-
UseKeyImpl
public UseKeyImpl(Token token)
-
UseKeyImpl
public UseKeyImpl(@NotNull UseKeyType ukType)
-
-
Method Detail
-
setToken
public void setToken(@NotNull Token token)
Description copied from interface:UseKeySet the Token as the contents of UseKey
-
getToken
public Token getToken()
Description copied from interface:UseKeyGet the Token contained in the element, null otherwise.
-
setSignatureID
public void setSignatureID(@NotNull URI sigID)
Description copied from interface:UseKeySet the option Sig attribute of UseKey- Specified by:
setSignatureIDin interfaceUseKey
-
getSignatureID
public URI getSignatureID()
Description copied from interface:UseKeyget the Sig attribute value if set, null otherwise- Specified by:
getSignatureIDin interfaceUseKey
-
-