[
https://issues.apache.org/jira/browse/XMLBEANS-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wing Yew Poon updated XMLBEANS-302:
-----------------------------------
Issue Type: New Feature (was: Bug)
> Need simpler API for inserting XmlObject into "any"
> ---------------------------------------------------
>
> Key: XMLBEANS-302
> URL: https://issues.apache.org/jira/browse/XMLBEANS-302
> Project: XMLBeans
> Issue Type: New Feature
> Components: Binding
> Affects Versions: Version 2.2.1
> Reporter: Hacking Bear
>
> Currently, one must rely on the cursor API to insert XmlObject into a target
> object
> Given XMLBean is all about API-friendiness, the prevalent uses of 'any' in
> XML schema, and inserting one xml object into another (like inserting into a
> SOAP Body) is a frequent operation, I propose adding following methods to any
> complexType that takes 'any' elements:
> List<XmlObject> getAllUndeclaredObjects();
> void addUndeclaredObject(XmlObject);
> void removeUndeclaredObject(XmlObject);
> If one can find better names, that would be great!
--
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]