The nested element handler class.
This class handles the occurance of runtime registered tags like datatypes (fileset, patternset, etc) and it's possible nested tags. It introspects the implementation of the class and sets up the data structures.
| author | Andreas Aderhold |
|---|---|
| copyright | 2001,2002 THYRELL. All rights reserved |
| version | $Id$ |
| access | public |
| package | phing.parser |
__construct(object $parser, $parentHandler, $configurator, $parent, $parentWrapper, $target)
@param object the ExpatParser object
objectthe parent handler that invoked this handler @param object the ProjectConfigurator object @param object the parent object this element is contained in @param object the parent wrapper object @param object the target object this task is contained in @access public
characters(string $data)
| access | public |
|---|
stringthe CDATA that comes in
\ExpatParseException |
if the CDATA could not be set-up properly |
|---|
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 $propType, array $attrs)
<
p> This includes:
| access | public |
|---|
stringthe tag that comes in
arrayattributes the tag carries
\ExpatParseException |
if the setup process fails |
|---|
startElement(string $name, array $attrs)
Creates and calls handlers respectively.
| access | public |
|---|
stringthe tag that comes in
arrayattributes the tag carries
finished()
| inherited_from | \AbstractHandler::finished() |
|---|
$parentHandler
| inherited_from | \AbstractHandler::$$parentHandler |
|---|
$parser
| inherited_from | \AbstractHandler::$$parser |
|---|
$child : object
$childWrapper
@var object
$parent : object
$parentWrapper
@var object
$target
@var object the target instance