org.geotools.validation
Class PlugIn

java.lang.Object
  extended byorg.geotools.validation.PlugIn

public class PlugIn
extends java.lang.Object

Contains the information required for Validation creation.

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

See Also:
http://vwfs.refractions.net/docs/Validating_Web_Feature_Server.pdf

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

Constructor Detail

PlugIn

public PlugIn(java.lang.String name,
              java.lang.Class type,
              java.lang.String description,
              java.util.Map config)
       throws ValidationException
Method Detail

propertyInfo

protected java.beans.PropertyDescriptor propertyInfo(java.lang.String name)

propertyMap

protected static java.util.Map propertyMap(java.beans.BeanInfo info)

createValidation

public Validation createValidation(java.lang.String name,
                                   java.lang.String description,
                                   java.util.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(java.lang.Object bean,
                         java.util.Map config)
                  throws ValidationException
Throws:
ValidationException

getPropertyMap

public java.util.Map getPropertyMap()


Copyright © GeoTools. All Rights Reserved.