protected void createDOMElement() {
      
      Document doc = BLXUtility.createDOMDocument();
      
      if(this.getObjectType() == this.OBJECT_TYPE)
         domElement = doc.createElementNS("blx", BLX_NS+":"+this.BLX_OBJ_NODE_NAME);
      else
         domElement = doc.createElementNS("blx", BLX_NS+":"+this.BLX_COMP_NODE_NAME);
      
      //Populate domElement with correct information
      domElement.setAttribute(BLX_CLASS_NAME_ATTR, this.getClassName());
      
      //Service Name
      if(serviceName != null) {
         domElement.setAttribute(BLX_SERVICE_NAME_ATTR, serviceName);
      }
      else {
         //Ext Name
         if(extName != null) domElement.setAttribute(BLX_EXT_NAME_ATTR, extName);
         //Ext Version
         if(extVersion != null) domElement.setAttribute(BLX_EXT_VERSION_ATTR, extVersion);
         //Ext HREF
         if(extHREF != null) domElement.setAttribute(BLX_EXT_HREF_ATTR, extHREF);
      }
            
      //HREF of Data
      if(getHREF()!=null) domElement.setAttribute(BLX_HREF_ATTR, this.getHREF());
      
      //ID
      if(getID()!=null) domElement.setAttribute(BLX_OBJ_ID, getID());
      
      //Popukate Component Information
      if(getObjectType() == this.COMP_TYPE) {
         domElement.setAttribute(BLX_COMP_X_ATTR, "" + getX());
         domElement.setAttribute(BLX_COMP_Y_ATTR, "" + getY());
         domElement.setAttribute(BLX_COMP_WIDTH_ATTR, "" + getWidth());
         domElement.setAttribute(BLX_COMP_HEIGHT_ATTR, "" + getHeight());
      }
   }