xdoclet.modules.jdo
public class JdoTagsHandler extends XDocletTagSupport
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
Constructor and Description |
---|
JdoTagsHandler() |
Modifier and Type | Method and Description |
---|---|
void |
forAllClassesInPackage(java.lang.String template,
java.util.Properties attributes)
The
forAllClassesInPackage method iterates through all the classes in the current package. |
void |
forAllPackages(java.lang.String template,
java.util.Properties attributes)
The
forAllPackages iterates through all packages, and generates the template if the
jdo.persistence-capable tag is present in at least one class in the package. |
void |
forAllVendorExtensions(java.lang.String template,
java.util.Properties attributes)
Generates the tag body for each vendor extension at the specified level.
|
protected void |
setCurrentVendorExtension(xdoclet.modules.jdo.VendorExtension vendorExtension) |
java.lang.String |
vendorExtension(java.util.Properties attributes)
Generates the extension element for the current vendor extension.
|
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
getXJavaDoc, setXJavaDoc
public void forAllPackages(java.lang.String template, java.util.Properties attributes) throws XDocletException
forAllPackages
iterates through all packages, and generates the template if the
jdo.persistence-capable tag is present in at least one class in the package.template
- a String
valueattributes
- a Properties
valueXDocletException
- if an error occurs @doc:tag type="block" @doc:param name="tagName" optional="false"
description="The tag name that must be present in at least one class in the package in order that the
template be generated."public void forAllClassesInPackage(java.lang.String template, java.util.Properties attributes) throws XDocletException
forAllClassesInPackage
method iterates through all the classes in the current package.template
- a String
valueattributes
- a Properties
valueXDocletException
- if an error occurs @doc:tag type="block"public void forAllVendorExtensions(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- attributes
- XDocletException
public java.lang.String vendorExtension(java.util.Properties attributes)
attributes
- protected void setCurrentVendorExtension(xdoclet.modules.jdo.VendorExtension vendorExtension)