org.geotools.validation
Class ValidationBeanInfo

java.lang.Object
  extended byjava.beans.SimpleBeanInfo
      extended byorg.geotools.validation.ValidationBeanInfo
All Implemented Interfaces:
java.beans.BeanInfo
Direct Known Subclasses:
DefaultFeatureValidationBeanInfo, DefaultIntegrityValidationBeanInfo

public class ValidationBeanInfo
extends java.beans.SimpleBeanInfo

Utility class extending SimpleBeanInfo with our own helper functions.


Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
ValidationBeanInfo()
          ValidationBeanInfo constructor.
 
Method Summary
protected  java.beans.PropertyDescriptor createPropertyDescriptor(java.lang.String name, java.lang.Class cls, java.util.ResourceBundle resourceBundle)
           
 java.beans.PropertyDescriptor[] getPropertyDescriptors()
          Implementation of getPropertyDescriptors.
protected  java.util.ResourceBundle getResourceBundle(java.lang.Class cls)
           
 
Methods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationBeanInfo

public ValidationBeanInfo()
ValidationBeanInfo constructor.

Description

Method Detail

getPropertyDescriptors

public java.beans.PropertyDescriptor[] getPropertyDescriptors()
Implementation of getPropertyDescriptors. This method should be called by all overriding sub-class methods. Property names 'name', 'description', 'typeNames'

Returns:
See Also:
BeanInfo.getPropertyDescriptors()

getResourceBundle

protected java.util.ResourceBundle getResourceBundle(java.lang.Class cls)

createPropertyDescriptor

protected java.beans.PropertyDescriptor createPropertyDescriptor(java.lang.String name,
                                                                 java.lang.Class cls,
                                                                 java.util.ResourceBundle resourceBundle)
                                                          throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException