The datatype handler class.
This class handles the occurance of registered datatype tags like FileSet
| author |
Andreas Aderhold andi@binarycloud.com |
|---|---|
| copyright |
2001,2002 THYRELL. All rights reserved |
| version |
$Id: ae9b63bef4c1423d88bb36ddfc5196763828123e $ |
| access |
public |
| package |
phing.parser |
configureProject(\Project $project, \PhingFile $buildFile)
__construct(\Project $project, \PhingFile $buildFile)
getBuildFile() : \the
\thebuild file to which the xml context belongs
getBuildFileParent() : \the
\theparent build file of this build file
getCurrentProjectName() : \current
\currentproject name
setCurrentProjectName($name)
isIgnoringProjectTag() : \whether
\whetherthe project tag is being ignored
setIgnoreProjectTag($flag)
getCurrentTargets()
isParsing()
parse()
| throws |
if there is any kind of execption during the parsing process |
|---|---|
| access |
private |
delayTaskUntilParseEnd(\Task $task)
configure($target, $attrs, \Project $project)
| throws |
if arguments are not valid if attributes can not be configured |
|---|---|
| access |
public |
addText($project, $target, $text = null)
| access |
public |
|---|
storeChild($project, $parent, $child, $tag)
| access |
public |
|---|
replaceProperties(object $project, string $value, array $keys, integer $logLevel = \Project::MSG_VERBOSE) : string
objectthe project that should be used for property look-ups
stringthe string to be scanned for property references
arrayproperty keys
integerthe level of generated log messages
stringthe replaced string or null if the string
itself was null
replacePropertyCallback($matches)
This method makes use of a static variable to hold the
configureId($target, $attr)
project :
locator :
buildFile :
buildFileParent :
currentTargets :
parseEndTarget :
currentProjectName :
isParsing :
ignoreProjectTag :
propReplaceProject :
propReplaceProperties :
propReplaceLogLevel :