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: Re: [sdo] SDOSource, SDOResult and ContentHandler


Title: SDOSource, SDOResult and ContentHandler
Hi Stefan,

I thought we had all agreed that only the supplier of the SDOResult Implementation could make use of the setDocument API, so that method is not required as the implementation could cast to their own implementation class.  I think the following options for API exist:

Option #1 - SDOSource/SDOResult Minimal API
The following is the bare minimum API that is required.  An SDOSource from one implementation can serve as input to another implementation, but there is no public API available to SDO savvy applications to optimize this process.
  • SDOSource
    • No API
  • SDOResult
    • XMLDocument getDocument();

Option #2 - SDOSource/SDOResult Minimal API & Accessors
The following API builds on option #1, accessors have been added to get the parameters used in the createSDOSource/SDOResult methods.  Assuming API is added to SDO 3 that allows you to get the HelperContext from a DataObject, then some optimizations could be done.
  • SDOSource
    • XMLDocument getDocument();
    • Object getOptions();
  • SDOResult
    • XMLDocument getDocument();
    • Object getOptions();

Option #3 - SDOSource/SDOResult Full API & Accessors
If SDO 3 does not add API to get the HelperContext from a DataObject then additional API would need to be added to get the HelperContext or XMLHelper.
  • SDOSource
    • XMLDocument getDocument();
    • Object getOptions();
    • HelperContext getHelperContext() or XMLHelper getXMLHelper()
  • SDOResult
    • XMLDocument getDocument();
    • Object getOptions();
    • HelperContext getHelperContext() or XMLHelper getXMLHelper()

-Blaise

Buennig, Stefan wrote:
45E8ACF4DC4D7148AB9A906B6B216DAD02145819@dewdfe1m.wdf.sap.corp" type="cite">

Hi all,

here is a proposal for SDOSource, SDOResult and SDOContentHandler.
<<SDOSourceResult4.zip>>
The zip contains the API including JavaDoc and the related chapters in spec as Word-doc.
If my English sounds German don't hesitate to correct me ;-)

Stefan.



--------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php


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