|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.tudelft.simulation.introspection.fields.FieldIntrospector
public class FieldIntrospector
The IntrospectionField introspector provides a field manipulation implementation of the introspection interfaces. Its behavior adhers to the following:
During construction, one can choose for either deep introspection (i.e.
including fields from all superclasses), or regular introspection (inlude
declared fields only). (c) copyright 2002-2005-2004 Delft University of Technology ,
the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
| Constructor Summary | |
|---|---|
FieldIntrospector()
constructs a new FieldIntrospector |
|
FieldIntrospector(boolean useDeepIntrospection)
constructs a new FieldIntrospector |
|
| Method Summary | |
|---|---|
Property[] |
getProperties(java.lang.Object introspected)
|
Property |
getProperty(java.lang.Object introspected,
java.lang.String property)
Retrieves the {see Property}with a given name from an introspected object. |
java.lang.String[] |
getPropertyNames(java.lang.Object introspected)
Retrieves the names of the properties of the introspected object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldIntrospector()
public FieldIntrospector(boolean useDeepIntrospection)
useDeepIntrospection - whether to use deep introspection| Method Detail |
|---|
public Property[] getProperties(java.lang.Object introspected)
getProperties in interface Introspectorintrospected - the introspected object
Introspector.getProperties(Object)
public Property getProperty(java.lang.Object introspected,
java.lang.String property)
Introspector
getProperty in interface Introspectorintrospected - The introspected object.property - The name of the property to be retrieved
Introspector.getProperty(Object,
String)public java.lang.String[] getPropertyNames(java.lang.Object introspected)
Introspector
getPropertyNames in interface Introspectorintrospected - The introspected object.
Introspector.getPropertyNames(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||