|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopendap.servers.test.SSFdummyval
public class SSFdummyval
| Constructor Summary | |
|---|---|
SSFdummyval()
|
|
| Method Summary | |
|---|---|
void |
checkArgs(java.util.List args)
Checks that the arguments given are acceptable arguments for this function. |
BaseType |
evaluate(java.util.List args)
Evaluates the function using the argument list given. |
java.lang.String |
getName()
Returns the name of the server-side function, as it will appear in constraint expressions. |
BaseType |
getReturnType(java.util.List args)
A given function must always evaluate to the same class of BaseType. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSFdummyval()
| Method Detail |
|---|
public java.lang.String getName()
ServerSideFunction
getName in interface ServerSideFunction
public void checkArgs(java.util.List args)
throws InvalidParameterException
ServerSideFunction
checkArgs in interface ServerSideFunctionargs - A list of SubClauses that the caller is considering passing
to the evaluate() method of the function.
InvalidParameterException - Thrown if the function will not
evaluate successfully using these arguments.public BaseType getReturnType(java.util.List args)
BTFunction
getReturnType in interface BTFunction
public BaseType evaluate(java.util.List args)
throws DAP2ServerSideException
BTFunction
evaluate in interface BTFunctionDAP2ServerSideException - Thrown if the function
cannot evaluate successfully. The exact type of exception is up
to the author of the server-side function.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||