|
ValidateThis API Documentation | ||||
| FRAMES | |||||
WEB-INF.cftags.component
ValidateThis.core.BaseMetadataProcessor
public class BaseMetadataProcessor
I am a responsible for reading and processing an XML file.
| Constructor Summary | |
|---|---|
init()
I build a new metadataprocessor |
|
| Method Summary | |
|---|---|
private string |
determineLabel(string label)
|
struct |
getValidations(string objectType, any metadataSource)
I return the processed metadata in a struct that is expected by the BOValidator |
void |
loadRules(string objectType, any metadataSource)
I read the validations XML file and reformat it into a struct |
private void |
processConditions(any conditions)
I process condition metadata |
private void |
processContexts(any contexts)
I process context metadata |
private any |
processPropertyDescs(any properties)
I process property descriptions |
private any |
processPropertyRules(string objectType, any properties)
I process property rules |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init()
| Method Detail |
|---|
private string determineLabel(string label)
labelpublic struct getValidations(string objectType, any metadataSource)
objectType - the type of object for which a BOValidator is being createdmetadataSource - the source of the metadata - may be a filename or a metadata structpublic void loadRules(string objectType, any metadataSource)
objectType - the type of object for which a BOValidator is being createdmetadataSourceprivate void processConditions(any conditions)
conditionsprivate void processContexts(any contexts)
contextsprivate any processPropertyDescs(any properties)
propertiesprivate any processPropertyRules(string objectType, any properties)
objectType - the type of object for which a BOValidator is being createdproperties
|
ValidateThis API Documentation | ||||
| FRAMES | |||||