railo.transformer.cfml.evaluator.impl
Class Function
java.lang.Object
railo.transformer.cfml.evaluator.EvaluatorSupport
railo.transformer.cfml.evaluator.impl.Function
- All Implemented Interfaces:
- Evaluator
public final class Function
- extends EvaluatorSupport
Prueft den Kontext des Tag function.
Das Attribute argument
darf nur direkt innerhalb des Tag function
liegen.
Dem Tag argument
muss als erstes im tag function vorkommen
Function
public Function()
evaluate
public void evaluate(Tag tag,
TagLibTag libTag,
FunctionLib[] flibs)
throws EvaluatorException
- Description copied from class:
EvaluatorSupport
- Die Methode evaluate wird aufgerufen, wenn der Context eines Tags geprueft werden soll.
Diese Methode ueberschreibt, jene des Interface Evaluator.
Falls diese Methode durch eine Implementation nicht ueberschrieben wird, ruft sie wiederere,
allenfalls implementierte evaluate Methoden auf.
Mit Hilfe dieses Konstrukt ist es moeglich drei evaluate methoden anzubieten.
- Specified by:
evaluate
in interface Evaluator
- Overrides:
evaluate
in class EvaluatorSupport
libTag
- Die Definition des Tag aus der TLD.flibs
- Saemtliche Function Library Deskriptoren des aktuellen Tag Libray Deskriptors.
- Throws:
EvaluatorException
- See Also:
railo.transformer.cfml.evaluator.EvaluatorSupport#evaluate(org.w3c.dom.Element, railo.transformer.library.tag.TagLibTag)
checkFunctionName
public static void checkFunctionName(String name,
FunctionLib[] flibs)
throws EvaluatorException
- Throws:
EvaluatorException
throwIfNotEmpty
public static void throwIfNotEmpty(Tag tag)
throws EvaluatorException
- Throws:
EvaluatorException
Copyright © 2012 Railo