Class BeanAdapter

All Implemented Interfaces:
AdapterNode, Element, Node

public class BeanAdapter extends AbstractAdapterElement
This class is the most general type of adapter, utilizing reflective introspection to present a DOM view of all of the public properties of its value. For example, a property returning a JavaBean such as:
 public Person getMyPerson() { ... }
 ...
 class Person {
      public String getFirstName();
      public String getLastName();
 }
 

would be rendered as: <myPerson> <firstName>...</firstName> <lastName>...</lastName> </myPerson>