You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2008/01/02 16:43:39 UTC

[jira] Assigned: (WSCOMMONS-287) Add a simple extension mechanism to OMOutputFormat

     [ https://issues.apache.org/jira/browse/WSCOMMONS-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle reassigned WSCOMMONS-287:
----------------------------------------

    Assignee: Rich Scheuerle

This sounds like a good idea.

OMOutputFormat is really a property bag for helping with the serialization of the OMNode.
Extending the class to include generic properies is a step in the right direction.

> Add a simple extension mechanism to OMOutputFormat
> --------------------------------------------------
>
>                 Key: WSCOMMONS-287
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-287
>             Project: WS-Commons
>          Issue Type: Improvement
>          Components: AXIOM
>            Reporter: Andreas Veithen
>            Assignee: Rich Scheuerle
>            Priority: Minor
>
> The proposal is to add two new methods to OMOutputFormat:
> Object getProperty(String key)
> Object setProperty(String key, Object value)
> This would provide a simple extension mechanism. This would be useful for the following use case: when serializing a tree containing OMSourcedElement nodes, the serialization of these nodes is actually handled by the backing OMDataSource objects. These objects receive a reference to the OMOutputFormat and custom implementations could use the proposed extension mechanism to allow better control of the serialization.
> Note that since OMOutputFormat is a concrete class, adding the get/setProperty methods would not impact existing code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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