Class StaticValueLoader
java.lang.Object
net.officefloor.plugin.xml.unmarshall.load.AbstractValueLoader
net.officefloor.plugin.xml.unmarshall.load.StaticValueLoader
Loader to load a static value onto target object.
- Author:
- Daniel Sagenschneider
-
Field Summary
FieldsFields inherited from class net.officefloor.plugin.xml.unmarshall.load.AbstractValueLoader
loadMethod -
Constructor Summary
ConstructorsConstructorDescriptionStaticValueLoader(Method loadMethod, Object value) Initiate with details to static load. -
Method Summary
Methods inherited from class net.officefloor.plugin.xml.unmarshall.load.AbstractValueLoader
setValue
-
Field Details
-
value
Static value to load onto target object.
-
-
Constructor Details
-
StaticValueLoader
Initiate with details to static load.- Parameters:
loadMethod- Method to load static value onto target object.value- Static value to load onto target object.
-
-
Method Details
-
loadValue
Loads the static value onto the target object.- Parameters:
targetObject- Target object to receive the static value.- Throws:
XmlMarshallException- If fails to load the static value to target object.
-