Class ClientClassnameForMethod
- java.lang.Object
-
- com.webcohesion.enunciate.util.freemarker.ClientPackageForMethod
-
- com.webcohesion.enunciate.util.freemarker.ClientClassnameForMethod
-
- com.webcohesion.enunciate.modules.ruby_json_client.ClientClassnameForMethod
-
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel,freemarker.template.TemplateMethodModelEx,freemarker.template.TemplateModel
public class ClientClassnameForMethod extends ClientClassnameForMethod
Conversion from java types to Ruby types.- Author:
- Ryan Heaton
-
-
Field Summary
-
Fields inherited from class com.webcohesion.enunciate.util.freemarker.ClientClassnameForMethod
typeParameterDeclarationStack
-
Fields inherited from class com.webcohesion.enunciate.util.freemarker.ClientPackageForMethod
context, conversions
-
-
Constructor Summary
Constructors Constructor Description ClientClassnameForMethod(Map<String,String> conversions, EnunciateJacksonContext jacksonContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringconvert(HasClientConvertibleType element)Stringconvert(TypeElement declaration)Stringconvert(TypeMirror typeMirror)Stringconvert(TypeVariable typeVariable)StringconvertDeclaredTypeArguments(List<? extends TypeMirror> actualTypeArguments)StringconvertUnwrappedObject(Object unwrapped)protected StringgetPackageSeparator()-
Methods inherited from class com.webcohesion.enunciate.util.freemarker.ClientClassnameForMethod
convert, convert, convert, convertPackage
-
Methods inherited from class com.webcohesion.enunciate.util.freemarker.ClientPackageForMethod
convert, exec, unwrap
-
-
-
-
Constructor Detail
-
ClientClassnameForMethod
public ClientClassnameForMethod(Map<String,String> conversions, EnunciateJacksonContext jacksonContext)
-
-
Method Detail
-
convertUnwrappedObject
public String convertUnwrappedObject(Object unwrapped) throws freemarker.template.TemplateModelException
- Overrides:
convertUnwrappedObjectin classClientClassnameForMethod- Throws:
freemarker.template.TemplateModelException
-
convert
public String convert(TypeElement declaration) throws freemarker.template.TemplateModelException
- Overrides:
convertin classClientClassnameForMethod- Throws:
freemarker.template.TemplateModelException
-
convert
public String convert(HasClientConvertibleType element) throws freemarker.template.TemplateModelException
- Overrides:
convertin classClientClassnameForMethod- Throws:
freemarker.template.TemplateModelException
-
convert
public String convert(TypeMirror typeMirror) throws freemarker.template.TemplateModelException
- Overrides:
convertin classClientClassnameForMethod- Throws:
freemarker.template.TemplateModelException
-
convertDeclaredTypeArguments
public String convertDeclaredTypeArguments(List<? extends TypeMirror> actualTypeArguments) throws freemarker.template.TemplateModelException
- Overrides:
convertDeclaredTypeArgumentsin classClientClassnameForMethod- Throws:
freemarker.template.TemplateModelException
-
convert
public String convert(TypeVariable typeVariable) throws freemarker.template.TemplateModelException
- Overrides:
convertin classClientClassnameForMethod- Throws:
freemarker.template.TemplateModelException
-
getPackageSeparator
protected String getPackageSeparator()
- Overrides:
getPackageSeparatorin classClientClassnameForMethod
-
-