Class ObjectLoader
- java.lang.Object
-
- net.officefloor.plugin.xml.unmarshall.load.ObjectLoader
-
public class ObjectLoader extends java.lang.ObjectLoader to load objects onto the target object.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.reflect.MethodloadMethodMethod to load object onto the target object.protected java.lang.Class<?>loadObjectTypeType of object to be loaded to the target object.
-
Constructor Summary
Constructors Constructor Description ObjectLoader(java.lang.reflect.Method loadMethod, java.lang.Class<?> loadObjectType)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectloadObject(java.lang.Object targetObject)Loads the object onto the target object and returns the loaded object.
-
-
-
Method Detail
-
loadObject
public java.lang.Object loadObject(java.lang.Object targetObject) throws XmlMarshallExceptionLoads the object onto the target object and returns the loaded object.- Parameters:
targetObject- Target object to have object loaded onto it.- Returns:
- Object created and loaded onto the target object.
- Throws:
XmlMarshallException- If fails to marshal the data onto theObject.
-
-