This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question on custom tags

 
trupti nigam
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question ID :999107463300
Which of the following methods may be called on a custom tag handler that implements IterationTag interface?
1.doBodyTag
2.doEvalBody
3.doStartTag
4.doInitBody
5.doAfterBody
The correct ans given are 3,5.
My question is IterationTag has one method called doAfterBody, then why doStartTag is also called?
thanks,
Trupti
 
deepa nari
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey trupti do u work in intel
 
trupti nigam
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any answers??
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The IterationTag interface extends the Tag interface, so the doStartTag() method is also a part of an iteration tag's liecycle.
Simon
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic