|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGeneratedMethod
IGeneratedMethod
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
VERSION
|
Method Summary | |
---|---|
java.lang.String |
close()
Completes construction of the method, which results in a check for duplicate methods. |
void |
declareExternalEntry()
Indicates that this method should be able to be invoked directly by an AJAX invocation. |
void |
declareExternalParameter(java.lang.String aParamName,
java.lang.String aJavaType,
java.lang.String aDefault)
Provides a mapping from parameter page property names to the (ordered) parameters of this method, indicating the appropriate data type conversion to be performed and a default value if the parameter page property is omitted (or blank, for non-String parameters only). |
void |
insertMethodName(java.lang.StringBuffer aBuffer)
Inserts the real method name into the specified StringBuffer at the current location when the close() method is invoked. |
java.lang.StringBuffer |
put(java.lang.String aText)
Adds text to the method being constructed |
void |
setParameterDeclaration(java.lang.String aDeclaration)
Supplies the (final portion of the) parameter declaration to be inserted during close() processing. |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
Method Detail |
---|
java.lang.StringBuffer put(java.lang.String aText)
aText
- text to add
void insertMethodName(java.lang.StringBuffer aBuffer)
close()
method is invoked.
aBuffer
- buffer into which method name should be inserted.void setParameterDeclaration(java.lang.String aDeclaration)
close()
processing. For example, during JSP processing
the first parameter is always known initially and may be supplied during
initial method generation. But if additional parameters are to be added
during method generation based on the attributes supplied on the tag, those
would be collected and the resulting declaration String passed in via
this method. The String will be inserted immediately before the first ')'
in the generated method.
aDeclaration
- parameter declarations to be insertedvoid declareExternalEntry()
void declareExternalParameter(java.lang.String aParamName, java.lang.String aJavaType, java.lang.String aDefault)
Call this method once for each parameter to the method, in the order in which the parameters are specified in the setParameterDeclaration call.
aParamName
- parameter page name of corresponding valueaJavaType
- String, int, booleanaDefault
- default value if parameter page value unusablejava.lang.String close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |