de.danielbechler.diff.introspect
Class StandardIntrospector

java.lang.Object
  extended by de.danielbechler.diff.introspect.StandardIntrospector
All Implemented Interfaces:
Introspector

public class StandardIntrospector
extends Object
implements Introspector

Resolves the accessors of a given type by using the standard Java Introspector.

Author:
Daniel Bechler

Constructor Summary
StandardIntrospector()
           
 
Method Summary
protected  BeanInfo getBeanInfo(Class<?> type)
           
 Iterable<Accessor> introspect(Class<?> type)
          Resolves the accessors of the given type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardIntrospector

public StandardIntrospector()
Method Detail

introspect

public Iterable<Accessor> introspect(Class<?> type)
Description copied from interface: Introspector
Resolves the accessors of the given type.

Specified by:
introspect in interface Introspector
Parameters:
type - The type to introspect.
Returns:
All valid accessors.

getBeanInfo

protected BeanInfo getBeanInfo(Class<?> type)
                        throws IntrospectionException
Throws:
IntrospectionException


Copyright © 2012. All Rights Reserved.