com.opnworks.timesheet.serializers
Interface IXmlSerializer

All Known Implementing Classes:
HrRawXmlSerializer, XmlSerializer

public interface IXmlSerializer

Description of the Class

Author:
Laurent

Method Summary
 org.dom4j.Document asDOM(ActivityType[] activityType)
          Description of the Method
 org.dom4j.Document asDOM(Invoice invoice)
          Description of the Method
 org.dom4j.Document asDOM(IParty[] parties)
          Description of the Method
 org.dom4j.Document asDOM(Project[] projects)
          Description of the Method
 org.dom4j.Document asDOM(Timesheet timesheet)
          Description of the Method
 void loadActivityTypes(org.dom4j.Document document)
          Description of the Method
 void loadProjects(org.dom4j.Document document)
          Description of the Method
 

Method Detail

asDOM

public org.dom4j.Document asDOM(Timesheet timesheet)
                         throws TimesheetException
Description of the Method

Parameters:
timesheet - Description of Parameter
Returns:
Description of the Returned Value
Throws:
TimesheetException - Description of Exception

asDOM

public org.dom4j.Document asDOM(Invoice invoice)
                         throws TimesheetException
Description of the Method

Parameters:
invoice - Description of Parameter
Returns:
Description of the Returned Value
Throws:
TimesheetException - Description of Exception

asDOM

public org.dom4j.Document asDOM(IParty[] parties)
                         throws TimesheetException
Description of the Method

Parameters:
parties - Description of Parameter
Returns:
Description of the Returned Value
Throws:
TimesheetException - Description of Exception

asDOM

public org.dom4j.Document asDOM(Project[] projects)
                         throws TimesheetException
Description of the Method

Parameters:
projects - Description of Parameter
Returns:
Description of the Returned Value
Throws:
TimesheetException - Description of Exception

asDOM

public org.dom4j.Document asDOM(ActivityType[] activityType)
                         throws TimesheetException
Description of the Method

Parameters:
activityType - Description of Parameter
Returns:
Description of the Returned Value
Throws:
TimesheetException - Description of Exception

loadActivityTypes

public void loadActivityTypes(org.dom4j.Document document)
                       throws TimesheetException
Description of the Method

Parameters:
document - Description of Parameter
Throws:
TimesheetException - Description of Exception

loadProjects

public void loadProjects(org.dom4j.Document document)
                  throws TimesheetException
Description of the Method

Parameters:
document - Description of Parameter
Throws:
TimesheetException - Description of Exception