You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Yang ZHONG (JIRA)" <tu...@ws.apache.org> on 2006/12/06 23:22:23 UTC

[jira] Commented: (TUSCANY-928) Define Tuscany SDO options for XMLHelper load and save operations

    [ http://issues.apache.org/jira/browse/TUSCANY-928?page=comments#action_12456240 ] 
            
Yang ZHONG commented on TUSCANY-928:
------------------------------------

To brainstorm, where to host the options and which are the options?

How about XMLHelperImpl/XMLDocumentImpl to host the options? e.g. XMLHelperImpl.LOAD_XXX and XMLHelperImpl.SAVE_XXX.
Or SDOUtil? e.g. SDOUtil.XML_LOAD_XXX and SDOUtil.XML_SAVE_XXX.

How about these options to start with?
Boolean LOAD_SCHEMA
Boolean SAVE_DocType
Integer SAVE_LineWidth
String  SAVE_LineBreak
String  SAVE_INDENT
String  SAVE_MARGIN

> Define Tuscany SDO options for XMLHelper load and save operations
> -----------------------------------------------------------------
>
>                 Key: TUSCANY-928
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-928
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-Mx
>            Reporter: Kelvin Goodson
>
> XMLHelper's load and save operations take an Object argument  "options", which is currently cast to a Map and forwarded to EMF.  Anyone wishing to influence the behaviour of the save/load operations must understand this aspect of EMF and use EMF artifacts in their programs.  We need to design and implement an SDO approach to passing options,  hiding the implementation details completely.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org