Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » net » axis » server » [javadoc | source]
org.jboss.net.axis.server
public class: EntityBeanDeserializer [javadoc | source]
java.lang.Object
   org.apache.axis.encoding.DeserializerImpl
      org.jboss.net.axis.server.EntityBeanDeserializer

All Implemented Interfaces:
    ParameterizableDeserializer

Server-side deserializer hitting an existing entity bean. Derived from the axis BeanDeserializer. Currently relies on some silly conventions that must be configurable in the deployment descriptor.
Nested Class Summary:
public class  EntityBeanDeserializer.FindPropertyTarget   
public class  EntityBeanDeserializer.BeanPropertyTarget  Class which knows how to update a bean property 
static class  EntityBeanDeserializer.BeanPropertyDescriptor   
Field Summary
protected  Map options     
protected  Object home     
protected  Method findMethod     
protected  List findElements     
protected  Object[] findObjects     
protected  TypeDesc typeDesc     
protected  QName xmlType     
protected  Class javaType     
protected  Map propertyMap     
protected  int collectionIndex     
protected  Collection fieldSetters     
protected  boolean initialized     
Constructor:
 public EntityBeanDeserializer(Class remoteType,
    QName xmlType) throws Exception 
    Construct a new BeanSerializer
    Parameters:
    remoteType - remote interface of the entity bean
    xmlType - fully-qualified xml tag-name of the corresponding xml structure
Method from org.jboss.net.axis.server.EntityBeanDeserializer Summary:
getOptions,   getPd,   getStringOption,   initialize,   onEndElement,   onStartChild,   onStartElement,   setOptions
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.net.axis.server.EntityBeanDeserializer Detail:
 public Map getOptions() 
 public static EntityBeanDeserializer.BeanPropertyDescriptor[] getPd(Class javaType) 
    Create a BeanPropertyDescriptor array for the indicated class.
 protected String getStringOption(String key,
    String def) 
    returns an option string with a default
 protected  void initialize() throws SAXException 
    initialize the deserializer
 public  void onEndElement(String namespace,
    String localName,
    DeserializationContext context) throws SAXException 
 public SOAPHandler onStartChild(String namespace,
    String localName,
    String prefix,
    Attributes attributes,
    DeserializationContext context) throws SAXException 
    Deserializer interface called on each child element encountered in the XML stream.
 public  void onStartElement(String namespace,
    String localName,
    String qName,
    Attributes attributes,
    DeserializationContext context) throws SAXException 
    Set the bean properties that correspond to element attributes. This method is invoked after startElement when the element requires deserialization (i.e. the element is not an href and the value is not nil.)
 public  void setOptions(Map options)