|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.tools.MappingToolMappingLoader
public final class MappingToolMappingLoader
Extend mapping loader to give us access to the findAccessor method.
| Constructor Summary | |
|---|---|
MappingToolMappingLoader(JavaNaming javaNaming)
A MappingToolMappingLoader needs a javaNaming to be set. |
|
| Method Summary | |
|---|---|
boolean |
canFindAccessors(Class clazz,
String fieldName,
Class type)
Checks if any accessor for a certain field exists. |
boolean |
returnsArray(Class clazz,
String fieldName,
Class type)
Returns true if the get method returns an array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MappingToolMappingLoader(JavaNaming javaNaming)
javaNaming - the JavaNaming implementation to use| Method Detail |
|---|
public boolean returnsArray(Class clazz,
String fieldName,
Class type)
clazz - the Class to find an accessor infieldName - the field for which an accessor is soughttype - the returning type of the accessor
public boolean canFindAccessors(Class clazz,
String fieldName,
Class type)
clazz - the Class to search infieldName - the field to search an accessor fortype - the return type the accessor should have
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||