|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.meta.info.builder.tags.AbstractTag
A doclet tag representing the name of the Type.
Field Summary | |
static String |
TYPE_PARAM
The dependency tag type parameter name. |
static String |
VERSION_PARAM
The dependency tag version parameter name. |
Constructor Summary | |
AbstractTag(JavaClass clazz)
Class constructor. |
Method Summary | |
protected JavaClass |
getJavaClass()
Return the javadoc class descriptor. |
protected JavaMethod[] |
getLifecycleMethods(String methodName,
String parameterType)
Retrieves all methods in the inheritance graph with specified name and one parameter of specified type. |
protected String |
getNamedParameter(DocletTag tag,
String name)
Retrieve specified named parameter from tag. |
protected String |
getNamedParameter(DocletTag tag,
String name,
String defaultValue)
Retrieve specified named parameter from tag. |
String |
getNS()
Return the user defined namespace for avalon tags. |
String |
getNSD()
Return the user defined namespace for avalon tags including the standard namespace delimiter. |
protected String |
resolveType(String type)
Resolve the specified type. |
protected Version |
resolveVersion(String type)
Resolve a version form the supplied string. |
protected Version |
resolveVersion(String version,
String type)
Resolve a version form the supplied string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String TYPE_PARAM
public static final String VERSION_PARAM
Constructor Detail |
public AbstractTag(JavaClass clazz)
clazz
- the javadoc class descriptorMethod Detail |
protected JavaClass getJavaClass()
public String getNS() throws IllegalArgumentException
IllegalArgumentException
- if the namespace tag is declared by does not
contain a valuepublic String getNSD() throws IllegalArgumentException
IllegalArgumentException
- if the namespace tag is declared by does not
contain a valueprotected String getNamedParameter(DocletTag tag, String name, String defaultValue)
tag
- the tagname
- the name of parameterdefaultValue
- the default value
protected String getNamedParameter(DocletTag tag, String name)
tag
- the tagname
- the name of parameter
protected Version resolveVersion(String version, String type)
version
- the explicit versiontype
- the unresolved type in the classname:version format
protected Version resolveVersion(String type)
type
- the unresolved type
protected String resolveType(String type)
type
- the unresolved type classname
protected JavaMethod[] getLifecycleMethods(String methodName, String parameterType)
methodName
- the name of the methodsparameterType
- the class name of parameter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |