Class DefaultDocletTag
java.lang.Object
com.thoughtworks.qdox.model.impl.DefaultDocletTag
- All Implemented Interfaces:
DocletTag, Serializable
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDocletTag(String name, String value) DefaultDocletTag(String name, String value, JavaAnnotatedElement context, int lineNumber) -
Method Summary
Modifier and TypeMethodDescriptionfinal JavaAnnotatedElementThe element to which this tag applies.intThe line number of the source where this tag occurred.getName()The name of the doclet tag.getNamedParameter(String key) getValue()The full value of the doclet tag.
-
Constructor Details
-
DefaultDocletTag
-
DefaultDocletTag
-
-
Method Details
-
getName
-
getValue
-
getParameters
- Specified by:
getParametersin interfaceDocletTag- Returns:
- a list of whitespace-separated tag parameters
-
getNamedParameterMap
- Specified by:
getNamedParameterMapin interfaceDocletTag- Returns:
- a Map containing all the named-parameters, never
null
-
getNamedParameter
- Specified by:
getNamedParameterin interfaceDocletTag- Parameters:
key- name of a named-parameter- Returns:
- the matching value, otherwise
null
-
getContext
The element to which this tag applies.- Specified by:
getContextin interfaceDocletTag- Returns:
- the annotated element, should never be
null
-
getLineNumber
public int getLineNumber()The line number of the source where this tag occurred.- Specified by:
getLineNumberin interfaceDocletTag- Returns:
- the line number where the tag occurred, otherwise
-1
-