public class AttributeTag
extends org.apache.commons.jelly.TagSupport
This tag should be placed right inside <st:documentation>
to describe attributes of a tag. The body would describe
the meaning of an attribute in a natural language.
The description text can also use
Textile markup
Constructor and Description |
---|
AttributeTag() |
Modifier and Type | Method and Description |
---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput output) |
void |
setDeprecated(boolean v)
If the attribute is deprecated, set to true.
|
void |
setName(String v)
Name of the attribute.
|
void |
setType(String v)
If it makes sense, describe the Java type that the attribute
expects as values.
|
void |
setUse(String v)
If the attribute is required, specify use="required".
|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
public void doTag(org.apache.commons.jelly.XMLOutput output)
public void setName(String v)
public void setUse(String v)
By default, use="optional" is assumed.
public void setType(String v)
public void setDeprecated(boolean v)
Copyright © 2016. All rights reserved.