Handler class for the
| author | Andreas Aderhold |
|---|---|
| copyright | (c) 2001,2002 THYRELL. All rights reserved |
| version | $Id: 0e2ffd22c0fce23560c0ee585f0b2e1c07eb3598 $ |
| access | public |
| package | phing.parser |
__construct(object $parser, object $parentHandler, object $configurator)
The constructor must be called by all derived classes.
| access | public |
|---|
objectthe ExpatParser object
objectthe parent handler that invoked this handler
objectthe ProjectConfigurator object
canonicalName($name)
characters(string $data)
| exception | ExpatParserException if there is no CDATA but method was called |
|---|---|
| access | public |
| inherited_from | \AbstractHandler::characters() |
stringthe 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() |
|---|
stringthe name of the XML element
init(string $tag, array $attrs)
Usually this method handles the attributes of a tag.
| access | public |
|---|
stringthe tag that comes in
arrayattributes the tag carries
\ExpatParseException |
if attributes are incomplete or invalid |
|---|
startElement(string $name, array $attrs)
Must be overloaded by the child class. Throws an ExpatParseException if there is no handler registered for an element.
| access | public |
|---|
stringthe tag that comes in
arrayattributes the tag carries
\ExpatParseException |
if a unxepected element occurs |
|---|
finished()
| inherited_from | \AbstractHandler::finished() |
|---|
$parentHandler
| inherited_from | \AbstractHandler::$$parentHandler |
|---|
$parser
| inherited_from | \AbstractHandler::$$parser |
|---|
$configurator : \ProjectConfigurator