ProjectHandler

Extends \AbstractHandler

Handler class for the <project> XML element This class handles all elements under the <project> element.

author

Andreas Aderhold andi@binarycloud.com

copyright

(c) 2001,2002 THYRELL. All rights reserved

version

$Id: 0e2ffd22c0fce23560c0ee585f0b2e1c07eb3598 $

access

public

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

Executes initialization actions required to setup the project. Usually this method handles the attributes of a tag.

init($tag, $attrs) 
throws

if attributes are incomplete or invalid

access

public

Arguments

$tag

$attrs

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

canonicalName

canonicalName($name) 
static

Arguments

$name

Gets invoked when element closes method.

finished() 
inherited

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

Invoked by occurance of #PCDATA.

characters($data) 
inherited
exception

ExpatParserException if there is no CDATA but method was called

access

public

Arguments

$data

Properties

The phing project configurator object.

configurator : \ProjectConfigurator
var

Type(s)

\ProjectConfigurator

parentHandler

parentHandler : 
inherited

parser

parser : 
inherited