|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opnworks.timesheet.serializers.HrRawXmlSerializer
This class is used to serialize timesheet entities according to the HR-XML standard formats
| Field Summary |
| Constructor Summary | |
HrRawXmlSerializer()
|
|
| Method Summary | |
org.dom4j.Document |
asDOM(ActivityType[] activityTypes)
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 |
org.dom4j.Element |
populateElement(org.dom4j.Element root,
ActivityType activityType)
Description of the Method |
void |
populateElement(org.dom4j.Element parent,
IOrganization org)
Description of the Method |
void |
populateElement(org.dom4j.Element element,
IPerson person)
Description of the Method |
void |
populateElement(org.dom4j.Element element,
IStreetAddress address)
Description of the Method |
org.dom4j.Element |
populateElement(org.dom4j.Element root,
Project project)
|
void |
populateElement(org.dom4j.Element element,
Week week,
TimesheetLineItem item)
|
static void |
printDocument(org.dom4j.Document doc,
java.io.OutputStream out,
java.lang.String aEncodingScheme)
Description of the Method |
static void |
transform(org.dom4j.Document doc,
java.io.OutputStream out,
java.io.InputStream xslInput)
|
static void |
transform(org.w3c.dom.Document doc,
java.io.OutputStream out,
java.io.InputStream xslInput)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HrRawXmlSerializer()
| Method Detail |
public org.dom4j.Document asDOM(Timesheet timesheet)
throws TimesheetException
asDOM in interface IXmlSerializertimesheet - Description of Parameter
TimesheetException - Description of Exception
public org.dom4j.Document asDOM(ActivityType[] activityTypes)
throws TimesheetException
asDOM in interface IXmlSerializeractivityTypes - Description of Parameter
TimesheetException - Description of Exception
public org.dom4j.Element populateElement(org.dom4j.Element root,
ActivityType activityType)
throws TimesheetException
root - Description of ParameteractivityType - Description of Parameter
TimesheetException - Description of Exception
public org.dom4j.Document asDOM(Invoice invoice)
throws TimesheetException
asDOM in interface IXmlSerializerinvoice - Description of Parameter
TimesheetException - Description of Exception
public void populateElement(org.dom4j.Element element,
Week week,
TimesheetLineItem item)
element - week - Description of Parameteritem -
public void populateElement(org.dom4j.Element parent,
IOrganization org)
parent - Description of Parameterorg - Description of Parameter
public void populateElement(org.dom4j.Element element,
IPerson person)
element - Description of Parameterperson - Description of Parameter
public void populateElement(org.dom4j.Element element,
IStreetAddress address)
element - Description of Parameteraddress - Description of Parameter
public org.dom4j.Document asDOM(IParty[] parties)
throws TimesheetException
asDOM in interface IXmlSerializerparties - Description of Parameter
TimesheetException - Description of Exception
public org.dom4j.Document asDOM(Project[] projects)
throws TimesheetException
asDOM in interface IXmlSerializerprojects - Description of Parameter
TimesheetException - Description of Exception
public org.dom4j.Element populateElement(org.dom4j.Element root,
Project project)
root - project -
public void loadActivityTypes(org.dom4j.Document document)
throws TimesheetException
loadActivityTypes in interface IXmlSerializerdocument - Description of Parameter
TimesheetException - Description of Exception
public void loadProjects(org.dom4j.Document document)
throws TimesheetException
loadProjects in interface IXmlSerializerdocument - Description of Parameter
TimesheetException - Description of Exception
public static void printDocument(org.dom4j.Document doc,
java.io.OutputStream out,
java.lang.String aEncodingScheme)
throws java.io.IOException
doc - Description of Parameterout - Description of ParameteraEncodingScheme - Description of Parameter
java.io.IOException - Description of Exception
public static void transform(org.dom4j.Document doc,
java.io.OutputStream out,
java.io.InputStream xslInput)
throws java.io.IOException
doc - out - xslInput -
java.io.IOException
public static void transform(org.w3c.dom.Document doc,
java.io.OutputStream out,
java.io.InputStream xslInput)
throws java.io.IOException
doc - out - xslInput -
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||