List<Object> resultList = new ArrayList<Object>();
for( JAXBAssociation association : associations ) {
if (association.getJaxbObject()==null) {
// this association is partial; see JAXBAssociation javadoc for more
throw new XPathBinderAssociationIsPartialException("no object association for xpath result: "
+ association.getDomNode().getNodeName());
} else {
resultList.add(association.getJaxbObject());
}
}