de.osci.osci12.messageparts
Class ContentPackage

java.lang.Object
  |
  +--de.osci.osci12.messageparts.MessagePart
        |
        +--de.osci.osci12.messageparts.ContentPackage

public class ContentPackage
extends MessagePart

*

ContentPackage

Die ContentPackage Klasse wird verwendet um sämtliche Nutzdaten einer OSCI-Nachricht zu bündeln. Der Benutzer der OSCI-Bibliothek bekommt von dieser Klasse nichts mit. Unterhalb des Content-Packages werden alle Content-Container und verschlüsselte Content-Container eingetragen (EncryptedDataOSCI- Objekte)

Copyright: Copyright (c) 2003

Organisation: bremen online services GmbH & Co. KG


Constructor Summary
ContentPackage(OSCIMessage parentMessage)
          Constructor for the ContentPackage object
 
Method Summary
 void addContentContainer(ContentContainer coco)
          Adds a feature to the ContentContainer attribute of the ContentPackage object
 void addEncryptedData(EncryptedDataOSCI encryptedDataElement)
          Adds a feature to the EncryptedData attribute of the ContentPackage object
 void addEncryptedData(EncryptedDataOSCI encryptedDataElement, Attachment[] atts)
          Adds a feature to the EncryptedData attribute of the ContentPackage object
 java.lang.String toString()
          Description of the Method
 void writeXML(java.io.OutputStream out)
          Description of the Method
 
Methods inherited from class de.osci.osci12.messageparts.MessagePart
addTransformerForSignature, getDigestMethodAlgorithm, getDigestValue, getRefID, getTransformerForSignature, setDigestMethodAlgorithm, setRefID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentPackage

public ContentPackage(OSCIMessage parentMessage)
Constructor for the ContentPackage object

Parameters:
parentMessage - Description of Parameter
Method Detail

addEncryptedData

public void addEncryptedData(EncryptedDataOSCI encryptedDataElement,
                             Attachment[] atts)
Adds a feature to the EncryptedData attribute of the ContentPackage object

Parameters:
encryptedDataElement - The feature to be added to the EncryptedData attribute
atts - The feature to be added to the EncryptedData attribute

addEncryptedData

public void addEncryptedData(EncryptedDataOSCI encryptedDataElement)
Adds a feature to the EncryptedData attribute of the ContentPackage object

Parameters:
encryptedDataElement - The feature to be added to the EncryptedData attribute

addContentContainer

public void addContentContainer(ContentContainer coco)
Adds a feature to the ContentContainer attribute of the ContentPackage object

Parameters:
coco - The feature to be added to the ContentContainer attribute

writeXML

public void writeXML(java.io.OutputStream out)
Description of the Method

Specified by:
writeXML in class MessagePart
Parameters:
out - Description of Parameter

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class MessagePart
Returns:
Description of the Returned Value