net.sf.mmm.util.pojo.descriptor.impl
Class PojoFieldIntrospectorImpl

java.lang.Object
  extended by net.sf.mmm.util.pojo.descriptor.impl.AbstractPojoIntrospector
      extended by net.sf.mmm.util.pojo.descriptor.impl.PojoFieldIntrospectorImpl
All Implemented Interfaces:
PojoFieldIntrospector

public class PojoFieldIntrospectorImpl
extends AbstractPojoIntrospector
implements PojoFieldIntrospector

This is the implementation of the PojoMethodIntrospector interface.

Since:
1.1.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Nested Class Summary
 class PojoFieldIntrospectorImpl.PojoFieldIterator
          This inner class iterates the fields of a given pojo-type according to the visibility.
 
Constructor Summary
PojoFieldIntrospectorImpl()
          The constructor.
PojoFieldIntrospectorImpl(VisibilityModifier visibility, boolean acceptStatic)
          The constructor.
 
Method Summary
 Iterator<Field> findFields(Class<?> pojoType)
          This method finds the fields of the given pojoType.
 
Methods inherited from class net.sf.mmm.util.pojo.descriptor.impl.AbstractPojoIntrospector
getInitializationState, getVisibility, initialize, isAcceptStatic, setAcceptStatic, setVisibility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PojoFieldIntrospectorImpl

public PojoFieldIntrospectorImpl()
The constructor.


PojoFieldIntrospectorImpl

public PojoFieldIntrospectorImpl(VisibilityModifier visibility,
                                 boolean acceptStatic)
The constructor. Configures and initializes the component.

Parameters:
visibility - is the visibility.
acceptStatic - is the accept-static flag.
Method Detail

findFields

public Iterator<Field> findFields(Class<?> pojoType)
This method finds the fields of the given pojoType.

Specified by:
findFields in interface PojoFieldIntrospector
Parameters:
pojoType - is the type reflecting the POJO for which the fields are requested.
Returns:
a read-only iterator of all the Fields.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.