railo.transformer.cfml.evaluator.impl
Class Function

java.lang.Object
  extended by railo.transformer.cfml.evaluator.EvaluatorSupport
      extended by railo.transformer.cfml.evaluator.impl.Function
All Implemented Interfaces:
Evaluator

public final class Function
extends EvaluatorSupport

Pr�ft 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


Constructor Summary
Function()
           
 
Method Summary
static void checkFunctionName(String name, FunctionLib[] flibs)
           
 void evaluate(Tag tag, TagLibTag libTag, FunctionLib[] flibs)
          Die Methode evaluate wird aufgerufen, wenn der Context eines Tags gepr�ft werden soll.
static void throwIfNotEmpty(Tag tag)
           
 
Methods inherited from class railo.transformer.cfml.evaluator.EvaluatorSupport
evaluate, evaluate, execute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Function

public Function()
Method Detail

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 gepr�ft werden soll. Diese Methode �berschreibt, jene des Interface Evaluator. Falls diese Methode durch eine Implementation nicht �berschrieben wird, ruft sie wiederere, allenfalls implementierte evaluate Methoden auf. Mit Hilfe dieses Konstrukt ist es m�glich drei evaluate methoden anzubieten.

Specified by:
evaluate in interface Evaluator
Overrides:
evaluate in class EvaluatorSupport
libTag - Die Definition des Tag aus der TLD.
flibs - S�mtliche 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