Using the currently assigned input layout manager, this method takes the input passed in and builds the object from that input. For example, if the data passed in is a BasicPerson XML Element, and the current inputLayoutManager is the XmlLayout manager, it will ask the layout manager to build the BasicPerson object from that element. The layout manager will then take the data in the element and put it into the appropriate instance variables (via object getter/setter methods). While it's doing that, the input data will be validated based on business rules found in the EnterpriseFields object (built from EnterpriseObjects.xml)
Additionally, if the data passed in is "application specific" data (like codes) this data will be converted to Enterprise Values based on Translation information also obtained from the EnterpriseObjects.xml document.
This method (along with buildOutputFromObject and the Layout Manager infrastructure) allows us to generalize the building 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.
@param input Object the data that will be used to build the object.e.g. - Element, String etc.
@throws EnterpriseLayoutException.If an error occurs building the objectfrom the data passed in.