de.osci.osci12.messageparts
Class MessagePartsFactory

java.lang.Object
  |
  +--de.osci.osci12.messageparts.MessagePartsFactory

public class MessagePartsFactory
extends java.lang.Object

Die Methoden dieser Factory-Klasse werden von Anwendungen nicht benötigt und sind deshalb nicht dokumentiert.

Copyright: Copyright (c) 2003

Organisation: bremen online services GmbH & Co. KG

Version:
1.0

Constructor Summary
MessagePartsFactory()
           
 
Method Summary
static Attachment attachment(java.io.InputStream ins, java.lang.String refId, long length)
           
static void attachmentSetState(Attachment att, int newState, boolean encrypted)
           
static void attachmentSetStream(Attachment attachment, java.io.InputStream ins, boolean encrypt, long length)
           
static de.osci.osci12.messageparts.ContentPackageBuilder createContentPackageBuilder(OSCIMessageBuilder omb)
           
static OSCISignature createOSCISignature(java.lang.String enclosingElement)
           
static de.osci.osci12.messageparts.OSCISignatureBuilder createOsciSignatureBuilder(org.xml.sax.XMLReader xmlReader, org.xml.sax.helpers.DefaultHandler parentHandler, org.xml.sax.Attributes atts)
           
static de.osci.osci12.messageparts.OSCISignatureReference createOSCISignatureReference(MessagePart mp)
           
static ProcessCardBundle createProcessCardBundle(java.lang.String name, java.lang.String messageId, java.lang.String recentModification, Timestamp creation, Timestamp forwarding, Timestamp reception, java.lang.String subject, Inspection[] inspections)
           
static void writeXML(MessagePart mp, java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagePartsFactory

public MessagePartsFactory()
Method Detail

createContentPackageBuilder

public static de.osci.osci12.messageparts.ContentPackageBuilder createContentPackageBuilder(OSCIMessageBuilder omb)

createOsciSignatureBuilder

public static de.osci.osci12.messageparts.OSCISignatureBuilder createOsciSignatureBuilder(org.xml.sax.XMLReader xmlReader,
                                                                                          org.xml.sax.helpers.DefaultHandler parentHandler,
                                                                                          org.xml.sax.Attributes atts)

createProcessCardBundle

public static ProcessCardBundle createProcessCardBundle(java.lang.String name,
                                                        java.lang.String messageId,
                                                        java.lang.String recentModification,
                                                        Timestamp creation,
                                                        Timestamp forwarding,
                                                        Timestamp reception,
                                                        java.lang.String subject,
                                                        Inspection[] inspections)

createOSCISignature

public static OSCISignature createOSCISignature(java.lang.String enclosingElement)

createOSCISignatureReference

public static de.osci.osci12.messageparts.OSCISignatureReference createOSCISignatureReference(MessagePart mp)
                                                                                       throws java.io.IOException,
                                                                                              java.security.NoSuchAlgorithmException,
                                                                                              OSCIException
java.io.IOException
java.security.NoSuchAlgorithmException
OSCIException

attachment

public static Attachment attachment(java.io.InputStream ins,
                                    java.lang.String refId,
                                    long length)
                             throws java.io.IOException,
                                    java.security.NoSuchAlgorithmException
java.io.IOException
java.security.NoSuchAlgorithmException

attachmentSetStream

public static void attachmentSetStream(Attachment attachment,
                                       java.io.InputStream ins,
                                       boolean encrypt,
                                       long length)
                                throws java.io.IOException,
                                       java.security.NoSuchAlgorithmException
java.io.IOException
java.security.NoSuchAlgorithmException

attachmentSetState

public static void attachmentSetState(Attachment att,
                                      int newState,
                                      boolean encrypted)

writeXML

public static void writeXML(MessagePart mp,
                            java.io.OutputStream out)
                     throws java.io.IOException,
                            OSCIException
java.io.IOException
OSCIException


Copyright © 2004. All Rights Reserved.