xdoclet.tagshandler

Class TypeTagsHandler


public class TypeTagsHandler
extends xdoclet.XDocletTagSupport

Field Summary

static int
TYPE_CONCRETE_TYPE
static int
TYPE_HIERARCHY
static int
TYPE_SUPERCLASS

Fields inherited from class xdoclet.XDocletTagSupport

FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER

Method Summary

static int
extractExtentType(String extent_str)
void
ifIsNotOfType(String template, Properties attributes)
void
ifIsNotPrimitive(String template, Properties attributes)
void
ifIsNotPrimitiveArray(String template, Properties attributes)
void
ifIsNotPrimitiveOrString(String template, Properties attributes)
void
ifIsOfType(String template, Properties attributes)
protected void
ifIsOfType_Impl(String template, Properties attributes, boolean condition)
void
ifIsPrimitive(String template, Properties attributes)
void
ifIsPrimitiveArray(String template, Properties attributes)
void
ifIsPrimitiveOrString(String template, Properties attributes)
static boolean
isOfType(XClass clazz, String type, int extent)
static boolean
isPrimitiveArray(String name)
static boolean
isPrimitiveType(String name)
String
typeWithoutDimensions(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

TYPE_CONCRETE_TYPE

public static final int TYPE_CONCRETE_TYPE
Field Value:
0

TYPE_HIERARCHY

public static final int TYPE_HIERARCHY
Field Value:
2

TYPE_SUPERCLASS

public static final int TYPE_SUPERCLASS
Field Value:
1

Method Details

extractExtentType

public static int extractExtentType(String extent_str)

ifIsNotOfType

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

ifIsNotPrimitive

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

ifIsNotPrimitiveArray

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

ifIsNotPrimitiveOrString

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

ifIsOfType

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

ifIsOfType_Impl

protected void ifIsOfType_Impl(String template,
                               Properties attributes,
                               boolean condition)
            throws xdoclet.XDocletException

ifIsPrimitive

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

ifIsPrimitiveArray

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

ifIsPrimitiveOrString

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

isOfType

public static boolean isOfType(XClass clazz,
                               String type,
                               int extent)

isPrimitiveArray

public static boolean isPrimitiveArray(String name)

isPrimitiveType

public static boolean isPrimitiveType(String name)

typeWithoutDimensions

public String typeWithoutDimensions(Properties attributes)
            throws xdoclet.XDocletException