Class JavaLanguageVariableFactory


  • public class JavaLanguageVariableFactory
    extends Object
    Author:
    chenjianjx
    • Constructor Detail

      • JavaLanguageVariableFactory

        public JavaLanguageVariableFactory()
    • Method Detail

      • createVariableFromField

        public static JavaLanguageVariable createVariableFromField​(Field field)
        Creates a variable from a field which is @XmlElement annotated
        Parameters:
        field - the field
        Returns:
        the variable
      • createVariablesFromMethodParamaters

        public static List<JavaLanguageVariable> createVariablesFromMethodParamaters​(Method method)
        Creates variables from parameters which are @WebParam annotated
        Parameters:
        method - the method
        Returns:
        list of variables
      • createVariableFromMethodReturn

        public static JavaLanguageVariable createVariableFromMethodReturn​(Method method)
        Creates a variable from a method's return which is @WebResult annotated
        Parameters:
        method - the method
        Returns:
        the vaiable