This is an abstract class all SAX handler classes must extend
author | Andreas Aderhold |
---|---|
copyright | 2001,2002 THYRELL. All rights reserved |
version | $Id$ |
package | phing.parser |
characters(string $data)
exception | ExpatParserException if there is no CDATA but method was called |
---|---|
access | public |
string
the name of the XML element
endElement(string $name)
Can be overloaded by the child class. But should not. It hands over control to the parentHandler of this.
string
the name of the XML element
startElement(string $name, array $attribs)
Must be overloaded by the child class. Throws an ExpatParseException if there is no handler registered for an element.
string
the name of the XML element
array
the attributes of the XML element
__construct(object $parser, object $parentHandler)
The constructor must be called by all derived classes.
object
the parser object
object
the parent handler of this handler
finished()
$parentHandler
$parser