AbstractHandler

This is an abstract class all SAX handler classes must extend

author

Andreas Aderhold andi@binarycloud.com

copyright

2001,2002 THYRELL. All rights reserved

version

$Id: 0aa51582adb6390414e02935f468cf2919f54737 $

package

phing.parser

Methods

Constructs a SAX handler parser.

__construct( $parser,  $parentHandler) 

The constructor must be called by all derived classes.

Arguments

$parser

$parentHandler

Invoked by occurance of #PCDATA.

characters( $data) 
exception

ExpatParserException if there is no CDATA but method

       was called
access

public

Arguments

$data

Gets invoked when a XML element ends.

endElement( $name) 

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() 

Gets invoked when a XML open tag occurs

startElement( $name,  $attribs) 

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

Arguments

$name

$attribs

Properties

parentHandler

parentHandler : 

Type(s)

parser

parser : 

Type(s)