public abstract class DescriptiveBean extends java.lang.Object implements DescriptiveBeanSynopsisFormatter, java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
DescriptiveBean.Param |
Constructor and Description |
---|
DescriptiveBean() |
DescriptiveBean(java.util.List<java.lang.String> names,
java.lang.String parameterDescription,
java.lang.String returnValueDescription,
java.lang.String shortDescription,
java.lang.String longDescription) |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(int seriesNo,
DescriptiveBean.Param param) |
void |
addParameter(int seriesNo,
java.util.List<java.lang.String> names,
java.lang.String type,
java.lang.String defaultValue,
boolean isVariable,
java.lang.String description) |
void |
addParameter(int seriesNo,
java.lang.String name,
java.lang.String type,
java.lang.String defaultValue,
boolean isVariable,
java.lang.String description) |
DescriptiveBean |
clone() |
java.lang.String |
format() |
abstract java.lang.String |
formatParameter(DescriptiveBean.Param param) |
abstract java.lang.String |
formatParameterDescription(int seriesNo) |
java.lang.String |
getLongDescription() |
java.lang.String |
getName() |
java.util.List<java.lang.String> |
getNames() |
java.lang.String |
getParameterDescription() |
java.util.List<DescriptiveBean.Param> |
getParameterList(int seriesNo) |
int |
getParameterListCount() |
java.lang.String |
getReturnValueDescription() |
java.lang.String |
getShortDescription() |
DescriptiveBean |
processArguments(java.lang.Object... args) |
void |
setLongDescription(java.lang.String longDescription) |
DescriptiveBean |
setNames(java.util.List<java.lang.String> names) |
DescriptiveBean |
setNames(java.lang.String... names) |
void |
setNames(gnu.mapping.Symbol... names) |
void |
setParameterDescription(java.lang.String parameterDescription) |
void |
setReturnValueDescription(java.lang.String returnValueDescription) |
void |
setShortDescription(java.lang.String shortDescription) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
formatSynopsis
public DescriptiveBean()
public DescriptiveBean(java.util.List<java.lang.String> names, java.lang.String parameterDescription, java.lang.String returnValueDescription, java.lang.String shortDescription, java.lang.String longDescription)
public DescriptiveBean clone()
clone
in class java.lang.Object
public java.lang.String getName()
public java.util.List<java.lang.String> getNames()
public DescriptiveBean setNames(java.lang.String... names)
public DescriptiveBean setNames(java.util.List<java.lang.String> names)
public abstract java.lang.String formatParameter(DescriptiveBean.Param param)
public abstract java.lang.String formatParameterDescription(int seriesNo)
public java.lang.String getParameterDescription()
public void setParameterDescription(java.lang.String parameterDescription)
public void addParameter(int seriesNo, DescriptiveBean.Param param)
public void addParameter(int seriesNo, java.lang.String name, java.lang.String type, java.lang.String defaultValue, boolean isVariable, java.lang.String description)
public void addParameter(int seriesNo, java.util.List<java.lang.String> names, java.lang.String type, java.lang.String defaultValue, boolean isVariable, java.lang.String description)
public java.util.List<DescriptiveBean.Param> getParameterList(int seriesNo)
public int getParameterListCount()
public java.lang.String getReturnValueDescription()
public void setReturnValueDescription(java.lang.String returnValueDescription)
public java.lang.String getShortDescription()
public void setShortDescription(java.lang.String shortDescription)
public java.lang.String getLongDescription()
public void setLongDescription(java.lang.String longDescription)
public DescriptiveBean processArguments(java.lang.Object... args)
public java.lang.String format()
public void setNames(gnu.mapping.Symbol... names)