org.w3.xenc
Class EncryptedType

java.lang.Object
  extended by org.w3.xenc.EncryptedType
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString
Direct Known Subclasses:
EncryptedData, EncryptedKey

public abstract class EncryptedType
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for EncryptedType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="EncryptedType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="EncryptionMethod" type="{http://www.w3.org/2001/04/xmlenc#}EncryptionMethodType" minOccurs="0"/>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/>
         <element ref="{http://www.w3.org/2001/04/xmlenc#}CipherData"/>
         <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptionProperties" minOccurs="0"/>
       </sequence>
       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  CipherData cipherData
           
protected  String encoding
           
protected  EncryptionMethodType encryptionMethod
           
protected  EncryptionProperties encryptionProperties
           
protected  String id
           
protected  KeyInfo keyInfo
           
protected  String mimeType
           
protected  String type
           
 
Constructor Summary
EncryptedType()
          Default no-arg constructor
EncryptedType(EncryptionMethodType encryptionMethod, KeyInfo keyInfo, CipherData cipherData, EncryptionProperties encryptionProperties, String id, String type, String mimeType, String encoding)
          Fully-initialising value constructor
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 CipherData getCipherData()
          Gets the value of the cipherData property.
 String getEncoding()
          Gets the value of the encoding property.
 EncryptionMethodType getEncryptionMethod()
          Gets the value of the encryptionMethod property.
 EncryptionProperties getEncryptionProperties()
          Gets the value of the encryptionProperties property.
 String getId()
          Gets the value of the id property.
 KeyInfo getKeyInfo()
          Gets the value of the keyInfo property.
 String getMimeType()
          Gets the value of the mimeType property.
 String getType()
          Gets the value of the type property.
 void setCipherData(CipherData value)
          Sets the value of the cipherData property.
 void setEncoding(String value)
          Sets the value of the encoding property.
 void setEncryptionMethod(EncryptionMethodType value)
          Sets the value of the encryptionMethod property.
 void setEncryptionProperties(EncryptionProperties value)
          Sets the value of the encryptionProperties property.
 void setId(String value)
          Sets the value of the id property.
 void setKeyInfo(KeyInfo value)
          Sets the value of the keyInfo property.
 void setMimeType(String value)
          Sets the value of the mimeType property.
 void setType(String value)
          Sets the value of the type property.
 String toString()
           
 EncryptedType withCipherData(CipherData value)
           
 EncryptedType withEncoding(String value)
           
 EncryptedType withEncryptionMethod(EncryptionMethodType value)
           
 EncryptedType withEncryptionProperties(EncryptionProperties value)
           
 EncryptedType withId(String value)
           
 EncryptedType withKeyInfo(KeyInfo value)
           
 EncryptedType withMimeType(String value)
           
 EncryptedType withType(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

encryptionMethod

protected EncryptionMethodType encryptionMethod

keyInfo

protected KeyInfo keyInfo

cipherData

protected CipherData cipherData

encryptionProperties

protected EncryptionProperties encryptionProperties

id

protected String id

type

protected String type

mimeType

protected String mimeType

encoding

protected String encoding
Constructor Detail

EncryptedType

public EncryptedType()
Default no-arg constructor


EncryptedType

public EncryptedType(EncryptionMethodType encryptionMethod,
                     KeyInfo keyInfo,
                     CipherData cipherData,
                     EncryptionProperties encryptionProperties,
                     String id,
                     String type,
                     String mimeType,
                     String encoding)
Fully-initialising value constructor

Method Detail

getEncryptionMethod

public EncryptionMethodType getEncryptionMethod()
Gets the value of the encryptionMethod property.

Returns:
possible object is EncryptionMethodType

setEncryptionMethod

public void setEncryptionMethod(EncryptionMethodType value)
Sets the value of the encryptionMethod property.

Parameters:
value - allowed object is EncryptionMethodType

getKeyInfo

public KeyInfo getKeyInfo()
Gets the value of the keyInfo property.

Returns:
possible object is KeyInfo

setKeyInfo

public void setKeyInfo(KeyInfo value)
Sets the value of the keyInfo property.

Parameters:
value - allowed object is KeyInfo

getCipherData

public CipherData getCipherData()
Gets the value of the cipherData property.

Returns:
possible object is CipherData

setCipherData

public void setCipherData(CipherData value)
Sets the value of the cipherData property.

Parameters:
value - allowed object is CipherData

getEncryptionProperties

public EncryptionProperties getEncryptionProperties()
Gets the value of the encryptionProperties property.

Returns:
possible object is EncryptionProperties

setEncryptionProperties

public void setEncryptionProperties(EncryptionProperties value)
Sets the value of the encryptionProperties property.

Parameters:
value - allowed object is EncryptionProperties

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getMimeType

public String getMimeType()
Gets the value of the mimeType property.

Returns:
possible object is String

setMimeType

public void setMimeType(String value)
Sets the value of the mimeType property.

Parameters:
value - allowed object is String

getEncoding

public String getEncoding()
Gets the value of the encoding property.

Returns:
possible object is String

setEncoding

public void setEncoding(String value)
Sets the value of the encoding property.

Parameters:
value - allowed object is String

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withEncryptionMethod

public EncryptedType withEncryptionMethod(EncryptionMethodType value)

withKeyInfo

public EncryptedType withKeyInfo(KeyInfo value)

withCipherData

public EncryptedType withCipherData(CipherData value)

withEncryptionProperties

public EncryptedType withEncryptionProperties(EncryptionProperties value)

withId

public EncryptedType withId(String value)

withType

public EncryptedType withType(String value)

withMimeType

public EncryptedType withMimeType(String value)

withEncoding

public EncryptedType withEncoding(String value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.