File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes setting parent in custom schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "setting parent in custom schema" Watch "setting parent in custom schema" New topic
Author

setting parent in custom schema

srini carry
Ranch Hand

Joined: Nov 30, 2007
Posts: 83
I created my custom schema , a parser , a name space handler , it works fine all my beans are initialized.now I want to add the feature of parent(inheritance ) to my custom schema , I found a method getParentName from AbstractSingleBeanDefinitionParser , I override this method to set the parent , when I debug I can see the parent is set , but when all the beans are loaded and I call get methods of child bean I get null even tough the parent is set child is not inheriting , I d'ont what is going wrong ,
I also tried the same with beans not my custom schema it worked fine the child inherited from parent but in case of my custom schema its not, please suggest me with some examples , or any hints on what might cause this , help is greatly appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setting parent in custom schema
 
Similar Threads
Help with JSP
Polymorphism - InstanceOf
Nested Children Access
clarification on why the modifier private changes output..
Static methods and inheritance.