Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change 
notification.

The following page has been changed by MaryamMoazeni:
http://wiki.apache.org/ws/MaryamMoazeni/GSoC2006

------------------------------------------------------------------------------
  
  This is the Wiki page for the Google Summer of Code Project to improve 
Axis2Databinding.
  
- '''Student : ''' Maryam Moazeni
+ '''Student: ''' Maryam Moazeni
  
- '''Mentor : ''' Ajith Ranabahu 
+ '''Mentor: ''' Devanum Srinivas
  
  
  
@@ -39, +39 @@

  
  OK, now I'm trying to see how can I make JavaBeanWriter work for restriction. 
At this time, my focus is on Complex Content restriction because I didn't want 
to get involved with primitive types and how to deal with them now.
  
- After passing the BeanWriterMetaInfoHolder related to the element or complex 
type to the JavaBeanWriter, a DOM tree is created based on meta info retrieved 
from the BeanWriterMetaInfoHolder. There is a "property" node added to the root 
node ("bean") of this tree. I think we can add some attributes about 
restriction at this node. I haven't read much about transformers yet, but I 
think we can add attributes about if we can add setters and getters for a 
certain element of the base type.
+ After passing the BeanWriterMetaInfoHolder related to the element or complex 
type to the JavaBeanWriter, a DOM tree is created based on meta info retrieved 
from the BeanWriterMetaInfoHolder. There is a "property" node added to the root 
node ("bean") of this tree. I think we can add some attributes about 
restriction at this node. I haven't read much about transformers yet, but I 
think we can add new attributes to the "property" node that shows if we can 
have setters and getters for a certain element of the base type.
  
  Therefore, we need to add some fields to the BeanWriterMetaInfoHolder Class 
regarding these meta info. In SchemaCompiler we should match the elements of 
the current type with that of base type and fill the BeanWriterMetaInfoHolder 
accordingly. 
  
- Also the "minOccurs" should be checked to throw exceptions, when a "required" 
element from the base type is omitted in the current type.
+ Also the "minOccurs" should be checked to throw exceptions whenever a 
"required" element from the base type is omitted in the current type.
  
   
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to