throws IntrospectionException {
PropertyDescriptor[] properties = beanInfo.getPropertyDescriptors();
for (int i=0; i<properties.length; i++) {
if (propertyName.equals(properties[i].getName())) {
NodeDescriptor desc = (NodeDescriptor) introspector
.createXMLDescriptor(new BeanProperty(properties[i]));
return desc;
}
}
return null;
}