MessageAttachment Interface
com.bea.data
MessageAttachment Interface
- public interface MessageAttachment
extends Serializable
Represents part of an attachment in an ebXML or RosettaNet business message. Provides methods for retrieving
untyped XML or non-XML data from an attachment.
-
All Superinterfaces
-
Serializable
public RawData |
-
getRawData ()
- Retrieves this portion of the attachment as non-XML (raw)
data.
|
public XmlObject |
-
getXmlObject ()
- Retrieves this portion of the attachment as an XmlObject.
|
public boolean |
-
isRawData ()
- Returns true if this portion of the attachment contains non-XML (raw) data.
|
public boolean |
-
isXmlObject ()
- Returns true if this portion of the attachment contains untyped XML data.
|
public String |
-
toString ()
- Converts this portion of the attachment to a String.
|
serialVersionUID
public static final long serialVersionUID
getRawData() Method
public RawData
getRawData()
Retrieves this portion of the attachment as non-XML (raw)
data. Call isRawData() first to verify that the data is raw data.
getXmlObject() Method
public XmlObject
getXmlObject()
Retrieves this portion of the attachment as an XmlObject.
Call isXmlObject() first to verify that the data is untyped XML.
isRawData() Method
public boolean isRawData()
Returns true if this portion of the attachment contains non-XML (raw) data.
isXmlObject() Method
public boolean isXmlObject()
Returns true if this portion of the attachment contains untyped XML data.
toString() Method
public String
toString()
Converts this portion of the attachment to a String. Overrides: toString in class Object.
-
Overrides
-
Object.toString()