Package texsoft.java.object

Provides classes that allow direct and simple access to public bean properties via reflection in a easy way.

See:
          Description

Class Summary
XsClassInspector Inspects reflection for class/interface and its properties.
XsInspectionFactory This class act as a factory/repository for XsClassInspectors.
XsKeyObject Defines an object able to act as a key for instances of XsObjectWithKey and derived classes, for seeking and sorting, and to serialize its properties using XsObjectSerializable services.
XsObject This is the full functional base class for objects with services for reflection, ordering, key, serialization.
XsObjectComparator Implements a comparator that compares XsObjectWithReflection objects.
XsObjectSerializable Defines an object able to serialize it state, using XsObjectWithReflection services, into a String and to init itself from a previously serialized string.
XsObjectUtil This class provides some usefull utility reflection related methods and provides internal utility methods for the texsoft.java.object package (with package visibility).
XsObjectWithKey This class adds key support to XsObjectSerializable.
XsObjectWithReflection Add easy reflection support to derived classes.
 

Exception Summary
XsObjectException Define a new exception that is thrown when an error is catched into the texsoft.java.object package.
 

Package texsoft.java.object Description

Provides classes that allow direct and simple access to public bean properties via reflection in a easy way.

The XsClassInspector class provides methods to retrieve reflection information on public setter and getter of a given class. This class is used by XsObject to offer reflection services in a very easy way. Performance is assured by the use of XsInspectionFactory which caches the reflection info of already inspeced classes.