org.opengis.test.coverage.image
Class ImageValidator
Object
Validator
ImageValidator
public class ImageValidator
- extends Validator
Validators for implementations of java.awt.image or javax.imageio services.
- Since:
- 3.1
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageValidator
public ImageValidator(ValidatorContainer container)
- Creates a new validator instance.
- Parameters:
container - The set of validators to use for validating other kinds of objects
(see field javadoc).
validate
public void validate(ImageReaderSpi provider)
- Validates the given provider of image readers.
First, this method verifies that mandatory elements are non-null, arrays are non-empty
(Image I/O specification requires them to be
null rather than empty), and class
names are valid. Next, this method invokes validate(IIOMetadataFormat) for each
metadata format (which can be null).
- Parameters:
provider - The provider to validate, or null if none.
validate
public void validate(ImageWriterSpi provider)
- Validates the given provider of image writers.
First, this method verifies that mandatory elements are non-null, arrays are non-empty
(Image I/O specification requires them to be
null rather than empty), and class
names are valid. Next, this method invokes validate(IIOMetadataFormat) for each
metadata format (which can be null).
- Parameters:
provider - The provider to validate, or null if none.
validate
public void validate(IIOMetadataFormat format)
- Validates the given metadata format.
- Parameters:
format - The metadata format to validate, or null if none.
Copyright © 1994-2013 Open Geospatial Consortium. All Rights Reserved.