* @return CheckInEntry The entry of the check in
*
* @throws Exception DOCUMENT ME!
*/
public CheckInEntry getLatestCheckInEntry() throws Exception {
XPointerFactory xpf = new XPointerFactory();
Vector firstCheckIn = xpf.select(document.getDocumentElement(),
"xpointer(/XPSRevisionControl/CheckIn[1]/Identity)xpointer(/XPSRevisionControl/CheckIn[1]/Time)");
if (firstCheckIn.size() == 0) {
// No checkin at all
//
return null;
}
String[] fciValues = xpf.getNodeValues(firstCheckIn);
long fciTime = new Long(fciValues[1]).longValue();
return new CheckInEntry(fciValues[0], fciTime);
}