|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xins.server.FunctionRequest
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.
Constructor Summary | |
FunctionRequest(String functionName,
PropertyReader parameters,
Element dataElement)
Creates a new FunctionRequest . |
|
FunctionRequest(String functionName,
PropertyReader parameters,
Element dataElement,
boolean skipFunctionCall)
Creates a new FunctionRequest . |
Method Summary | |
Element |
getDataElement()
Gets the data section of the request. |
String |
getFunctionName()
Gets the name of the function. |
PropertyReader |
getParameters()
Gets the parameters of the function. |
boolean |
shouldSkipFunctionCall()
Gets whether the function should be executed or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FunctionRequest(String functionName, PropertyReader parameters, Element dataElement) throws IllegalArgumentException
FunctionRequest
. The function name must be
specified.
functionName
- the name of the function, cannot be null
.parameters
- the parameters of the function requested, cannot be
null
.dataElement
- the data section of the input request, can be null
.
IllegalArgumentException
- if functionName == null
.public FunctionRequest(String functionName, PropertyReader parameters, Element dataElement, boolean skipFunctionCall) throws IllegalArgumentException
FunctionRequest
. The function name must be
specified.
functionName
- the name of the function, cannot be null
.parameters
- the parameters of the function requested, cannot be
null
.dataElement
- the data section of the input request, can be null
.skipFunctionCall
- true
if the function shouldn't be executed, false
otherwise.
IllegalArgumentException
- if functionName == null
.Method Detail |
public String getFunctionName()
null
.public PropertyReader getParameters()
PropertyReader
instance is unmodifiable.
null
.public Element getDataElement()
null
if there is none.public boolean shouldSkipFunctionCall()
true
if the function shouldn't be executed, false
otherwise.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |