public function getWriter(): Writer
    {
        $w = new Writer();
        $w->namespaceMap = $this->namespaceMap;
        $w->classMap = $this->classMap;

        return $w;
    }
public function getWriter(): Writer
    {
        $w = new Writer();
        $w->namespaceMap = $this->namespaceMap;
        $w->classMap = $this->classMap;

        return $w;
    }
public function getWriter ( ) : Writer { $ w = new Writer ( ) ; $ w -> namespaceMap = $ this -> namespaceMap ; $ w -> classMap = $ this -> classMap ; return $ w ; }
Returns a fresh xml writer.
Returns a fresh xml writer .