net.refractions.udig.ui
Class AttributeValidator

java.lang.Object
  extended by net.refractions.udig.ui.AttributeValidator

public class AttributeValidator
extends java.lang.Object

Validates that an input is a legal input

Since:
0.3
Author:
jeichar

Constructor Summary
AttributeValidator(AttributeType attributeType, FeatureType featureType)
          Creates a new instance of AttributeValidator
 
Method Summary
 java.lang.String isValid(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValidator

public AttributeValidator(AttributeType attributeType,
                          FeatureType featureType)
Creates a new instance of AttributeValidator

Parameters:
attributeType - The AttributeType that the new instance will validate
featureType - the featureType that contains the attributeType.
Method Detail

isValid

public java.lang.String isValid(java.lang.Object value)