RootHandler

Extends \AbstractHandler

Root filter class for a phing buildfile.

The root filter is called by the parser first. This is where the phing specific parsing starts. RootHandler decides what to do next.

author

Andreas Aderhold andi@binarycloud.com

copyright

2001,2002 THYRELL. All rights reserved

version

$Id: f83c0aa45292461a5b0a9f55e19d05479581a818 $

package

phing.parser

Methods

Constructs a SAX handler parser.

__construct( $parser,  $parentHandler) 
inherited

The constructor must be called by all derived classes.

Arguments

$parser

$parentHandler

Invoked by occurance of #PCDATA.

characters( $data) 
inherited
exception

ExpatParserException if there is no CDATA but method

       was called
access

public

Arguments

$data

Gets invoked when a XML element ends.

endElement( $name) 
inherited

Can be overloaded by the child class. But should not. It hands over control to the parentHandler of this.

Arguments

$name

Gets invoked when element closes method.

finished() 
inherited

Gets invoked when a XML open tag occurs

startElement( $name,  $attribs) 
inherited

Must be overloaded by the child class. Throws an ExpatParseException if there is no handler registered for an element.

Arguments

$name

$attribs

Properties

The phing project configurator object

configurator : 

Type(s)

context

context : \PhingXMLContext
var

Type(s)

\PhingXMLContext

parentHandler

parentHandler : 
inherited

Type(s)

parser

parser : 
inherited

Type(s)