ci1.UID="UID2";
ci1.UID=UID.toUID("UID2/1");
  public static void testPopulation() 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();            PopulationData pd1 = new PopulationData();      ConveyancePrototype cp1 = new ConveyancePrototype();      cp1.UID="UID1";      cp1.conveyanceType=ConveyancePrototype.ASSET_TYPE_SHIP;      cp1.volCap=1000;      cp1.weightCap=2000;      cp1.aveSpeed=2;      cp1.alpTypeID="RORO";      cp1.nomenclature="Boat";      pd1.addPrototype(cp1);      ConveyanceInstance ci1 = new ConveyanceInstance();      ci1.UID="UID2";      ci1.prototypeUID="UID1";      ci1.bumperNo="B1";      ci1.itemNomen="ItNom";      ci1.homeLocID="BOSP";      ci1.ownerID="STSHIP";      ci1.selfPropelled=true;      pd1.addInstance(ci1);            pd1.toXML(out);      out.flush();      out.close();      /*      stdOut.write("\nObj->XML:\n");      stdOut.write(strOut.getBuffer().toString());      stdOut.flush();      */      DeXMLizer dx = new DeXMLizer(new PopulationDataFactory());      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();  }