public function setName($name) {
        if ($this->configured)          throw new IllegalStateException('Configuration is frozen');
        if (!strlen($name=trim($name))) throw new StrutsConfigException('<mapping name="'.func_get_arg(0).'"'.($this->path ? ' path="'.$this->path.'"':'').': Illegal name (empty value).');

        $this->name = $name;
        return $this;
    }