Class AbstractValueLoader
- java.lang.Object
-
- net.officefloor.plugin.xml.unmarshall.load.AbstractValueLoader
-
- Direct Known Subclasses:
DynamicValueLoader,StaticValueLoader
public abstract class AbstractValueLoader extends java.lang.ObjectAbstract value loader.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.reflect.MethodloadMethodMethod to load value onto the target object.
-
Constructor Summary
Constructors Constructor Description AbstractValueLoader(java.lang.reflect.Method loadMethod)Initiate with ability to load value onto target object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetValue(java.lang.Object targetObject, java.lang.Object value)Sets the value onto the target object.
-
-
-
Method Detail
-
setValue
protected void setValue(java.lang.Object targetObject, java.lang.Object value) throws XmlMarshallExceptionSets the 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.
-
-