src/Common/Internal/Atom/Person.php
public function writeInnerXml(\XMLWriter $xmlWriter)
    {
        Validate::notNull($xmlWriter, 'xmlWriter');
        $xmlWriter->writeElementNS(
            'atom',
            'name',
            Resources::ATOM_NAMESPACE,
            $this->name
        );

        $this->writeOptionalElementNS(
            $xmlWriter,
            'atom',
            'uri',
            Resources::ATOM_NAMESPACE,
            $this->uri
        );

        $this->writeOptionalElementNS(
            $xmlWriter,
            'atom',
            'email',
            Resources::ATOM_NAMESPACE,
            $this->email
        );
    }
public function writeInnerXml(\XMLWriter $xmlWriter)
    {
        Validate::notNull($xmlWriter, 'xmlWriter');
        $xmlWriter->writeElementNS(
            'atom',
            'name',
            Resources::ATOM_NAMESPACE,
            $this->name
        );

        $this->writeOptionalElementNS(
            $xmlWriter,
            'atom',
            'uri',
            Resources::ATOM_NAMESPACE,
            $this->uri
        );

        $this->writeOptionalElementNS(
            $xmlWriter,
            'atom',
            'email',
            Resources::ATOM_NAMESPACE,
            $this->email
        );
    }
public function writeInnerXml ( \ XMLWriter $ xmlWriter ) { Validate :: notNull ( $ xmlWriter , 'xmlWriter' ) ; $ xmlWriter -> writeElementNS ( 'atom' , 'name' , Resources :: ATOM_NAMESPACE , $ this -> name ) ; $ this -> writeOptionalElementNS ( $ xmlWriter , 'atom' , 'uri' , Resources :: ATOM_NAMESPACE , $ this -> uri ) ; $ this -> writeOptionalElementNS ( $ xmlWriter , 'atom' , 'email' , Resources :: ATOM_NAMESPACE , $ this -> email ) ; }
Writes a inner XML representing the person.

@param \XMLWriter $xmlWriter The XML writer
Writes a inner XML representing the person .