Class ObjectLoader
java.lang.Object
net.officefloor.plugin.xml.unmarshall.load.ObjectLoader
Loader to load objects onto the target object.
- Author:
- Daniel Sagenschneider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadObject(Object targetObject) Loads the object onto the target object and returns the loaded object.
-
Field Details
-
loadMethod
Method to load object onto the target object. -
loadObjectType
Type of object to be loaded to the target object.
-
-
Constructor Details
-
ObjectLoader
Initiate.- Parameters:
loadMethod- Method to load object onto the target object.loadObjectType- Type of object to be loaded to the target object.
-
-
Method Details
-
loadObject
Loads 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.
-