com.crystaldecisions.sdk.occa.report.definition
Class BlobFieldObject

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.ReportObject
      extended by com.crystaldecisions.sdk.occa.report.definition.GraphicObject
          extended by com.crystaldecisions.sdk.occa.report.definition.BlobFieldObject
All Implemented Interfaces:
IBlobFieldObject, IGraphicObject, IReportObject, IClone

public class BlobFieldObject
extends GraphicObject
implements IBlobFieldObject, IClone

This object implements a BLOB field, which is a large binary object. It represents an OLE object or a bitmap of some form. You can only associate a BlobFieldObject object with a DBField object. That is, a BlobFieldObject object can only be used to represent data from a database. The size limit on BlobFieldObject objects is 4 GB. When possible, use the IBlobFieldObject interface to manipulate this object.


Constructor Summary
BlobFieldObject()
           
BlobFieldObject(IBlobFieldObject src)
           
 
Method Summary
 java.lang.Object clone(boolean deepClone)
           
 void copyTo(java.lang.Object destObject, boolean deepCopy)
           
 java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
           For internal use only.
 void endElement(java.lang.String eleName, java.util.Map objState)
           For internal use only.
 java.lang.String getDataSourceName()
           Returns which IDBField object will be used as a data source.
 boolean hasContent(java.lang.Object srcBlobFieldObject)
           
 void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
           For internal use only.
 void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt)
           For internal use only.
 void save(XMLWriter writer, XMLSerializationContext ctxt)
           For internal use only.
 void saveContents(XMLWriter writer, XMLSerializationContext ctxt)
           For internal use only.
 void setDataSourceName(java.lang.String dataSourceName)
           Sets which IDBField object will be used as a data source.
 void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
           For internal use only.
 
Methods inherited from class com.crystaldecisions.sdk.occa.report.definition.GraphicObject
enumerateMembers, getOriginalHeight, getOriginalWidth, getPictureFormat, getXscaling, getYscaling, setOriginalHeight, setOriginalWidth, setPictureFormat
 
Methods inherited from class com.crystaldecisions.sdk.occa.report.definition.ReportObject
doControllerModification, getBorder, getBorderMargins, getControllableMixin, getFormat, getHeight, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getVersion, getWidth, isDirectlyControllable, setBorder, setFormat, setHeight, setKind, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setSectionName, setTop, setVersion, setWidth
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.IGraphicObject
getOriginalHeight, getOriginalWidth, getPictureFormat, getXscaling, getYscaling, setOriginalHeight, setOriginalWidth, setPictureFormat
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.IReportObject
getBorder, getBorderMargins, getFormat, getHeight, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getWidth, setBorder, setFormat, setHeight, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setSectionName, setTop, setWidth
 

Constructor Detail

BlobFieldObject

public BlobFieldObject(IBlobFieldObject src)

BlobFieldObject

public BlobFieldObject()
Method Detail

clone

public java.lang.Object clone(boolean deepClone)
Overrides:
clone in class GraphicObject

copyTo

public void copyTo(java.lang.Object destObject,
                   boolean deepCopy)
Overrides:
copyTo in class GraphicObject

createMember

public java.lang.Object createMember(java.lang.String eleName,
                                     org.xml.sax.Attributes attrs,
                                     XMLSerializationContext ctxt,
                                     java.util.Map objState,
                                     boolean[] bLoaded)

For internal use only.

Overrides:
createMember in class GraphicObject

endElement

public void endElement(java.lang.String eleName,
                       java.util.Map objState)

For internal use only.

Overrides:
endElement in class GraphicObject

getDataSourceName

public java.lang.String getDataSourceName()
Description copied from interface: IBlobFieldObject

Returns which IDBField object will be used as a data source. When the report is populated with data, the IBlobFieldObject object will display the contents of the IDBField specified by this method. Use the IDBField.getFormulaForm() method to associate it with an IBlobFieldObject object.

Specified by:
getDataSourceName in interface IBlobFieldObject
Returns:
A String that specifies which IDBField object will be used as a data source.

hasContent

public boolean hasContent(java.lang.Object srcBlobFieldObject)
Overrides:
hasContent in class GraphicObject

readElement

public void readElement(java.lang.String eleName,
                        java.lang.String sVal,
                        org.xml.sax.Attributes attrs,
                        java.util.Map objState)

For internal use only.

Overrides:
readElement in class GraphicObject

save

public void save(XMLWriter writer,
                 XMLSerializationContext ctxt)
          throws java.io.IOException

For internal use only.

Overrides:
save in class GraphicObject
Throws:
java.io.IOException

save

public void save(XMLWriter writer,
                 java.lang.String sTag,
                 XMLSerializationContext ctxt)
          throws java.io.IOException

For internal use only.

Overrides:
save in class GraphicObject
Throws:
java.io.IOException

saveContents

public void saveContents(XMLWriter writer,
                         XMLSerializationContext ctxt)
                  throws java.io.IOException

For internal use only.

Overrides:
saveContents in class GraphicObject
Throws:
java.io.IOException

setDataSourceName

public void setDataSourceName(java.lang.String dataSourceName)
Description copied from interface: IBlobFieldObject

Sets which IDBField object will be used as a data source. When the report is populated with data, the IBlobFieldObject object will display the contents of the IDBField specified by this method. Use the IDBField.getFormulaForm() method to associate it with an IBlobFieldObject object.

Specified by:
setDataSourceName in interface IBlobFieldObject
Parameters:
dataSourceName - A String that specifies which IDBField object will be used as a data source.

startElement

public void startElement(java.lang.String eleName,
                         java.util.Map objState,
                         org.xml.sax.Attributes attrs)

For internal use only.

Overrides:
startElement in class GraphicObject