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 |
---|
object
the ExpatParser object
object
the parent handler that invoked this handler
object
the ProjectConfigurator object
canonicalName($name)
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)
Usually this method handles the attributes of a tag.
access | public |
---|
string
the tag that comes in
array
attributes 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 |
---|
string
the tag that comes in
array
attributes 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