alma::tools::entitybuilder::XmlInOut Class Reference

Collaboration diagram for alma::tools::entitybuilder::XmlInOut:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XmlInOut ()
ObsProposal unmarshalObsProposal (String xmlFileName) throws FileNotFoundException, MarshalException, ValidationException
ObsProject unmarshalObsProject (String xmlFileName) throws FileNotFoundException, MarshalException, ValidationException
String marshalObsProposalToFile (ObsProposal prop, String originalXmlFilename) throws MarshalException, ValidationException, IOException
String marshalObsProjectToFile (ObsProject proj, String originalXmlFilename) throws MarshalException, ValidationException, IOException

Private Member Functions

String getRemarshaledFilename (String filename)

Private Attributes

File module_dir

Static Private Attributes

static final String pathToXmlSamples = "test/data/xml_instances_fake/"

Detailed Description

Test helper class that manages sample XML files, the unmarshaling to Castor classes, and marshalling back to files.

Author:
hsommer created Mar 1, 2005 12:02:37 PM

Constructor & Destructor Documentation

alma::tools::entitybuilder::XmlInOut::XmlInOut (  )  [inline]

References module_dir.


Member Function Documentation

String alma::tools::entitybuilder::XmlInOut::getRemarshaledFilename ( String  filename  )  [inline, private]
String alma::tools::entitybuilder::XmlInOut::marshalObsProjectToFile ( ObsProject  proj,
String  originalXmlFilename 
) throws MarshalException, ValidationException, IOException [inline]
String alma::tools::entitybuilder::XmlInOut::marshalObsProposalToFile ( ObsProposal  prop,
String  originalXmlFilename 
) throws MarshalException, ValidationException, IOException [inline]
ObsProject alma::tools::entitybuilder::XmlInOut::unmarshalObsProject ( String  xmlFileName  )  throws FileNotFoundException, MarshalException, ValidationException [inline]
ObsProposal alma::tools::entitybuilder::XmlInOut::unmarshalObsProposal ( String  xmlFileName  )  throws FileNotFoundException, MarshalException, ValidationException [inline]

Member Data Documentation

final String alma::tools::entitybuilder::XmlInOut::pathToXmlSamples = "test/data/xml_instances_fake/" [static, private]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2