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

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.bindings.EncryptionType
      extended by com.sun.xml.ws.security.trust.impl.elements.EncryptionImpl
All Implemented Interfaces:
Encryption

public class EncryptionImpl
extends com.sun.xml.ws.security.trust.impl.bindings.EncryptionType
implements Encryption


Field Summary
 
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.EncryptionType
any
 
Constructor Summary
EncryptionImpl(com.sun.xml.ws.security.trust.impl.bindings.EncryptionType encType)
           
EncryptionImpl(SecurityTokenReference str)
           
EncryptionImpl(com.sun.xml.ws.security.Token token)
           
 
Method Summary
 SecurityTokenReference getSecurityTokenReference()
          Get the STR contained in this Encryption Type
 java.lang.String getTargetType()
          Get the type of the Encryption information item
 com.sun.xml.ws.security.Token getToken()
          Get the Token contained in this Encryption instance
 void setSecurityTokenReference(SecurityTokenReference ref)
          Set the STR for the Token as the contents of Encryption
 void setTargetType(java.lang.String ttype)
           
 void setToken(com.sun.xml.ws.security.Token token)
          Set the Token as the contents of Encryption
 
Methods inherited from class com.sun.xml.ws.security.trust.impl.bindings.EncryptionType
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.Encryption
getAny, setAny
 

Constructor Detail

EncryptionImpl

public EncryptionImpl(SecurityTokenReference str)

EncryptionImpl

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

EncryptionImpl

public EncryptionImpl(com.sun.xml.ws.security.trust.impl.bindings.EncryptionType encType)
Method Detail

getTargetType

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

Specified by:
getTargetType in interface Encryption

setTargetType

public final void setTargetType(java.lang.String ttype)

setSecurityTokenReference

public final void setSecurityTokenReference(SecurityTokenReference ref)
Description copied from interface: Encryption
Set the STR for the Token as the contents of Encryption

Specified by:
setSecurityTokenReference in interface Encryption

getSecurityTokenReference

public SecurityTokenReference getSecurityTokenReference()
Description copied from interface: Encryption
Get the STR contained in this Encryption Type

Specified by:
getSecurityTokenReference in interface Encryption

setToken

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

Specified by:
setToken in interface Encryption

getToken

public com.sun.xml.ws.security.Token getToken()
Description copied from interface: Encryption
Get the Token contained in this Encryption instance

Specified by:
getToken in interface Encryption