com.bea.data
Class MessageAttachment.Factory

java.lang.Object
  extended bycom.bea.data.MessageAttachment.Factory
Enclosing class:
MessageAttachment

public static final class MessageAttachment.Factory
extends Object

Static factory class for creating new instances of MessageAttachment


Constructor Summary
MessageAttachment.Factory()
           
 
Method Summary
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.
static MessageAttachment newInstance(com.bea.xml.XmlObject xo)
          Creates a MessageAttachment instance from an XmlObject containing XML data.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageAttachment.Factory

public MessageAttachment.Factory()
Method Detail

newInstance

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

Parameters:
xo - XmlObject containing the data.
Returns:
a new MessageAttachment instance

newInstance

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