This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
J radolf wrote:am getting a nullpointerException because it is not reading the values?
what should be my next step?
Reading the responses from Ulf and David would probably be a good first step.
Joined: Jan 08, 2009
By "this kind", do you mean the attributes? If so, check out the DOM methods Node.getAttributes and Element.getAttribute.
where do i put these methods in my code? after DESPROXY tag value returns?
Joined: Aug 05, 2005
J radolf wrote:where do i put these methods in my code? after DESPROXY tag value returns?
Well, they are methods of the Node and Element classes, so you will need an instance of one of these classes in order to call them.
Find out where in your code you have these instances and then experiment with calls to these methods and see what data they return.