ValidateThis API Documentation

ValidateThis.core
Class StructWrapper

WEB-INF.cftags.component
        extended by ValidateThis.core.StructWrapper

public class StructWrapper
extends WEB-INF.cftags.component

I wrap a struct to allow it to be validated like an object.


Constructor Summary
Init()
          I am the constructor
 
Method Summary
 any evaluateExpression(any expression)
          I dynamically evaluate an expression and return the result
 Any getValue(any propertyName)
          An abstract getter
 Any onMissingMethod(any missingMethodName, any missingMethodArguments)
          An abstract getter
 any setup(any theStruct)
          I am called after the constructor to load data into an instance
 boolean testCondition(any Condition)
          I dynamically evaluate a condition and return true or false
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

Init

Public Init()
I am the constructor

Method Detail

evaluateExpression

Public any evaluateExpression(any expression)
I dynamically evaluate an expression and return the result.

Parameters:
expression

getValue

public Any getValue(any propertyName)
An abstract getter

Parameters:
propertyName

onMissingMethod

public Any onMissingMethod(any missingMethodName, any missingMethodArguments)
An abstract getter

Parameters:
missingMethodName
missingMethodArguments

setup

Public any setup(any theStruct)
I am called after the constructor to load data into an instance

Parameters:
theStruct - The struct to be wrapped

testCondition

Public boolean testCondition(any Condition)
I dynamically evaluate a condition and return true or false.

Parameters:
Condition

ValidateThis API Documentation