xdoclet.modules.sun.sunone.ejb

Class SunONETagsHandler


public class SunONETagsHandler
extends xdoclet.tagshandler.AbstractProgramElementTagsHandler

Version:
$Revision: 1.1 $
Author:
Andrew Stevens
xdoclet.taghandler
namespace = "SunONE"
created
23 February, 2003

Field Summary

protected Map
attributes
Collection of attributes.
protected xdoclet.tagshandler.MethodTagsHandler
handler
For use in extracting method names.
protected int
index
For looping through indexed tags.

Fields inherited from class xdoclet.tagshandler.AbstractProgramElementTagsHandler

currentToken, matchPattern, tagTokenizer

Fields inherited from class xdoclet.XDocletTagSupport

FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER

Method Summary

static String
generateGUID()
A 32 byte GUID generator (Globally Unique ID).
static String
generateGUID(Object o)
A 32 byte GUID generator (Globally Unique ID).

Methods inherited from class xdoclet.tagshandler.AbstractProgramElementTagsHandler

checkForWrap, currentToken, exceptionList, firstSentenceDescriptionOfCurrentMember, forAllMemberTagTokens, forAllMemberTags, forAllMembers, getAllClasses, getClassNameFor, getFullClassNameFor, getFullSuperclassNameFor, getIndentChars, getXExecutableMemberForMemberName, getXExecutableMemberForMemberName, hasExecutableMember, hasExecutableMember_OLD, makeCopyOfArray, matchValue, memberComment, setMatchValue, skipToken

Methods inherited from class xdoclet.XDocletTagSupport

delimit, expandClassName, generate, getCurrentClass, getCurrentClassTag, getCurrentConstructor, getCurrentField, getCurrentFieldTag, getCurrentMethod, getCurrentMethodTag, getCurrentPackage, getDocletContext, getEngine, getExpandedDelimitedTagValue, getTagValue, getTagValue, getTagValue, hasHavingClassTag, hasTag, isTagValueEqual, mandatoryParamNotFound, mandatoryTemplateTagParamNotFound, modifiers, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentClassTag, setCurrentConstructor, setCurrentField, setCurrentFieldTag, setCurrentMethod, setCurrentMethodTag, setCurrentPackage

Methods inherited from class xdoclet.template.TemplateTagHandler

getXJavaDoc, setXJavaDoc

Field Details

attributes

protected Map attributes
Collection of attributes. XXX: Does this need to be synchronized?

handler

protected xdoclet.tagshandler.MethodTagsHandler handler
For use in extracting method names.

index

protected int index
For looping through indexed tags.

Method Details

generateGUID

public static String generateGUID()
            throws xdoclet.XDocletException
A 32 byte GUID generator (Globally Unique ID). I couldn't find any documentation for how Sun's own utilities generate them, so I've copied the method used in the generated Util classes. Hopefully that's good enough.
Returns:
The name of current EJB bean.
Throws:
xdoclet.XDocletException -
doc.tag
type = "content"

generateGUID

public static String generateGUID(Object o)
            throws xdoclet.XDocletException
A 32 byte GUID generator (Globally Unique ID). I couldn't find any documentation for how Sun's own utilities generate them, so I've copied the method used in the generated Util classes. Hopefully that's good enough.
Parameters:
o -
Returns:
The name of current EJB bean.
Throws:
xdoclet.XDocletException -