xdoclet
public abstract class DocletSupport extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static xjavadoc.XTag |
currentClassTag |
protected static xjavadoc.XTag |
currentFieldTag |
protected static xjavadoc.XTag |
currentMethodTag
The current Tag.
|
Constructor and Description |
---|
DocletSupport() |
Modifier and Type | Method and Description |
---|---|
xjavadoc.XClass |
getCurrentClass()
Peeks and return the current class from top of currentClassStack stack.
|
static xjavadoc.XTag |
getCurrentClassTag()
Gets the CurrentClassTag attribute of the DocletSupport class
|
xjavadoc.XConstructor |
getCurrentConstructor()
Returns current constructor.
|
xjavadoc.XField |
getCurrentField()
Returns current field.
|
static xjavadoc.XTag |
getCurrentFieldTag()
Gets the CurrentFieldTag attribute of the DocletSupport field
|
xjavadoc.XMethod |
getCurrentMethod()
Returns current method.
|
static xjavadoc.XTag |
getCurrentMethodTag()
Gets the CurrentMethodTag attribute of the DocletSupport class
|
xjavadoc.XPackage |
getCurrentPackage()
Returns current package.
|
static xjavadoc.XTag |
getCurrentTag()
This method is for backward compatiblity only.
|
static boolean |
isDocletGenerated(xjavadoc.XClass clazz)
Returns true if the clazz generated by xdoclet.
|
xjavadoc.XClass |
popCurrentClass()
Popes current class from top currentClassStack stack.
|
xjavadoc.XClass |
pushCurrentClass(xjavadoc.XClass clazz)
Pushes class clazz to top of currentClassStack stack, making it effectively the current class.
|
void |
setCurrentClass(xjavadoc.XClass clazz)
Sets current class to clazz by clearing currentClassStack stack and pushing clazz into top of it.
|
static void |
setCurrentClassTag(xjavadoc.XTag currentTag)
Sets the CurrentClassTag attribute of the DocletSupport class
|
void |
setCurrentConstructor(xjavadoc.XConstructor constructor)
Sets the CurrentConstructor attribute of the DocletSupport object
|
void |
setCurrentField(xjavadoc.XField field)
Sets the CurrentField attribute of the DocletSupport object
|
static void |
setCurrentFieldTag(xjavadoc.XTag currentTag)
Sets the CurrentFieldTag attribute of the DocletSupport field
|
void |
setCurrentMethod(xjavadoc.XMethod method)
Sets the CurrentMethod attribute of the DocletSupport object
|
static void |
setCurrentMethodTag(xjavadoc.XTag currentTag)
Sets the CurrentMethodTag attribute of the DocletSupport class
|
void |
setCurrentPackage(xjavadoc.XPackage pakkage)
Returns current package.
|
protected static xjavadoc.XTag currentMethodTag
protected static xjavadoc.XTag currentClassTag
protected static xjavadoc.XTag currentFieldTag
public static xjavadoc.XTag getCurrentMethodTag()
public static xjavadoc.XTag getCurrentClassTag()
public static xjavadoc.XTag getCurrentFieldTag()
public static xjavadoc.XTag getCurrentTag()
public static boolean isDocletGenerated(xjavadoc.XClass clazz)
clazz
- Description of Parameterpublic static void setCurrentMethodTag(xjavadoc.XTag currentTag)
currentTag
- The new CurrentMethodTag valuepublic static void setCurrentClassTag(xjavadoc.XTag currentTag)
currentTag
- The new CurrentClassTag valuepublic static void setCurrentFieldTag(xjavadoc.XTag currentTag)
currentTag
- The new CurrentFieldTag valuepublic xjavadoc.XClass getCurrentClass()
setCurrentClass(xjavadoc.XClass)
public xjavadoc.XPackage getCurrentPackage()
setCurrentPackage(xjavadoc.XPackage)
public xjavadoc.XMethod getCurrentMethod()
setCurrentMethod(xjavadoc.XMethod)
public xjavadoc.XConstructor getCurrentConstructor()
setCurrentConstructor(xjavadoc.XConstructor)
public xjavadoc.XField getCurrentField()
setCurrentField(xjavadoc.XField)
public void setCurrentPackage(xjavadoc.XPackage pakkage)
pakkage
- The new CurrentPackage valuesetCurrentPackage(xjavadoc.XPackage)
public void setCurrentMethod(xjavadoc.XMethod method)
method
- The new CurrentMethod valuepublic void setCurrentConstructor(xjavadoc.XConstructor constructor)
constructor
- The new CurrentConstructor valuepublic void setCurrentField(xjavadoc.XField field)
field
- The new CurrentField valuepublic void setCurrentClass(xjavadoc.XClass clazz)
clazz
- The new CurrentClass valuegetCurrentClass()
public xjavadoc.XClass pushCurrentClass(xjavadoc.XClass clazz)
clazz
- Description of ParametergetCurrentClass()
,
setCurrentClass(xjavadoc.XClass)
,
popCurrentClass()
public xjavadoc.XClass popCurrentClass()
getCurrentClass()
,
setCurrentClass(xjavadoc.XClass)
,
pushCurrentClass(xjavadoc.XClass)