public void setUnmarshalNodeValue(NodeValue nodeValue) { if (null != nodeValue) { nodeValue.setXPathNode(this); } this.unmarshalNodeValue = nodeValue; }
public void setUnmarshalNodeValue(NodeValue nodeValue) { if (null != nodeValue) { nodeValue.setXPathNode(this); } this.unmarshalNodeValue = nodeValue; }
public void setNodeValue(NodeValue nodeValue) { this.marshalNodeValue = nodeValue; this.unmarshalNodeValue = nodeValue; if (null != nodeValue) { nodeValue.setXPathNode(this); } }
public void setMarshalNodeValue(NodeValue nodeValue) { if (null != nodeValue) { nodeValue.setXPathNode(this); } this.marshalNodeValue = nodeValue; }
public void setUnmarshalNodeValue(NodeValue nodeValue) { if (null != nodeValue) { nodeValue.setXPathNode(this); } this.unmarshalNodeValue = nodeValue; }
public void setXPathNode(XPathNode xPathNode) { super.setXPathNode(xPathNode); this.choiceElementNodeValue.setXPathNode(xPathNode); }
public void setXPathNode(XPathNode xPathNode) { super.setXPathNode(xPathNode); this.choiceElementNodeValue.setXPathNode(xPathNode); }
public void setXPathNode(XPathNode xPathNode) { super.setXPathNode(xPathNode); this.choiceElementNodeValue.setXPathNode(xPathNode); if(this.choiceElementNodeValues != null) { for(NodeValue next:choiceElementNodeValues.values()) { next.setXPathNode(xPathNode); } } }
public void setXPathNode(XPathNode xPathNode) { super.setXPathNode(xPathNode); this.choiceElementNodeValue.setXPathNode(xPathNode); if(this.choiceElementNodeValues != null) { for(NodeValue next:choiceElementNodeValues.values()) { next.setXPathNode(xPathNode); } } }
public void setMarshalNodeValue(NodeValue nodeValue) { if (null != nodeValue) { nodeValue.setXPathNode(this); } this.marshalNodeValue = nodeValue; isMarshalOnlyNodeValue = marshalNodeValue.isMarshalOnlyNodeValue(); }
@Override public void setXPathNode(XPathNode xPathNode) { super.setXPathNode(xPathNode); if(this.anyNodeValue != null) { this.anyNodeValue.setXPathNode(xPathNode); } }
public void setMarshalNodeValue(NodeValue nodeValue) { if (null != nodeValue) { nodeValue.setXPathNode(this); } this.marshalNodeValue = nodeValue; isMarshalOnlyNodeValue = marshalNodeValue.isMarshalOnlyNodeValue(); }
@Override public void setXPathNode(XPathNode xPathNode) { super.setXPathNode(xPathNode); if(this.anyNodeValue != null) { this.anyNodeValue.setXPathNode(xPathNode); } }
public void setNodeValue(NodeValue nodeValue) { this.marshalNodeValue = nodeValue; this.unmarshalNodeValue = nodeValue; if (null != nodeValue) { nodeValue.setXPathNode(this); isMarshalOnlyNodeValue = nodeValue.isMarshalOnlyNodeValue(); } }
public void setNodeValue(NodeValue nodeValue) { this.marshalNodeValue = nodeValue; this.unmarshalNodeValue = nodeValue; if (null != nodeValue) { nodeValue.setXPathNode(this); isMarshalOnlyNodeValue = nodeValue.isMarshalOnlyNodeValue(); } }
public void setXPathNode(XPathNode xPathNode) { super.setXPathNode(xPathNode); this.choiceElementNodeValue.setXPathNode(xPathNode); }
public void setXPathNode(XPathNode xPathNode) { super.setXPathNode(xPathNode); this.choiceElementNodeValue.setXPathNode(xPathNode); }
public void setFieldToNodeValues(Map<Field, NodeValue> fieldToNodeValues) { this.fieldToNodeValues = fieldToNodeValues; this.classToNodeValues = new HashMap<Class, List<FieldNodeValue>>(); for(Field nextField:fieldToNodeValues.keySet()) { Class associatedClass = ((Map<Field, Class>)this.xmlChoiceCollectionMapping.getFieldToClassMappings()).get(nextField); if (classToNodeValues.containsKey(associatedClass)) { classToNodeValues.get(associatedClass).add(new FieldNodeValue(nextField, fieldToNodeValues.get(nextField))); } else { List<FieldNodeValue> newFieldToNodeValuesList = new ArrayList<FieldNodeValue>(); newFieldToNodeValuesList.add(new FieldNodeValue(nextField, fieldToNodeValues.get(nextField))); this.classToNodeValues.put(associatedClass, newFieldToNodeValuesList); } } Collection classes = this.classToNodeValues.keySet(); for(Class nextClass:((Map<Class, Mapping>)this.xmlChoiceCollectionMapping.getChoiceElementMappingsByClass()).keySet()) { //Create node values for any classes that aren't already processed if(!(classes.contains(nextClass))) { Field field = (Field) xmlChoiceCollectionMapping.getClassToFieldMappings().get(nextClass); NodeValue nodeValue = new XMLChoiceCollectionMappingUnmarshalNodeValue(xmlChoiceCollectionMapping, xmlField, (Mapping) xmlChoiceCollectionMapping.getChoiceElementMappingsByClass().get(nextClass)); List<FieldNodeValue> newFieldToNodeValuesList = new ArrayList<FieldNodeValue>(); newFieldToNodeValuesList.add(new FieldNodeValue(field, nodeValue)); this.classToNodeValues.put(nextClass, newFieldToNodeValuesList); NodeValue nodeValueForField = fieldToNodeValues.get(field); nodeValue.setXPathNode(nodeValueForField.getXPathNode()); } } }
public void setFieldToNodeValues(Map<Field, NodeValue> fieldToNodeValues) { this.fieldToNodeValues = fieldToNodeValues; this.classToNodeValues = new HashMap<Class, List<FieldNodeValue>>(); for(Field nextField:fieldToNodeValues.keySet()) { Class associatedClass = ((Map<Field, Class>)this.xmlChoiceCollectionMapping.getFieldToClassMappings()).get(nextField); if (classToNodeValues.containsKey(associatedClass)) { classToNodeValues.get(associatedClass).add(new FieldNodeValue(nextField, fieldToNodeValues.get(nextField))); } else { List<FieldNodeValue> newFieldToNodeValuesList = new ArrayList<FieldNodeValue>(); newFieldToNodeValuesList.add(new FieldNodeValue(nextField, fieldToNodeValues.get(nextField))); this.classToNodeValues.put(associatedClass, newFieldToNodeValuesList); } } Collection classes = this.classToNodeValues.keySet(); for(Class nextClass:((Map<Class, Mapping>)this.xmlChoiceCollectionMapping.getChoiceElementMappingsByClass()).keySet()) { //Create node values for any classes that aren't already processed if(!(classes.contains(nextClass))) { Field field = (Field) xmlChoiceCollectionMapping.getClassToFieldMappings().get(nextClass); NodeValue nodeValue = new XMLChoiceCollectionMappingUnmarshalNodeValue(xmlChoiceCollectionMapping, xmlField, (Mapping) xmlChoiceCollectionMapping.getChoiceElementMappingsByClass().get(nextClass)); List<FieldNodeValue> newFieldToNodeValuesList = new ArrayList<FieldNodeValue>(); newFieldToNodeValuesList.add(new FieldNodeValue(field, nodeValue)); this.classToNodeValues.put(nextClass, newFieldToNodeValuesList); NodeValue nodeValueForField = fieldToNodeValues.get(field); nodeValue.setXPathNode(nodeValueForField.getXPathNode()); } } }