Package org.intermine.api.query.codegen
Class WebserviceRubyCodeGenerator
- java.lang.Object
-
- org.intermine.api.query.codegen.WebserviceRubyCodeGenerator
-
- All Implemented Interfaces:
WebserviceCodeGenerator
public class WebserviceRubyCodeGenerator extends java.lang.Object implements WebserviceCodeGenerator
- Author:
- Alex
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
INDENT
protected static java.lang.String
INVALID_QUERY
protected static java.lang.String
LEFT_BRACE
protected static java.lang.String
NULL_QUERY
protected static java.lang.String
RIGHT_BRACE
protected static java.lang.String
SPACE
protected static java.lang.String
TEMPLATE_BAG_CONSTRAINT
-
Constructor Summary
Constructors Constructor Description WebserviceRubyCodeGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generate(WebserviceCodeGenInfo wsCodeGeninfo)
This method will generate web service source code from a path query or template query.
-
-
-
Field Detail
-
INVALID_QUERY
protected static final java.lang.String INVALID_QUERY
- See Also:
- Constant Field Values
-
NULL_QUERY
protected static final java.lang.String NULL_QUERY
- See Also:
- Constant Field Values
-
INDENT
protected static final java.lang.String INDENT
- See Also:
- Constant Field Values
-
SPACE
protected static final java.lang.String SPACE
- See Also:
- Constant Field Values
-
LEFT_BRACE
protected static final java.lang.String LEFT_BRACE
- See Also:
- Constant Field Values
-
RIGHT_BRACE
protected static final java.lang.String RIGHT_BRACE
- See Also:
- Constant Field Values
-
TEMPLATE_BAG_CONSTRAINT
protected static final java.lang.String TEMPLATE_BAG_CONSTRAINT
- See Also:
- Constant Field Values
-
-
Method Detail
-
generate
public java.lang.String generate(WebserviceCodeGenInfo wsCodeGeninfo)
Description copied from interface:WebserviceCodeGenerator
This method will generate web service source code from a path query or template query.- Specified by:
generate
in interfaceWebserviceCodeGenerator
- Parameters:
wsCodeGeninfo
- a WebserviceCodeGenInfo object- Returns:
- web service source code in a string
-
-