[ http://issues.apache.org/jira/browse/WSCOMMONS-90?page=comments#action_12433855 ] Eran Chinthaka commented on WSCOMMONS-90: -----------------------------------------
I consider this as a util method, which is not required to be introduced in to Axiom API. The implementation will be similar to clone method, which gets StAX events from one Node and pump in to another node thru StAXOMBuilder. Any reason you think this *must* be included into the base API and not kept as a util method? > Add importNode(OMNode) method into OMFactory > -------------------------------------------- > > Key: WSCOMMONS-90 > URL: http://issues.apache.org/jira/browse/WSCOMMONS-90 > Project: WS-Commons > Issue Type: Improvement > Components: AXIOM > Reporter: Ruchith Udayanga Fernando > Priority: Blocker > > We need to be able to import a node from one OM implementation to another OM > implementation. Since an AXIOM object structure must only contain objects > from *one* OMFactory. > Proposed solution: > Add the following method to OMFactory interface. > /** > * Import the given node as a node of this factory. > * @param node The Input node. > * @return New node that is created with this factory. > */ > public OMNode importNode(OMNode node) ; -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
