chrriis.uihierarchy.xml.resolver
Class FieldsComponentResolver
java.lang.Object
chrriis.uihierarchy.xml.resolver.FieldsComponentResolver
- All Implemented Interfaces:
- ComponentResolver
- public class FieldsComponentResolver
- extends Object
- implements ComponentResolver
The component resolver for object fields. It is able to resolve public
fields, but can also resolve other fields for JDK 1.2 and later if the
security manager allows changing member accessibility (via reflection).
- Version:
- 1.0 2003.10.06
- Author:
- Christopher Deckers (chrriis@brainlex.com)
FieldsComponentResolver
public FieldsComponentResolver(Object object)
- Construct a fields component resolver for an object.
- Parameters:
object
- The object from which the fields will be inspected and added
to the resolve mechanism.
resolve
public Object resolve(String name)
- Resolve a component from its name.
- Specified by:
resolve
in interface ComponentResolver
- Parameters:
name
- The name of the component to resolve.
- Returns:
- The component matching the given name, or null if not found.
- See Also:
ComponentResolver.resolve(java.lang.String)