Class StaticValueLoader
- java.lang.Object
-
- net.officefloor.plugin.xml.unmarshall.load.AbstractValueLoader
-
- net.officefloor.plugin.xml.unmarshall.load.StaticValueLoader
-
public class StaticValueLoader extends AbstractValueLoader
Loader to load a static value onto target object.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
value
Static value to load onto target object.-
Fields inherited from class net.officefloor.plugin.xml.unmarshall.load.AbstractValueLoader
loadMethod
-
-
Constructor Summary
Constructors Constructor Description StaticValueLoader(java.lang.reflect.Method loadMethod, java.lang.Object value)
Initiate with details to static load.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
loadValue(java.lang.Object targetObject)
Loads the static value onto the target object.-
Methods inherited from class net.officefloor.plugin.xml.unmarshall.load.AbstractValueLoader
setValue
-
-
-
-
Method Detail
-
loadValue
public void loadValue(java.lang.Object targetObject) throws XmlMarshallException
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.
-
-