This method (along with buildInputFromObject and the Layout Manager infrastructure) allows us to generalize the serialization our message objects so we don't have to put all of that logic in the objects themselves. We just implement new Layout Managers and associate those layouts to the objects. All objects have an Xml Layout Manager associated to them that is derived from the EnterpriseObjects.xml document.
@return Object the data that will be built from the object. The calling applicatonswill cast this object to the appropriate thing. e.g. - Element, String etc.
@throws EnterpriseLayoutException.If an error occurs building the outputfrom the object.
|
|