org.codehaus.enunciate.modules.amf
Class AS3ClientClassnameForMethod

java.lang.Object
  extended by org.codehaus.enunciate.template.freemarker.ClientPackageForMethod
      extended by org.codehaus.enunciate.template.freemarker.ClassnameForMethod
          extended by org.codehaus.enunciate.template.freemarker.ClientClassnameForMethod
              extended by org.codehaus.enunciate.modules.amf.AS3ClientClassnameForMethod
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel
Direct Known Subclasses:
AS3UnqualifiedClassnameForMethod

public class AS3ClientClassnameForMethod
extends ClientClassnameForMethod

Conversion from java types to AS3 types.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
AS3ClientClassnameForMethod(java.util.Map<java.lang.String,java.lang.String> conversions)
           
 
Method Summary
 java.lang.String convert(com.sun.mirror.type.TypeMirror typeMirror)
          Returns the client-side package value for the given type.
 
Methods inherited from class org.codehaus.enunciate.template.freemarker.ClientClassnameForMethod
convert, convert, convert
 
Methods inherited from class org.codehaus.enunciate.template.freemarker.ClassnameForMethod
convert, convert, convertPackage, convertUnwrappedObject, exec, getPackageSeparator, isJdk15, setJdk15
 
Methods inherited from class org.codehaus.enunciate.template.freemarker.ClientPackageForMethod
convert, isUseClientNameConversions, setUseClientNameConversions, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AS3ClientClassnameForMethod

public AS3ClientClassnameForMethod(java.util.Map<java.lang.String,java.lang.String> conversions)
Method Detail

convert

public java.lang.String convert(com.sun.mirror.type.TypeMirror typeMirror)
                         throws freemarker.template.TemplateModelException
Description copied from class: ClientPackageForMethod
Returns the client-side package value for the given type.

Overrides:
convert in class ClassnameForMethod
Parameters:
typeMirror - The type.
Returns:
The client-side package value for the type.
Throws:
freemarker.template.TemplateModelException - If the type mirror cannot be converted for some reason.