Public Member Functions | Protected Member Functions

alma.acs.tools.comphelpergen.CompHelperGenerator Class Reference

List of all members.

Public Member Functions

 CompHelperGenerator ()
 CompHelperGenerator (boolean verbose)
void generate (String contents)

Protected Member Functions

ComponentHelperInfo getFilePar (String contents)
void saveHelperClasses (ComponentHelperInfo compHelpInfo, String contents, int fileNum)

Detailed Description

Author:
rgeorgie

Main class of a tool that generates component "helper" classes given an xml string as an input. If a required attribute is missing, there is no call for a class to be generated.


Constructor & Destructor Documentation

alma.acs.tools.comphelpergen.CompHelperGenerator.CompHelperGenerator (  ) 
alma.acs.tools.comphelpergen.CompHelperGenerator.CompHelperGenerator ( boolean  verbose  ) 
See also:
java.lang.Object.Object() Constructor creates instances of the classes needed for the generation of a helper class.

Member Function Documentation

void alma.acs.tools.comphelpergen.CompHelperGenerator.generate ( String  contents  ) 

TODO: DeRadification of the idiosynchratic formation of methods..

Method generate. Generates a file by reading the xml specification.

Parameters:
contents 

References alma.acs.tools.comphelpergen.CompHelperGenerator.getFilePar(), and alma.acs.tools.comphelpergen.CompHelperGenerator.saveHelperClasses().

Referenced by alma.tools.idlgen.comphelpgen.ComponentHelperGeneratorProxy.generateComponentHelperCode().

ComponentHelperInfo alma.acs.tools.comphelpergen.CompHelperGenerator.getFilePar ( String  contents  )  [protected]

Method getFilePar. Gets information about COBs from xml input string.

Parameters:
contents 
Returns:
ComponentHelperInfo

References org.exolab.castor.core.exceptions.CastorException.printStackTrace(), and alma.acs.tools.comphelpergen.generated.ComponentHelperInfo.unmarshalComponentHelperInfo().

Referenced by alma.acs.tools.comphelpergen.CompHelperGenerator.generate().

void alma.acs.tools.comphelpergen.CompHelperGenerator.saveHelperClasses ( ComponentHelperInfo  compHelpInfo,
String  contents,
int  fileNum 
) [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties