Class DynamicValueLoader
java.lang.Object
net.officefloor.plugin.xml.unmarshall.load.AbstractValueLoader
net.officefloor.plugin.xml.unmarshall.load.DynamicValueLoader
Loader to load value onto target object.
- Author:
- Daniel Sagenschneider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final TranslatorTranslator to translate the XML string value to type to load onto the object.Fields inherited from class net.officefloor.plugin.xml.unmarshall.load.AbstractValueLoader
loadMethod -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.officefloor.plugin.xml.unmarshall.load.AbstractValueLoader
setValue
-
Field Details
-
translator
Translator to translate the XML string value to type to load onto the object.
-
-
Constructor Details
-
DynamicValueLoader
Initiate.- Parameters:
loadMethod- Method to use to load value onto the target object.translator- Translator to translate the XML string value to type to load onto the object.
-
-
Method Details
-
loadValue
Loads the XML string value onto the target object.- Parameters:
targetObject- Target object to have value loaded on.value- Value to load onto the target object.- Throws:
XmlMarshallException- Failed to load value onto target object.
-