w.optagln(NAME_TAG, UID_ATTR, getUID());
w.optagln(NAME_TAG, UID_ATTR, getUID().toString());
  public void toXML(XMLWriter w) throws IOException{    w.optagln(NAME_TAG, UID_ATTR, getUID());    for(int i=0;i<numSegments();i++)      w.sitagln(SEGMENT_TAG,	      SEGMENT_LOC_ATTR,	      getSegmentLocIDAt(i));    w.cltagln(NAME_TAG);  }