DataTypeHandler::characters PHP Метод

characters() публичный Метод

Handles character data.
public characters ( $data )
    function characters($data)
    {
        $project = $this->configurator->project;
        try {
            //try
            $this->configurator->addText($project, $this->element, $data);
        } catch (BuildException $exc) {
            throw new ExpatParseException($exc->getMessage(), $this->parser->getLocation());
        }
    }