ValidateThis API Documentation

ValidateThis.core.fileReaders
Class FileReader_XML

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

public class FileReader_XML
extends BaseFileReader

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


Method Summary
private any convertXmlCollectionToArrayOfStructs(any xmlCollection)
          I take data from an XML document and convert it into a standard array of structs
 void loadRules(string objectType, any metadataSource)
          I read the validations XML file and reformat it into a struct
 
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

convertXmlCollectionToArrayOfStructs

private any convertXmlCollectionToArrayOfStructs(any xmlCollection)
I take data from an XML document and convert it into a standard array of structs

Parameters:
xmlCollection

loadRules

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

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