Class ValidationConfiguration
java.lang.Object
com.sun.ts.tests.common.taglibsig.validation.ValidationConfiguration
This configuration class defines the 
Validator names that will be used to perform the validation of the
 TaglibraryDescriptor objects. This class is used exclusively by the ValidatorFactory, which will take the
 names contained within and create Validator instances.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddValidator(String validatorName) Adds the name of aValidatorimplementation to this configuration.voidaddValidator(String validatorName, String validatorClass) Adds a customValidatorname to the current configuration.getValidatorClass(String validatorName) Returns the name of theValidatorimplementation class.Returns an Iterator of theValidatornames in the current configuration.booleanTrue ifValidatornames have been added to the current configuration, otherwise false.voidremoveValidator(String validatorName) Removes the specifiedValidatorname from the current configuration.
- 
Field Details- 
URI_VALIDATOR- See Also:
 
 
- 
- 
Constructor Details- 
ValidationConfigurationpublic ValidationConfiguration()Constructs a newValidationConfiguationinstance.
 
- 
- 
Method Details- 
addValidatorAdds the name of aValidatorimplementation to this configuration. The name must be a known name (i.e. be a constant name defined by this class), or aValidatorwill not be added. If a non-standard validator is required, useaddValidator(String, String)instead.- Parameters:
- validatorName- - Validator name
 
- 
addValidatorAdds a customValidatorname to the current configuration.- Parameters:
- validatorName- - Validator name
- validatorClass- - The class name of this- Validator
 
- 
removeValidatorRemoves the specifiedValidatorname from the current configuration.- Parameters:
- validatorName- - Validator name
 
- 
getValidatorNamesReturns an Iterator of theValidatornames in the current configuration.- Returns:
- Iterator of this configuration's Validatornames
 
- 
getValidatorClassReturns the name of theValidatorimplementation class.- Parameters:
- validatorName- - Validator name
- Returns:
- The name of the Validatorimplementation class.
 
- 
hasBeenConfiguredpublic boolean hasBeenConfigured()True ifValidatornames have been added to the current configuration, otherwise false.- Returns:
- True if Validatornames have been added to the current configuration, otherwise false.
 
 
-