NestedElementHandler::characters PHP Method

characters() public method

Handles character data.
public characters ( $data )
    function characters($data)
    {
        $configurator = $this->configurator;
        $project = $this->configurator->project;
        if ($this->parentWrapper === null) {
            try {
                $configurator->addText($project, $this->child, $data);
            } catch (BuildException $exc) {
                throw new ExpatParseException($exc->getMessage(), $this->parser->getLocation());
            }
        } else {
            $this->childWrapper->addText($data);
        }
    }