code: @Override
  	public String getLocator() {
  	    if (locator == null) {
  	        return null;
  	    } else if (locator instanceof StringLocatorAwareBy) {
  	        return ((StringLocatorAwareBy) locator).getLocator();
  	    } else {
  	        return locator.toString();
  	    }
  	}
docs: /*
  (non-Javadoc)
  
  @see qc.automation.framework.widget.IElement#getLocator()