*/
public void checkOutIn(short type, String identity, long time)
throws IOException, Exception {
DOMParserFactory dpf = new DOMParserFactory();
Element identityElement = dpf.newElementNode(document, "Identity");
identityElement.appendChild(dpf.newTextNode(document, identity));
Element timeElement = dpf.newElementNode(document, "Time");
timeElement.appendChild(dpf.newTextNode(document, "" + time));