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
\the
build file to which the xml context belongs
getBuildFileParent() : \the
\the
parent build file of this build file
getCurrentProjectName() : \current
\current
project name
setCurrentProjectName($name)
isIgnoringProjectTag() : \whether
\whether
the 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
object
the project that should be used for property look-ups
string
the string to be scanned for property references
array
property keys
integer
the level of generated log messages
string
the 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 :