Location: PHPKode > projects > Rthree > r3-1.9.0/r3/output/Visitor.php
<?php

/**
 * provides {@link r3_output_Visitor} and
 * {@link r3_output_Visitable} interfaces
 *
 *
 * Copyright (c) 2007 Yahoo! Inc.  All rights reserved.
 * The copyrights embodied in the content of this file are licensed under the BSD
 * open source license
 *
 * @package r3
 * @subpackage output
 * @author Bill Hails <hide@address.com>
 * @version CVS: $Id: Visitor.php,v 1.1 2007-10-16 16:37:57 billh Exp $
 */

/**
 * Interface for visitors to r3_output_Container objects
 *
 * @package r3
 * @subpackage output
 */
interface r3_output_Visitor {
    function visitNodeIn(r3_output_Container $node);
    function visitNodeOut(r3_output_Container $node);
    function visitTextNode(r3_output_String $node);
}

interface r3_output_Visitable {
    function accept(r3_output_Visitor $visitor);
}

?>
Return current item: Rthree