Class JavaLanguageVariableFactory
java.lang.Object
com.logicaldoc.webservice.doc.service.JavaLanguageVariableFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic JavaLanguageVariablecreateVariableFromField(Field field) Creates a variable from a field which is @XmlElement annotatedstatic JavaLanguageVariablecreateVariableFromMethodReturn(Method method) Creates a variable from a method's return which is @WebResult annotatedstatic List<JavaLanguageVariable> Creates variables from parameters which are @WebParam annotated
-
Method Details
-
createVariableFromField
Creates a variable from a field which is @XmlElement annotated- Parameters:
field- the field- Returns:
- the variable
-
createVariablesFromMethodParamaters
Creates variables from parameters which are @WebParam annotated- Parameters:
method- the method- Returns:
- list of variables
-
createVariableFromMethodReturn
Creates a variable from a method's return which is @WebResult annotated- Parameters:
method- the method- Returns:
- the vaiable
-