• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mock quesion on taghandlers

 
anil kumar
Ranch Hand
Posts: 447
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

This question is from jdiscuss.com site

<tag>
<name>SmilyTag</name>
<tag-class>com.enthuware.ctags.SmilyTag</tag-class>
<description>
Replaces emoticons such as , , and with images.
</description>
<body-content>tagdependent</body-content>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>


One of the answer for this question is

1)It must implement BodyTag interface.

Reason :
Since the body-content is tagdependent, it must implement the BodyTag interface.

I don't think so,this is the correct option.

Can any body tell me.Is this the right option.


Sorry ,if this question is asked before.

Thanks

Anil Kumar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic