ValidateThis API Documentation

ValidateThis.core.fileReaders
Class BaseFileReader

WEB-INF.cftags.component
        extended by ValidateThis.core.BaseMetadataProcessor
            extended by ValidateThis.core.fileReaders.BaseFileReader
Direct Known Subclasses:
FileReader_JSON , FileReader_XML

public class BaseFileReader
extends BaseMetadataProcessor

I am a responsible for reading and processing an XML file.


Constructor Summary
init(any FileSystem, string debuggingMode)
          I build a new XMLFileReader
 
Method Summary
 void loadRules(string objectType, any metadataSource)
          I read the validations XML file and reformat it into a struct
 
Methods inherited from class ValidateThis.core.BaseMetadataProcessor
determineLabel, getValidations, processConditions, processContexts, processPropertyDescs, processPropertyRules
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(any FileSystem, string debuggingMode)
I build a new XMLFileReader

Parameters:
FileSystem
debuggingMode
Method Detail

loadRules

public void loadRules(string objectType, any metadataSource)
I read the validations XML file and reformat it into a struct

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

ValidateThis API Documentation