Map qnameToListMap = new HashMap();
XmlCursor xCursor = xmlObjectToSearch.newCursor();
for ( boolean hasNext = xCursor.toFirstChild(); hasNext; hasNext = xCursor.toNextSibling() )
{
XmlObject siblingXmlObject = xCursor.getObject();
QName siblingXmlObjectQname = siblingXmlObject.schemaType().getName();
// TODO: should this be tested against the original bean
//if it contains the ElementProperty, then it is not an Any
if ( siblingXmlObject.schemaType().getElementProperty( siblingXmlObjectQname ) != null )
{