[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Updated: (XMLBEANS-302) Need simpler API for inserting
From:       "Wing Yew Poon (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2009-10-25 3:05:59
Message-ID: 1229478996.1256439959427.JavaMail.jira () brutus
[Download RAW message or body]


     [ 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic