Class DefaultJavaDocTagHandler
- java.lang.Object
-
- com.webcohesion.enunciate.javac.javadoc.DefaultJavaDocTagHandler
-
- All Implemented Interfaces:
JavaDocTagHandler
public class DefaultJavaDocTagHandler extends Object implements JavaDocTagHandler
- Author:
- Ryan Heaton
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultJavaDocTagHandlerINSTANCE
-
Constructor Summary
Constructors Constructor Description DefaultJavaDocTagHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTypeId()The id of the type of this tag handler.StringonBlockTag(String tagName, String value, DecoratedElement context)What to do with a block JavaDoc tag.StringonInlineTag(String tagName, String tagText, DecoratedElement context)What to do with an inline JavaDoc tag.
-
-
-
Field Detail
-
INSTANCE
public static final DefaultJavaDocTagHandler INSTANCE
-
-
Method Detail
-
getTypeId
public String getTypeId()
Description copied from interface:JavaDocTagHandlerThe id of the type of this tag handler.- Specified by:
getTypeIdin interfaceJavaDocTagHandler- Returns:
- The id of the type of this tag handler.
-
onInlineTag
public String onInlineTag(String tagName, String tagText, DecoratedElement context)
Description copied from interface:JavaDocTagHandlerWhat to do with an inline JavaDoc tag.- Specified by:
onInlineTagin interfaceJavaDocTagHandler- Parameters:
tagName- The tag name.tagText- The tag text.context- The context of the text.- Returns:
- The text to replace the entire tag, or null for no replacement.
-
onBlockTag
public String onBlockTag(String tagName, String value, DecoratedElement context)
Description copied from interface:JavaDocTagHandlerWhat to do with a block JavaDoc tag.- Specified by:
onBlockTagin interfaceJavaDocTagHandler- Parameters:
tagName- The tag name.value- the tag value.context- the context of the text.- Returns:
- The text to replace the value.
-
-