|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--xdoclet.template.TemplateTagHandler
|
+--xdoclet.XDocletTagSupport
|
+--xdoclet.tags.AbstractProgramElementTagsHandler
|
+--xdoclet.tags.ClassTagsHandler
| Field Summary | |
protected static java.text.DateFormat |
dateFormatter
Used for setting the timestamp for xdoclet-generated marker in generated files. |
| Fields inherited from class xdoclet.tags.AbstractProgramElementTagsHandler |
currentToken, matchPattern, tagTokenizer |
| Fields inherited from class xdoclet.XDocletTagSupport |
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER |
| Constructor Summary | |
ClassTagsHandler()
|
|
| Method Summary | |
java.lang.String |
classComment(java.util.Properties attributes)
The comment for the current class. |
java.lang.String |
classCommentTags(java.util.Properties attributes)
The javadoc comment tags for the current class (plus xdoclet-generated). |
java.lang.String |
classCommentText(java.util.Properties attributes)
The text of the javadoc comment for the current class. |
java.lang.String |
className()
Returns the not-full-qualified name of the current class without the package name. |
void |
classOf(java.lang.String template)
Returns the not-full-qualified name of the full-qualified class name specified in the body of this tag. |
java.lang.String |
classTagValue(java.util.Properties attributes)
Iterates over all class tags with the specified tagName and evaluates the body of the tag for each class tag. |
java.lang.String |
classTagValueMatch(java.util.Properties attributes)
Sets the value of match variable. |
java.lang.String |
firstSentenceDescription(java.util.Properties attributes)
Return standard javadoc of current class. |
void |
forAllClasses(java.lang.String template,
java.util.Properties attributes)
Iterates over all classes loaded by javadoc and evaluates the body of the tag for each class. |
void |
forAllClassTags(java.lang.String template,
java.util.Properties attributes)
Iterates over all tags of current class with the name tagName and evaluates the body of the tag for each method. |
void |
forAllClassTagTokens(java.lang.String template,
java.util.Properties attributes)
Iterates over all tokens in specified class tag with the name tagName and evaluates the body for every token. |
java.lang.String |
fullClassName()
Returns the full-qualified name of the superclass of the current class. |
java.lang.String |
fullSuperclassName()
Returns the full-qualified name of the superclass of the current class. |
static java.lang.String |
getClassNameFor(com.sun.javadoc.ClassDoc clazz)
Returns the not-full-qualified name of the current class without the package name. |
static java.lang.String |
getFullClassNameFor(com.sun.javadoc.ClassDoc clazz)
Returns the full-qualified name of the current class with the package name. |
void |
ifClassTagValueEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if value for the class tag equals the specified value. |
void |
ifClassTagValueMatches(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if the match variable equals with the value of the specified tag/parameter. |
void |
ifClassTagValueNotEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if value for the class tag not equals the specified value. |
void |
ifDoesntHaveClassTag(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if current class doesn't have at least one tag with the specified name. |
void |
ifHasClassTag(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if current class has at least one tag with the specified name. |
void |
ifIsClassAbstract(java.lang.String template)
Evaluate the body block if current class is abstract. |
void |
ifIsClassNotAbstract(java.lang.String template)
Evaluate the body block if current class is not abstract. |
java.lang.String |
importedList(java.util.Properties attributes)
Iterates over all imported classes and packages imported in the current class and returns the list. |
void |
pushClass(java.lang.String template,
java.util.Properties attributes)
Pushes the class specified by value parameter to top of stack making it the current class. |
java.lang.String |
symbolicClassName()
Returns the symbolic name of the current class. |
| Methods inherited from class xdoclet.template.TemplateTagHandler |
generate, getContext, getEngine, getParser, setContext, setEngine, setParser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.text.DateFormat dateFormatter
| Constructor Detail |
public ClassTagsHandler()
| Method Detail |
public static java.lang.String getClassNameFor(com.sun.javadoc.ClassDoc clazz)
clazz - Description of Parameterpublic static java.lang.String getFullClassNameFor(com.sun.javadoc.ClassDoc clazz)
clazz - Description of Parameter
public java.lang.String className()
throws XDocletException
XDocletException - Description of Exception
public java.lang.String fullClassName()
throws XDocletException
XDocletException - Description of Exception
public java.lang.String fullSuperclassName()
throws XDocletException
XDocletException - Description of Exception
public void classOf(java.lang.String template)
throws XDocletException
template - The body of the block tagXDocletException - Description of Exception
public void ifIsClassAbstract(java.lang.String template)
throws XDocletException
template - The body of the block tagXDocletException - Description of ExceptionifIsClassNotAbstract(java.lang.String)
public void ifIsClassNotAbstract(java.lang.String template)
throws XDocletException
template - The body of the block tagXDocletException - Description of ExceptionifIsClassAbstract(java.lang.String)
public void pushClass(java.lang.String template,
java.util.Properties attributes)
throws XDocletException
attributes - The attributes of the template tagtemplate - The body of the block tagXDocletException - Description of Exception
public void forAllClasses(java.lang.String template,
java.util.Properties attributes)
throws XDocletException
template - The body of the block tagattributes - The attributes of the template tagXDocletException - Description of Exception
public java.lang.String symbolicClassName()
throws XDocletException
XDocletException - Description of Exception
public void ifDoesntHaveClassTag(java.lang.String template,
java.util.Properties attributes)
throws XDocletException
template - The body of the block tagattributes - The attributes of the template tagXDocletException - Description of Exception
public void ifHasClassTag(java.lang.String template,
java.util.Properties attributes)
throws XDocletException
template - The body of the block tagattributes - The attributes of the template tagXDocletException - Description of Exception
public void ifClassTagValueMatches(java.lang.String template,
java.util.Properties attributes)
throws XDocletException
template - The body of the block tagattributes - The attributes of the template tagXDocletException - Description of Exception
public void ifClassTagValueEquals(java.lang.String template,
java.util.Properties attributes)
throws XDocletException
template - The body of the block tagattributes - The attributes of the template tagXDocletException - Description of Exception
public void ifClassTagValueNotEquals(java.lang.String template,
java.util.Properties attributes)
throws XDocletException
template - The body of the block tagattributes - The attributes of the template tagXDocletException - Description of Exception
public java.lang.String classTagValue(java.util.Properties attributes)
throws XDocletException
attributes - The attributes of the template tagXDocletException - Description of Exception
public java.lang.String classTagValueMatch(java.util.Properties attributes)
throws XDocletException
attributes - The attributes of the template tagXDocletException - Description of Exception
public void forAllClassTags(java.lang.String template,
java.util.Properties attributes)
throws XDocletException
template - The body of the block tagattributes - The attributes of the template tagXDocletException - Description of Exception
public void forAllClassTagTokens(java.lang.String template,
java.util.Properties attributes)
throws XDocletException
template - The body of the block tagattributes - The attributes of the template tagXDocletException - Description of Exception
public java.lang.String classComment(java.util.Properties attributes)
throws XDocletException
attributes - The attributes of the template tagXDocletException - Description of ExceptionMethodTagsHandler.methodComment(java.util.Properties),
classCommentText(java.util.Properties),
classCommentTags(java.util.Properties)
public java.lang.String classCommentText(java.util.Properties attributes)
throws XDocletException
attributes - The attributes of the template tagXDocletException - Description of ExceptionMethodTagsHandler.methodComment(java.util.Properties),
classComment(java.util.Properties)
public java.lang.String classCommentTags(java.util.Properties attributes)
throws XDocletException
attributes - The attributes of the template tagXDocletException - Description of ExceptionMethodTagsHandler.methodComment(java.util.Properties),
classComment(java.util.Properties)
public java.lang.String firstSentenceDescription(java.util.Properties attributes)
throws XDocletException
attributes - XDocletException - Description of Exception
public java.lang.String importedList(java.util.Properties attributes)
throws XDocletException
attributes - XDocletException - Description of Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||