xdoclet.modules.util
public class CollectionTagsHandler extends XDocletTagSupport
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
Constructor and Description |
---|
CollectionTagsHandler() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.util.Properties attributes)
Creates a new utility collection that will store template data.
|
void |
destroy(java.util.Properties attributes)
Destroys the specified collection.
|
java.lang.String |
get(java.util.Properties attributes)
Obtains one value contained in the collection.
|
void |
ifContains(java.lang.String template,
java.util.Properties attributes)
Generates the contained template code if the specified collection contains the key or value passed as attributes.
|
void |
ifDoesntContain(java.lang.String template,
java.util.Properties attributes)
Generates the contained template code if the specified collection doesn't contain the key or value passed as
attributes.
|
void |
put(java.util.Properties attributes)
Puts a new element into the specified collection.
|
void |
remove(java.util.Properties attributes)
Removes an element from the specified collection.
|
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 java.lang.String get(java.util.Properties attributes) throws XDocletException
attributes
- The attributes of the template tagXDocletException
- if something goes wrongpublic void create(java.util.Properties attributes) throws XDocletException
attributes
- The attributes of the template tagXDocletException
- if something goes wrongpublic void put(java.util.Properties attributes) throws XDocletException
attributes
- The attributes of the template tagXDocletException
- if something goes wrongpublic void remove(java.util.Properties attributes) throws XDocletException
attributes
- The attributes of the template tagXDocletException
- if something goes wrongpublic void ifContains(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The block tag contentsattributes
- The attributes of the tag templateXDocletException
public void ifDoesntContain(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The block tag contentsattributes
- The attributes of the tag templateXDocletException
public void destroy(java.util.Properties attributes) throws XDocletException
attributes
- The attributes of the tag templateXDocletException
- if something goes wrong