| HEADER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ru.biosoft.access.DataElementSupport | +--ru.biosoft.plugins.javascript.FunctionInfo
Provides JavaScript function description, and description for its arguments,
throwable exception and returned value. Generally function info extracts the information
from the ru.biosoft.plugins.javascript.function extension point.
FunctionInfo implements DataElement interface,
so it can be shown in repository tree.
| Inner Class Summary | |
public static class | FunctionInfo.Argument This class describes the JavaScript function argument. |
public static class | FunctionInfo.ArgumentBeanInfo |
public static class | FunctionInfo.Example Exampe of function usage. |
public static class | FunctionInfo.ExampleBeanInfo |
public static class | FunctionInfo.Exception Describes exeptions throwable by function. |
public static class | FunctionInfo.ExceptionBeanInfo |
public class | FunctionInfo.ReturnedValue Describes the returned value. |
public static class | FunctionInfo.ReturnedValueBeanInfo |
| Constructor Summary | |
FunctionInfo(String name, DataCollection parent)Creates info for the specified JavaScript function. | |
| Method Summary | |
String | generateHtml() |
Argument[] | getArguments() |
String | getDescription() |
Example[] | getExamples() |
Exception[] | getExceptions() |
ReturnedValue | getReturnedValue() |
boolean | isExamplesHidden() |
boolean | isExceptionsHidden() |
void | setArguments(Argument[] arguments) |
void | setDescription(String description) |
void | setExamples(Example[] examples) |
void | setExceptions(Exception[] exceptions) |
void | setReturnedValue(ReturnedValue returnedValue) |
String | toString() |
String | toString(boolean isHtml) |
| Methods inherited from class ru.biosoft.access.DataElementSupport |
getName, getOrigin, registerConstructorWithBadEqual |
| Constructor Detail |
public FunctionInfo(String name, DataCollection parent)
DataCollection to which this function belongs.
Generally it is plugins/Javascript/functions.| Method Detail |
public String generateHtml()
public Argument[] getArguments()
public String getDescription()
public Example[] getExamples()
public Exception[] getExceptions()
public ReturnedValue getReturnedValue()
public boolean isExamplesHidden()
public boolean isExceptionsHidden()
public void setArguments(Argument[] arguments)
public void setDescription(String description)
public void setExamples(Example[] examples)
public void setExceptions(Exception[] exceptions)
public void setReturnedValue(ReturnedValue returnedValue)
public String toString()
public String toString(boolean isHtml)
| Association Links |
to Class ru.biosoft.plugins.javascript.FunctionInfo.Argument
to Class ru.biosoft.plugins.javascript.FunctionInfo.ReturnedValue
to Class ru.biosoft.plugins.javascript.FunctionInfo.Exception
to Class ru.biosoft.plugins.javascript.FunctionInfo.Example
| FOOTER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||