|
ValidateThis API Documentation | ||||
| FRAMES | |||||
WEB-INF.cftags.component
ValidateThis.core.AnnotationReader
public class AnnotationReader
I am a responsible for reading and processing rules in annotations from cfcs.
| Constructor Summary | |
|---|---|
init(any transientFactory, any childObjectFactory, string extraFileReaderComponentPaths, string externalFileTypes, string extraAnnotationTypeReaderComponentPaths, string vtFolder)
I build a new annotationReader |
|
| Method Summary | |
|---|---|
private string |
determineAnnotationFormat(array properties)
I determine the type of annotation used in a property's metadata |
private struct |
getObjectMetadata(any theObject, any componentPath)
I return the object metadata from either an object or a component path |
any |
loadRulesFromAnnotations(any objectType, any theObject, any componentPath)
I read the validation metadata from external files and reformat it into a struct |
private void |
setAnnotationTypeReaders()
I create rule validator objects from a list of component paths |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(any transientFactory, any childObjectFactory, string extraFileReaderComponentPaths, string externalFileTypes, string extraAnnotationTypeReaderComponentPaths, string vtFolder)
transientFactorychildObjectFactoryextraFileReaderComponentPathsexternalFileTypesextraAnnotationTypeReaderComponentPathsvtFolder| Method Detail |
|---|
private string determineAnnotationFormat(array properties)
propertiesprivate struct getObjectMetadata(any theObject, any componentPath)
theObjectcomponentPathpublic any loadRulesFromAnnotations(any objectType, any theObject, any componentPath)
objectTypetheObjectcomponentPathprivate void setAnnotationTypeReaders()
|
ValidateThis API Documentation | ||||
| FRAMES | |||||