ValidateThis API Documentation

ValidateThis.util
Class ObjectChecker

WEB-INF.cftags.component
        extended by ValidateThis.util.ObjectChecker

public class ObjectChecker
extends WEB-INF.cftags.component

I am used to deal with different types of objects: standard CFCs, Wheels objects and Groovy objects.


Constructor Summary
Init(string abstractGetterMethod)
 
Method Summary
private string buildInheritanceTree([any metaData], [string accumulator=''])
 any findGetter(any theObject, any propertyName)
          I try to locate a property in an object, returning the name of the getter
 any isCFC(any theObject, [string ancestry=''])
          Returns true if the object passed in is a cfc
 any isGroovy(any theObject)
          Returns true if the object passed in is a Groovy object
 any isWheels(any theObject, [string ancestry=''])
          Returns true if the object passed in is a Wheels object
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

Init

Public Init(string abstractGetterMethod)

Parameters:
abstractGetterMethod
Method Detail

buildInheritanceTree

private string buildInheritanceTree([any metaData], [string accumulator=''])

Parameters:
metaData
accumulator

findGetter

public any findGetter(any theObject, any propertyName)
I try to locate a property in an object, returning the name of the getter

Parameters:
theObject
propertyName

isCFC

public any isCFC(any theObject, [string ancestry=''])
Returns true if the object passed in is a cfc.

Parameters:
theObject
ancestry

isGroovy

public any isGroovy(any theObject)
Returns true if the object passed in is a Groovy object.

Parameters:
theObject

isWheels

public any isWheels(any theObject, [string ancestry=''])
Returns true if the object passed in is a Wheels object.

Parameters:
theObject
ancestry

ValidateThis API Documentation