Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Version 2.2.1
-
None
-
None
Description
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!