IParsable

Kind of class:interface
Inherits from:none
Implemented by:
Classpath:org.asapframework.data.loader.IParsable
File last modified:Monday, 09 October 2006, 23:33:37
Interface to implement in DataValueObject classes that get their data through the Parser class.
The Parser class calls the parseObject function with data from org.asapframework.util.xml.XML2Object.parseXML. The implementing class is expected to use this Object to retrieve data from.

Summary


Instance methods
  • parseObject (o:Object) : Boolean
    • Parse an object (from XML or otherwise) into typed variables.

Instance methods

parseObject

function parseObject (
o:Object) : Boolean

Parse an object (from XML or otherwise) into typed variables.
Parameters:
o:
Object containing data
Returns:
  • true if parsing went ok, otherwise false