classes/phing/types/Path.php
public function setPath($path)
    {
        if ($this->isReference()) {
            throw $this->tooManyAttributes();
        }
        $this->createPathElement()->setPath($path);
    }
public function setPath($path)
    {
        if ($this->isReference()) {
            throw $this->tooManyAttributes();
        }
        $this->createPathElement()->setPath($path);
    }
public function setPath ( $ path ) { if ( $ this -> isReference ( ) ) { throw $ this -> tooManyAttributes ( ) ; } $ this -> createPathElement ( ) -> setPath ( $ path ) ; }
Parses a path definition and creates single PathElements.

@param $path the path definition.

@throws BuildException
Parses a path definition and creates single PathElements .