com.adobe.icc.render.obj
Class Content

java.lang.Object
  extended by com.adobe.icc.render.obj.Content
All Implemented Interfaces:
Serializable

public class Content
extends Object
implements Serializable

Holder object for the type and data of a resolved Data Module.

See Also:
Serialized Form

Nested Class Summary
static class Content.ModuleType
           
 
Constructor Summary
Content(Content.ModuleType moduleType, byte[] data, String toolTip, MimeType mimeType, String moduleId)
           
Content(Content.ModuleType moduleType, byte[] data, String toolTip, MimeType mimeType, String moduleId, boolean empty)
           
Content(Content.ModuleType moduleType, byte[] data, String toolTip, MimeType mimeType, String moduleId, boolean empty, Vector ancestry)
           
Content(Content.ModuleType moduleType, byte[] data, String toolTip, MimeType mimeType, String moduleId, boolean empty, Vector ancestry, int moduleIdent)
           
 
Method Summary
 void applyAncestry(Vector ancestry)
           
 byte[] getData()
           
 Byte[] getDataArray()
           
 Object[][] getLineage()
           
 MimeType getMimeType()
           
 String getModuleId()
           
 int getModuleIdent()
           
 Content.ModuleType getModuleType()
           
 String getToolTip()
           
 boolean isEmpty()
           
 void setData(byte[] data)
           
 void setDataArray(Byte[] dataArray)
           
 void setEmpty(boolean empty)
           
 void setLineage(Object[][] lineage)
           
 void setMimeType(MimeType mimeType)
           
 void setModuleId(String moduleId)
           
 void setModuleIdent(int moduleIdent)
           
 void setModuleType(Content.ModuleType moduleType)
           
 void setToolTip(String toolTip)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content(Content.ModuleType moduleType,
               byte[] data,
               String toolTip,
               MimeType mimeType,
               String moduleId)

Content

public Content(Content.ModuleType moduleType,
               byte[] data,
               String toolTip,
               MimeType mimeType,
               String moduleId,
               boolean empty)

Content

public Content(Content.ModuleType moduleType,
               byte[] data,
               String toolTip,
               MimeType mimeType,
               String moduleId,
               boolean empty,
               Vector ancestry)

Content

public Content(Content.ModuleType moduleType,
               byte[] data,
               String toolTip,
               MimeType mimeType,
               String moduleId,
               boolean empty,
               Vector ancestry,
               int moduleIdent)
Method Detail

getModuleType

public Content.ModuleType getModuleType()

setModuleType

public void setModuleType(Content.ModuleType moduleType)

getData

public byte[] getData()

setData

public void setData(byte[] data)

getToolTip

public String getToolTip()

setToolTip

public void setToolTip(String toolTip)

getMimeType

public MimeType getMimeType()
Returns:
the mimeType

setMimeType

public void setMimeType(MimeType mimeType)
Parameters:
mimeType - the mimeType to set

getDataArray

public Byte[] getDataArray()

setDataArray

public void setDataArray(Byte[] dataArray)

getModuleId

public String getModuleId()

setModuleId

public void setModuleId(String moduleId)

isEmpty

public boolean isEmpty()

setEmpty

public void setEmpty(boolean empty)

getLineage

public Object[][] getLineage()

setLineage

public void setLineage(Object[][] lineage)

getModuleIdent

public int getModuleIdent()
Returns:
the moduleIdent

setModuleIdent

public void setModuleIdent(int moduleIdent)
Parameters:
moduleIdent - the moduleIdent to set

applyAncestry

public void applyAncestry(Vector ancestry)


[an error occurred while processing this directive] [an error occurred while processing this directive]