public void setFieldToNodeValues(Map<XMLField, NodeValue> fieldToNodeValues) {
this.fieldToNodeValues = fieldToNodeValues;
}
private void initializeNodeValue() {
XMLMapping xmlMapping = xmlChoiceCollectionMapping.getChoiceElementMappings().get(xmlField);
if(xmlMapping instanceof XMLBinaryDataCollectionMapping) {
choiceElementNodeValue = new XMLBinaryDataCollectionMappingNodeValue((XMLBinaryDataCollectionMapping)xmlMapping);
} else if(xmlMapping instanceof XMLCompositeDirectCollectionMapping) {
choiceElementNodeValue = new XMLCompositeDirectCollectionMappingNodeValue((XMLCompositeDirectCollectionMapping)xmlMapping);
} else if(xmlMapping instanceof XMLCompositeCollectionMapping) {