org.jaffa.rules.metadata
Class ValidatorMetaDataService
java.lang.Object
   org.jaffa.rules.metadata.ValidatorMetaDataService
org.jaffa.rules.metadata.ValidatorMetaDataService
- public class ValidatorMetaDataService- extends Object
This parses the Validator config file and creates instances of the FieldValidatorMetaData class. The instances will be cached.
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ValidatorMetaDataService
public ValidatorMetaDataService()
getFieldValidatorMetaData
public static FieldValidatorMetaData getFieldValidatorMetaData(String name)
                                                        throws SAXException,
                                                               IOException
- This will return a FieldValidatorMetaData instance for the input name. A null will be returned, in case no definition is found in the Validator config file.
 
- 
- Parameters:
- name- The name of the validator.
- Returns:
- a FieldValidatorMetaData instance
- Throws:
- SAXException- If any exception is thrown while parsing the XML file.
- IOException- If any I/O error occurs in reading the XML file. Note: A FileNotFoundException will be thrown, in case the file is not found.
 
main
public static void main(String[] args)
- 
 
Copyright © 2002-2004 JAFFA Project.