All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class PREDATOR.ADT.DocumentObject

java.lang.Object
   |
   +----PREDATOR.ADT.DataObject
           |
           +----PREDATOR.ADT.DocumentObject

public class DocumentObject
extends DataObject
implements CallbackObject, MIMETypeObject
Encapsulates all in-memory data regarding an document ADT object.

See Also:
ADT_document

Constructor Index

 o DocumentObject()

Method Index

 o getFilenameExtension(ADTMetaInfo)
Provides a filename extension suitable for files storing data of this MIME type.
 o getMessage()
Callback objects have the option of supplying a byte string containing additional information about the callback.
 o toString(ADTMetaInfo)
Prints the value of the document

Constructors

 o DocumentObject
 public DocumentObject()

Methods

 o toString
 public String toString(ADTMetaInfo MetaInfo)
Prints the value of the document

Parameters:
MetaInfo - The meta-info for this object
Returns:
A string holding the value of the document
Overrides:
toString in class DataObject
 o getMessage
 public byte[] getMessage()
Callback objects have the option of supplying a byte string containing additional information about the callback. For instance, an image object might specify one of many stored resolutions.

Returns:
A binary message
 o getFilenameExtension
 public String getFilenameExtension(ADTMetaInfo MetaInfo)
Provides a filename extension suitable for files storing data of this MIME type. For instance, JPEG images will supply the extension "jpg".

Returns:
A suitable filename extension for files of this type

All Packages  Class Hierarchy  This Package  Previous  Next  Index