|
ValidateThis API Documentation | ||||
| FRAMES | |||||
WEB-INF.cftags.component
ValidateThis.core.BaseMetadataProcessor
ValidateThis.core.annotationTypeReaders.BaseAnnotationTypeReader
public class BaseAnnotationTypeReader
I am a responsible for reading and processing an annotation.
| Constructor Summary | |
|---|---|
init()
I build a new XMLFileReader |
|
| Method Summary | |
|---|---|
boolean |
annotationsAreThisFormat(array properties)
I determine whether the annotation value contains this type of format |
boolean |
isThisFormat(string annotationValue)
I determine whether the annotation value contains this type of format |
void |
loadRules(string objectType, any metadataSource)
I take the metadata and reformat it into a struct |
private struct |
normalizeValidations(struct allRules)
I take the rules and post-process them using other property metadata |
private void |
processConditions(any conditions)
I translate condition annotation metadata into an array to be used by the BaseMetadataProcessor |
private void |
processContexts(any contexts)
I translate context annotation metadata into an array to be used by the BaseMetadataProcessor |
private array |
processJSONOrList(any theItems)
I translate annotation metadata into an array to be used by the BaseMetadataProcessor |
private any |
processPropertyDescs(any theProperties)
I simply pass the call on to my parent |
private any |
processPropertyRules(string objectType, any theProperties)
I simply pass the call on to my parent |
| Methods inherited from class ValidateThis.core.BaseMetadataProcessor |
|---|
determineLabel, getValidations
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init()
| Method Detail |
|---|
public boolean annotationsAreThisFormat(array properties)
propertiespublic boolean isThisFormat(string annotationValue)
annotationValuepublic void loadRules(string objectType, any metadataSource)
loadRules
in class
BaseMetadataProcessor
objectType - the type of object for which a BOValidator is being createdmetadataSource - the object metadataprivate struct normalizeValidations(struct allRules)
allRulesprivate void processConditions(any conditions)
processConditions
in class
BaseMetadataProcessor
conditionsprivate void processContexts(any contexts)
processContexts
in class
BaseMetadataProcessor
contextsprivate array processJSONOrList(any theItems)
theItemsprivate any processPropertyDescs(any theProperties)
processPropertyDescs
in class
BaseMetadataProcessor
thePropertiesprivate any processPropertyRules(string objectType, any theProperties)
processPropertyRules
in class
BaseMetadataProcessor
objectType - the type of object for which a BOValidator is being createdtheProperties
|
ValidateThis API Documentation | ||||
| FRAMES | |||||