OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sdo message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [sdo] [SDO-24]: Support for Attachments



Steve Brodsky [20/Apr/06 12:18 AM] 
Would these APIs from Issue #33 work? I added a MIME-TYPE parameter.

Methods to serialize DataOjects in optimal format, default is XML. These
are service interface methods.
This proposal is a part of SDO Roadmap goal #5 on External Formats.

/**
Convert the DataObjects into the SPI preferred format 
and serialize to the OutputStream. 
The SPI may use a representation that is more efficient than XML. 
The default behavior is the same as XMLHelper.save(dataObject,
"commonj.sdo", "dataObject");
*/
void serialize(DataObject dataObject, OutputStream outputStream, String
mimeType); 

/**
Convert the InputStream to DataObjects, where the InputStream is in SPI
preferred format. 
The SPI may use a representation that is more efficient than XML. 
The default behavior is the same as
XMLHelper.load(inputStream).getDataObject();
*/
dataObject deserialize(InputStream inputStream, String mimeType); 



James Taylor [20/Apr/06 02:15 AM] 
We agree that attachments should be supported, but would like this to be
part of 3.0.



Blaise Doughan [19/Sep/06 07:53 PM] 
This is a feature that we (Oracle) would still like to see in the SDO
specification, but we are willing to drop this as a requirement for
version 2.1 and add it to the list of features being considered for
version 3.0.




Notice:  This email message, together with any attachments, may contain information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,  copyrighted  and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]