org.apache.commons.clazz.reflect.standard
Class StandardReflectedListPropertyIntrospector

java.lang.Object
  extended by org.apache.commons.clazz.reflect.common.ReflectedPropertyIntrospectorSupport
      extended by org.apache.commons.clazz.reflect.common.ReflectedListPropertyIntrospectorSupport
          extended by org.apache.commons.clazz.reflect.standard.StandardReflectedListPropertyIntrospector
All Implemented Interfaces:
ReflectedPropertyIntrospector

public class StandardReflectedListPropertyIntrospector
extends ReflectedListPropertyIntrospectorSupport

A ReflectedPropertyIntrospector that discovers list (aka indexed) properties.

Version:
$Id: StandardReflectedListPropertyIntrospector.java 155436 2005-02-26 13:17:48Z dirkv $
Author:
Dmitri Plotnikov

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.clazz.reflect.common.ReflectedListPropertyIntrospectorSupport
ReflectedListPropertyIntrospectorSupport.GetAccessorMethodParser, ReflectedListPropertyIntrospectorSupport.ReadAccessorMethodParser, ReflectedListPropertyIntrospectorSupport.SetAccessorMethodParser, ReflectedListPropertyIntrospectorSupport.WriteAccessorMethodParser
 
Field Summary
 
Fields inherited from class org.apache.commons.clazz.reflect.common.ReflectedListPropertyIntrospectorSupport
GET_METHOD_PARSER, READ_METHOD_PARSER, SET_METHOD_PARSER, WRITE_METHOD_PARSER
 
Constructor Summary
StandardReflectedListPropertyIntrospector()
           
 
Method Summary
 void introspectProperties(ReflectedClazz clazz, Class javaClass, Map parseResultMap)
           
protected  boolean isCorrectPluralForm(String singular, String plural)
          With the standard JavaBean indexed properties the plural form is the same as the singular form.
 
Methods inherited from class org.apache.commons.clazz.reflect.common.ReflectedListPropertyIntrospectorSupport
createProperty, findBySingularName, getGetAccessMethodParser, getParseResults, getReadAccessMethodParser, getSetAccessMethodParser, getWriteAccessMethodParser, mergeSingularMethods
 
Methods inherited from class org.apache.commons.clazz.reflect.common.ReflectedPropertyIntrospectorSupport
introspectDeclaredProperties, introspectProperties, isCorrectPluralSuffix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardReflectedListPropertyIntrospector

public StandardReflectedListPropertyIntrospector()
Method Detail

introspectProperties

public void introspectProperties(ReflectedClazz clazz,
                                 Class javaClass,
                                 Map parseResultMap)
Specified by:
introspectProperties in class ReflectedPropertyIntrospectorSupport

isCorrectPluralForm

protected boolean isCorrectPluralForm(String singular,
                                      String plural)
With the standard JavaBean indexed properties the plural form is the same as the singular form.

Overrides:
isCorrectPluralForm in class ReflectedPropertyIntrospectorSupport


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.