xdoclet.tagshandler

Class AbstractProgramElementTagsHandler


public abstract class AbstractProgramElementTagsHandler
extends xdoclet.XDocletTagSupport

Field Summary

protected static String
currentToken
protected static String
matchPattern
protected static StringTokenizer
tagTokenizer

Fields inherited from class xdoclet.XDocletTagSupport

FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER

Method Summary

protected String
checkForWrap(String pText)
String
currentToken(Properties attributes)
protected String
exceptionList(Properties attributes, int forType)
protected String
firstSentenceDescriptionOfCurrentMember(XMember member)
protected void
forAllMemberTagTokens(String template, Properties attributes, int for_type)
protected void
forAllMemberTags(String template, Properties attributes, int forType, String resourceKey, String[] arguments)
protected void
forAllMembers(String template, Properties attributes, int forType)
static Collection
getAllClasses()
static String
getClassNameFor(XClass clazz)
static String
getFullClassNameFor(XClass clazz)
static String
getFullSuperclassNameFor(XClass clazz)
protected char[]
getIndentChars(Properties attributes)
protected XExecutableMember
getXExecutableMemberForMemberName(String memberName, boolean superclasses, int forType)
protected XExecutableMember
getXExecutableMemberForMemberName(String memberName, int forType)
protected static boolean
hasExecutableMember(XClass clazz, String executableMemberName, String[] parameters, boolean setCurrentExecutableMember, int forType)
protected static boolean
hasExecutableMember_OLD(XClass clazz, String executableMemberName, String[] parameters, boolean setCurrentExecutableMember, int forType)
protected static Object[]
makeCopyOfArray(Object[] objects)
String
matchValue()
protected String
memberComment(Properties attributes, int forType)
void
setMatchValue(String template, Properties attributes)
String
skipToken(Properties attributes)

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

currentToken

protected static String currentToken

matchPattern

protected static String matchPattern

tagTokenizer

protected static StringTokenizer tagTokenizer

Method Details

checkForWrap

protected String checkForWrap(String pText)

currentToken

public String currentToken(Properties attributes)
            throws xdoclet.XDocletException

exceptionList

protected String exceptionList(Properties attributes,
                               int forType)
            throws xdoclet.XDocletException

firstSentenceDescriptionOfCurrentMember

protected String firstSentenceDescriptionOfCurrentMember(XMember member)
            throws xdoclet.XDocletException

forAllMemberTagTokens

protected void forAllMemberTagTokens(String template,
                                     Properties attributes,
                                     int for_type)
            throws xdoclet.XDocletException

forAllMemberTags

protected void forAllMemberTags(String template,
                                Properties attributes,
                                int forType,
                                String resourceKey,
                                String[] arguments)
            throws xdoclet.XDocletException

forAllMembers

protected void forAllMembers(String template,
                             Properties attributes,
                             int forType)
            throws xdoclet.XDocletException

getAllClasses

public static Collection getAllClasses()

getClassNameFor

public static String getClassNameFor(XClass clazz)

getFullClassNameFor

public static String getFullClassNameFor(XClass clazz)

getFullSuperclassNameFor

public static String getFullSuperclassNameFor(XClass clazz)

getIndentChars

protected char[] getIndentChars(Properties attributes)

getXExecutableMemberForMemberName

protected XExecutableMember getXExecutableMemberForMemberName(String memberName,
                                                              boolean superclasses,
                                                              int forType)
            throws xdoclet.XDocletException

getXExecutableMemberForMemberName

protected XExecutableMember getXExecutableMemberForMemberName(String memberName,
                                                              int forType)
            throws xdoclet.XDocletException

hasExecutableMember

protected static boolean hasExecutableMember(XClass clazz,
                                             String executableMemberName,
                                             String[] parameters,
                                             boolean setCurrentExecutableMember,
                                             int forType)
            throws xdoclet.XDocletException

hasExecutableMember_OLD

protected static boolean hasExecutableMember_OLD(XClass clazz,
                                                 String executableMemberName,
                                                 String[] parameters,
                                                 boolean setCurrentExecutableMember,
                                                 int forType)
            throws xdoclet.XDocletException

makeCopyOfArray

protected static Object[] makeCopyOfArray(Object[] objects)

matchValue

public String matchValue()
            throws xdoclet.XDocletException

memberComment

protected String memberComment(Properties attributes,
                               int forType)
            throws xdoclet.XDocletException

setMatchValue

public void setMatchValue(String template,
                          Properties attributes)
            throws xdoclet.XDocletException

skipToken

public String skipToken(Properties attributes)
            throws xdoclet.XDocletException