接口 DocletTag

所有超级接口:
Serializable
所有已知实现类:
DefaultDocletTag

public interface DocletTag extends Serializable
版本:
$Revision$
作者:
Joe Walnes, Aslak Hellesøy
  • 方法详细资料

    • getName

      String getName()
      The name of the doclet tag.
      返回:
      the tag name
    • getValue

      String getValue()
      The full value of the doclet tag.
      返回:
      the full tag-value
    • getParameters

      List<String> getParameters()
      返回:
      a list of whitespace-separated tag parameters
    • getNamedParameter

      String getNamedParameter(String key)
      参数:
      key - name of a named-parameter
      返回:
      the matching value, otherwise null
    • getNamedParameterMap

      Map<String,String> getNamedParameterMap()
      返回:
      a Map containing all the named-parameters, never null
    • getLineNumber

      int getLineNumber()
      The line number of the source where this tag occurred.
      返回:
      the line number where the tag occurred, otherwise -1
    • getContext

      JavaAnnotatedElement getContext()
      The element to which this tag applies.
      返回:
      the annotated element, should never be null
      从以下版本开始:
      1.4