Package org.apache.tapestry5.javadoc
Class ParameterDescription
- java.lang.Object
-
- org.apache.tapestry5.javadoc.ParameterDescription
-
public class ParameterDescription extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanallowNullbooleancacheStringdefaultPrefixStringdefaultValuebooleandeprecatedVariableElementfieldStringnamebooleanrequiredStringsinceStringtype
-
Constructor Summary
Constructors Constructor Description ParameterDescription(VariableElement fieldDoc, String name, String type, String defaultValue, String defaultPrefix, boolean required, boolean allowNull, boolean cache, String since, boolean deprecated, DocCommentTreeProvider docCommentTreeProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringextractDescription()Extracts the description, converting Text and @link nodes as needed into markup text.
-
-
-
Field Detail
-
field
public final VariableElement field
-
defaultValue
public final String defaultValue
-
defaultPrefix
public final String defaultPrefix
-
required
public final boolean required
-
allowNull
public final boolean allowNull
-
cache
public final boolean cache
-
deprecated
public final boolean deprecated
-
-
Constructor Detail
-
ParameterDescription
public ParameterDescription(VariableElement fieldDoc, String name, String type, String defaultValue, String defaultPrefix, boolean required, boolean allowNull, boolean cache, String since, boolean deprecated, DocCommentTreeProvider docCommentTreeProvider)
-
-
Method Detail
-
extractDescription
public String extractDescription() throws IOException
Extracts the description, converting Text and @link nodes as needed into markup text.- Returns:
- markup text, ready for writing
- Throws:
IOException- if some error occurs.
-
-