The target handler class.
This class handles the occurance of a
author | Andreas Aderhold |
---|---|
copyright | 2001,2002 THYRELL. All rights reserved |
version | $Id: f73d7c67a353cf16f048af3ba013d84ec726a926 $ |
package | phing.parser |
__construct(\AbstractSAXParser $parser, \AbstractHandler $parentHandler, \ProjectConfigurator $configurator)
The constructor must be called by all derived classes.
object
the ExpatParser object
object
the parent handler that invoked this handler
object
the ProjectConfigurator object
characters(string $data)
exception | ExpatParserException if there is no CDATA but method was called |
---|---|
access | public |
inherited_from | \AbstractHandler::characters() |
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.
inherited_from | \AbstractHandler::endElement() |
---|
string
the name of the XML element
init(string $tag, array $attrs)
<
p> This includes:
string
the tag that comes in
array
attributes the tag carries
\ExpatParseException |
if attributes are incomplete or invalid |
---|
startElement(string $name, array $attrs)
Creates and calls handlers respectively.
string
the tag that comes in
array
attributes the tag carries
finished()
If the target has neither, show a warning.
$parentHandler
inherited_from | \AbstractHandler::$$parentHandler |
---|
$parser
inherited_from | \AbstractHandler::$$parser |
---|
$configurator : \ProjectConfigurator
$target : object