public function getStereoType(\DOMElement $diaObject)
    {
        $xpath = $diaObject->getNodePath() . '/dia:attribute[@name="stereotype"]/dia:string';
        $nodeList = $this->engine->query($xpath);

        if ($nodeList->length == 1) {
            $stereoType = str_replace('#', '', $nodeList->item(0)->nodeValue);

            return $stereoType;
        }
        return false;
    }
public function getStereoType(\DOMElement $diaObject)
    {
        $xpath = $diaObject->getNodePath() . '/dia:attribute[@name="stereotype"]/dia:string';
        $nodeList = $this->engine->query($xpath);

        if ($nodeList->length == 1) {
            $stereoType = str_replace('#', '', $nodeList->item(0)->nodeValue);

            return $stereoType;
        }
        return false;
    }
public function getStereoType ( \ DOMElement $ diaObject ) { $ xpath = $ diaObject -> getNodePath ( ) . '/dia:attribute[@name="stereotype"]/dia:string' ; $ nodeList = $ this -> engine -> query ( $ xpath ) ; if ( $ nodeList -> length == 1 ) { $ stereoType = str_replace ( '#' , '' , $ nodeList -> item ( 0 ) -> nodeValue ) ; return $ stereoType ; } return false ; }
Getter for retrieving the stereotype from a DIA object structure.

@param \DOMElement $diaObject
@return boolean
Getter for retrieving the stereotype from a DIA object structure .