Hi there is a Question in Jdiscuss <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>
Which of the following statements regarding the above tag are correct?
they gave answer It must implement BodyTag interface
why should that taghandler implements BodyTag interface?
posted 11 years ago
If the tag handler needs to manipulate the body (as this is the case, since it must replace the emoticons), then the tag handler must implement BodyTag.