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: 53455515ad7c75ce22073d8bfbc06779e2ec7e54 $ |
package |
phing.parser |
__construct( $parser, $parentHandler)
The constructor must be called by all derived classes.
characters( $data)
throws | |
---|---|
exception |
ExpatParserException if there is no CDATA but method was called |
endElement( $name)
Can be overloaded by the child class. But should not. It hands over control to the parentHandler of this.
finished()
startElement(string $tag, array $attrs)
The root element of our buildfile is the <project> element. The root filter handles this element if it occurs, creates ProjectHandler to handle any nested tags & attributes of the <project> tag, and calls init.
throws |
if the first element within our build file is not the >project< element |
---|---|
string
The xml tagname
array
The attributes of the tag
configurator :
parentHandler :
parser :