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
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]