| java.lang.Object org.xins.server.FunctionRequest
FunctionRequest | public class FunctionRequest (Code) | | Function request. Consists of a function name, a set of parameters and a
data section. The function name is mandatory, while there may not be any
parameters nor data section.
version: $Revision: 1.21 $ $Date: 2007/09/18 08:45:05 $ author: Anthony Goubard author: Ernst de Haan since: XINS 1.2.0 |
FunctionRequest | public FunctionRequest(String functionName, PropertyReader parameters, Element dataElement) throws IllegalArgumentException(Code) | | Creates a new FunctionRequest . The function name must be
specified.
Parameters: functionName - the name of the function, cannot be null . Parameters: parameters - the parameters of the function requested, cannot benull . Parameters: dataElement - the data section of the input request, can be null . throws: IllegalArgumentException - if functionName == null . |
FunctionRequest | public FunctionRequest(String functionName, PropertyReader parameters, Element dataElement, boolean skipFunctionCall) throws IllegalArgumentException(Code) | | Creates a new FunctionRequest . The function name must be
specified.
Parameters: functionName - the name of the function, cannot be null . Parameters: parameters - the parameters of the function requested, cannot benull . Parameters: dataElement - the data section of the input request, can be null . Parameters: skipFunctionCall - true if the function shouldn't be executed, false otherwise. throws: IllegalArgumentException - if functionName == null . since: XINS 2.0 |
getDataElement | public Element getDataElement()(Code) | | Gets the data section of the request.
the data section, or null if there is none. since: XINS 2.0 |
getFunctionName | public String getFunctionName()(Code) | | Gets the name of the function.
the name of the function, never null . since: XINS 2.0 |
getParameters | public PropertyReader getParameters()(Code) | | Gets the parameters of the function. The returned
PropertyReader instance is unmodifiable.
the parameters of the function, never null . since: XINS 2.0 |
shouldSkipFunctionCall | public boolean shouldSkipFunctionCall()(Code) | | Gets whether the function should be executed or not.
true if the function shouldn't be executed, false otherwise. since: XINS 2.0 |
|
|