|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xdoclet.template.TemplateTagHandler | +--xdoclet.XDocletTagSupport | +--xdoclet.tags.ConfigTagsHandler
Fields inherited from class xdoclet.XDocletTagSupport |
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER |
Constructor Summary | |
ConfigTagsHandler()
|
Method Summary | |
java.lang.String |
configParameterValue(java.util.Properties attributes)
Returns the values of a configuration parameter with the name paramName. |
void |
forAllConfigParameters(java.lang.String template,
java.util.Properties attributes)
Evaluate the body for all configuration parameters with the name paramName. |
java.lang.Object |
getConfigParameter(java.lang.String param_name)
Returns the value for the specified configuration parameter. |
static int |
getCurrentConfigParamIndex()
|
protected boolean |
ifConfigParamEquals_Impl(java.lang.String template,
java.util.Properties attributes)
The implementation of ifConfigParamEquals and ifConfigParamEquals tags. |
void |
ifConfigParamEquals(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if the value of the configuration parameter equals value. |
protected boolean |
ifConfigParamGreaterOrEquals_Impl(java.lang.String template,
java.util.Properties attributes)
The implementation of ifConfigParamGreaterOrEquals and ifConfigParamNotGreaterOrEquals tags. |
void |
ifConfigParamGreaterOrEquals(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if the value of the configuration parameter is greater or equal to value. |
void |
ifConfigParamNotEquals(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if the value of the configuration parameter doesn't equal value. |
void |
ifConfigParamNotGreaterOrEquals(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if the value of the configuration parameter is not greater or equal to value. |
void |
ifHasConfigParam(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if config parameter specified is not null. |
Methods inherited from class xdoclet.template.TemplateTagHandler |
generate, getContext, getEngine, getParser, setContext, setEngine, setParser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfigTagsHandler()
Method Detail |
public static int getCurrentConfigParamIndex()
public java.lang.Object getConfigParameter(java.lang.String param_name) throws XDocletException
param_name
- Description of ParameterXDocletException
- Description of Exceptionpublic void ifHasConfigParam(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- The attributes of the template tagXDocletException
- Description of Exceptionpublic java.lang.String configParameterValue(java.util.Properties attributes) throws XDocletException
attributes
- The attributes of the template tagXDocletException
- Description of Exceptionpublic void forAllConfigParameters(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- The attributes of the template tagXDocletException
- Description of Exceptionpublic void ifConfigParamGreaterOrEquals(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- The attributes of the template tagXDocletException
- Description of Exceptionpublic void ifConfigParamNotGreaterOrEquals(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- The attributes of the template tagXDocletException
- Description of Exceptionpublic void ifConfigParamEquals(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- The attributes of the template tagXDocletException
- Description of Exceptionpublic void ifConfigParamNotEquals(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- The attributes of the template tagXDocletException
- Description of Exceptionprotected boolean ifConfigParamGreaterOrEquals_Impl(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- The attributes of the template tagXDocletException
- Description of ExceptionifConfigParamGreaterOrEquals(java.lang.String,java.util.Properties)
,
ifConfigParamNotGreaterOrEquals(java.lang.String,java.util.Properties)
protected boolean ifConfigParamEquals_Impl(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- The attributes of the template tagXDocletException
- Description of ExceptionifConfigParamEquals(java.lang.String,java.util.Properties)
,
ifConfigParamNotEquals(java.lang.String,java.util.Properties)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |