Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » net » axis » server » [javadoc | source]
org.jboss.net.axis.server
static class: EntityBeanDeserializer.BeanPropertyDescriptor [javadoc | source]
java.lang.Object
   org.jboss.net.axis.server.EntityBeanDeserializer$BeanPropertyDescriptor
Constructor:
 public BeanPropertyDescriptor(String _name,
    Method _getter,
    Method _setter) 
Method from org.jboss.net.axis.server.EntityBeanDeserializer$BeanPropertyDescriptor Summary:
getName,   getReadMethod,   getType,   getWriteMethod,   processPropertyDescriptors
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.net.axis.server.EntityBeanDeserializer$BeanPropertyDescriptor Detail:
 public String getName() 
 public Method getReadMethod() 
 public Class getType() 
 public Method getWriteMethod() 
 static EntityBeanDeserializer.BeanPropertyDescriptor[] processPropertyDescriptors(PropertyDescriptor[] rawPd,
    Class cls) 
    This method attempts to sort the property descriptors to match the order defined in the class. This is necessary to support xsd:sequence processing, which means that the serialized order of properties must match the xml element order. (This method assumes that the order of the set methods matches the xml element order...the emitter will always order the set methods according to the xml order.) This routine also looks for set(i, type) and get(i) methods and adjusts the property to use these methods instead. These methods are generated by the emitter for "collection" of properties (i.e. maxOccurs="unbounded" on an element). JAX-RPC is silent on this issue, but web services depend on this kind of behaviour. The method signatures were chosen to match bean indexed properties.