i1.UID="UID1";
i1.UID=UID.toUID("UID1/1");
  public static void testInstances() throws SAXException, IOException{      XMLWriter stdOut = new XMLWriter(new BufferedWriter	(new OutputStreamWriter(System.out)), true);      StringWriter strOut = new StringWriter();      XMLWriter out = new XMLWriter(strOut);      out.writeHeader();            InstancesData id1 = new InstancesData();      Instance i1 = new Instance();      i1.UID="UID1";      i1.itemNomen="INomen";      i1.aggregateNumber=4;      i1.prototypeUID="UID2";      i1.ownerID="3ID";      id1.addInstance(i1);      id1.toXML(out);      out.flush();      out.close();      /*      stdOut.write("\nObj->XML:\n");      stdOut.write(strOut.getBuffer().toString());      stdOut.flush();      */      DeXMLizer dx = new DeXMLizer(new InstancesDataFactory());      Reader strIn = new StringReader(strOut.getBuffer().toString());      DeXMLable obj = dx.parseObject(strIn);      stdOut.write("\nObj->XML->OBJ->XML:\n");            ((XMLable)obj).toXML(stdOut);      stdOut.flush();  }