File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "setting parent in custom schema" Watch "setting parent in custom schema" New topic

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 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:
subject: setting parent in custom schema
jQuery in Action, 3rd edition