Class TagLibraryComparitor
java.lang.Object
com.sun.ts.tests.common.taglibsig.TagLibraryComparitor
Provides the ability to compare two TagLibraryDescriptor objects and return any differences found.
- 
Constructor SummaryConstructorsConstructorDescriptionTagLibraryComparitor(ValidationConfiguration configuration) Constructs a new TagLibraryComparitor that will use the providedValidationConfigurationto perform its comparison.
- 
Method SummaryModifier and TypeMethodDescriptionString[]compare(TagLibraryDescriptor control, TagLibraryDescriptor underTest) Performs a comparison of twoTagLibraryDescriptorobjects using the configuredValidationConfiguration.voidsetConfiguration(ValidationConfiguration configuration) Sets a newValidationConfigurationto use when performing comparisons.
- 
Constructor Details- 
TagLibraryComparitorConstructs a new TagLibraryComparitor that will use the providedValidationConfigurationto perform its comparison.- Parameters:
- configuration- - ValidationConfiguration
 
 
- 
- 
Method Details- 
setConfigurationSets a newValidationConfigurationto use when performing comparisons.- Parameters:
- configuration- - ValidationConfiguration
 
- 
comparePerforms a comparison of twoTagLibraryDescriptorobjects using the configuredValidationConfiguration.- Parameters:
- control- - the- controlTagLibraryDescriptor
- underTest- - the TagLibraryDescriptor that we are validating for correctness
- Returns:
- an empty array if no differences are found
- Throws:
- IllegalStateException- if the provided ValidationConfiguration is null, or has not be configured.
 
 
-