org.geotools.validation
Class PlugIn

Object
  extended by PlugIn

public class PlugIn
extends Object

Contains the information required for Validation creation.

Currently just used for configuration, may need to be public for dynamic configuration.

See Also:
A PDF on Validating Web Feature Servers
Module:

Constructor Summary
PlugIn(String name, Class type, String description, Map config)
           
 
Method Summary
protected  void configure(Object bean, Map config)
           
 Validation createValidation(String name, String description, Map args)
          Create a Validation based on provided test definition.
 Map getPropertyMap()
           
protected  PropertyDescriptor propertyInfo(String name)
           
protected static Map propertyMap(BeanInfo info)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlugIn

public PlugIn(String name,
              Class type,
              String description,
              Map config)
       throws ValidationException
Throws:
ValidationException
Method Detail

propertyInfo

protected PropertyDescriptor propertyInfo(String name)

propertyMap

protected static Map propertyMap(BeanInfo info)

createValidation

public Validation createValidation(String name,
                                   String description,
                                   Map args)
                            throws ValidationException
Create a Validation based on provided test definition.

Creates the required Java Bean and configures according to the provided test definition, using this plugIn's defaults.

Parameters:
name - Map defining User's test.
description - DOCUMENT ME!
args - DOCUMENT ME!
Returns:
Validation ready for use by the ValidationProcessor
Throws:
ValidationException - when an error occurs

configure

protected void configure(Object bean,
                         Map config)
                  throws ValidationException
Throws:
ValidationException

getPropertyMap

public Map getPropertyMap()


Copyright © 1996-2009 Geotools. All Rights Reserved.