ValidateThis API Documentation

ValidateThis.core.fileReaders
Class FileReader_JSON

WEB-INF.cftags.component
        extended by ValidateThis.core.BaseMetadataProcessor
            extended by ValidateThis.core.fileReaders.BaseFileReader
                extended by ValidateThis.core.fileReaders.FileReader_JSON

public class FileReader_JSON
extends BaseFileReader

I am a responsible for reading and processing a JSON file.


Method Summary
 void loadRules(string objectType, any metadataSource)
          I read the validations JSON file and reformat it into private properties
 
Methods inherited from class ValidateThis.core.fileReaders.BaseFileReader
init
 
Methods inherited from class ValidateThis.core.BaseMetadataProcessor
determineLabel, getValidations, processConditions, processContexts, processPropertyDescs, processPropertyRules
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

loadRules

public void loadRules(string objectType, any metadataSource)
I read the validations JSON file and reformat it into private properties

Overrides:
loadRules in class BaseFileReader
Parameters:
objectType - the type of object for which a BOValidator is being created
metadataSource - the path to the file to read

ValidateThis API Documentation