Class DocumentBeanInfo
public class DocumentBeanInfo extends SimpleBeanInfo
{
  // Methods
  public MethodDescriptor[] getMethodDescriptors();
}
This class provides specialized JavaBeans support for the Document class to resolve which overloaded functions are accessible through scripting. 
SimpleBeanInfo
  |
  +--DocumentBeanInfo
public MethodDescriptor[] getMethodDescriptors();
Returns the method descriptions for the methods that are to be made available through scripting. 
Return Value: 
Returns an array of MethodDescriptor objects.