MessageAttachment.Factory Class

com.bea.data
MessageAttachment.Factory Class

public static final class MessageAttachment.Factory

    extends Object

Static factory class for creating new instances of MessageAttachment


Hierarchy
Object
  MessageAttachment.Factory
Enclosing interface

MessageAttachment

Constructor Summary

MessageAttachment.Factory()

 

Method Summary

public static MessageAttachment
newInstance(XmlObject xo)
Creates a MessageAttachment instance from an XmlObject containing XML data.
public static MessageAttachment
newInstance(RawData rd)
Creates a MessageAttachment instance from a RawData object containing non-XML (raw) data for which there is no MFL file.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

MessageAttachment.Factory

public MessageAttachment.Factory()
 

Method Detail

newInstance(XmlObject) Method

public static MessageAttachment newInstance(XmlObject xo)
Creates a MessageAttachment instance from an XmlObject containing XML data.

Parameters

xo
XmlObject containing the data.

Returns

a new MessageAttachment instance

newInstance(RawData) Method

public static MessageAttachment newInstance(RawData rd)
Creates a MessageAttachment instance from a RawData object containing non-XML (raw) data for which there is no MFL file.

Parameters

rd
RawData containing the data.

Returns

a new MessageAttachment instance