You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Wing Yew Poon (JIRA)" <xm...@xml.apache.org> on 2009/10/25 04:05:59 UTC

[jira] Updated: (XMLBEANS-302) Need simpler API for inserting XmlObject into "any"

     [ 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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org