org.codehaus.enunciate.template.freemarker
Class ClientClassnameForMethod
java.lang.Object
org.codehaus.enunciate.template.freemarker.ClientPackageForMethod
org.codehaus.enunciate.template.freemarker.ClassnameForMethod
org.codehaus.enunciate.template.freemarker.ClientClassnameForMethod
- All Implemented Interfaces:
- freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel
- Direct Known Subclasses:
- AMFClassnameForMethod, AS3ClientClassnameForMethod, ClientClassnameForMethod, ClientClassnameForMethod, ClientClassnameForMethod, ClientClassnameForMethod, ClientClassnameForMethod, CollectionTypeForMethod, ComponentTypeForMethod, OverlayClientClassnameForMethod
public class ClientClassnameForMethod
- extends ClassnameForMethod
Converts a fully-qualified class name to its alternate client fully-qualified class name.
- Author:
- Ryan Heaton
| Fields inherited from interface freemarker.template.TemplateModel |
NOTHING |
|
Method Summary |
java.lang.String |
convert(Accessor accessor)
Converts the type of an accessor. |
java.lang.String |
convert(ImplicitChildElement childElement)
Converts the specified implicit child element. |
java.lang.String |
convert(com.sun.mirror.declaration.TypeDeclaration declaration)
Returns the client-side package value for the given type declaration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientClassnameForMethod
public ClientClassnameForMethod(java.util.Map<java.lang.String,java.lang.String> conversions)
convert
public java.lang.String convert(ImplicitChildElement childElement)
throws freemarker.template.TemplateModelException
- Description copied from class:
ClassnameForMethod
- Converts the specified implicit child element.
- Overrides:
convert in class ClassnameForMethod
- Parameters:
childElement - The implicit child element.
- Returns:
- The conversion.
- Throws:
freemarker.template.TemplateModelException
convert
public java.lang.String convert(Accessor accessor)
throws freemarker.template.TemplateModelException
- Description copied from class:
ClassnameForMethod
- Converts the type of an accessor.
- Overrides:
convert in class ClassnameForMethod
- Parameters:
accessor - The accessor.
- Returns:
- The accessor.
- Throws:
freemarker.template.TemplateModelException
convert
public java.lang.String convert(com.sun.mirror.declaration.TypeDeclaration declaration)
throws freemarker.template.TemplateModelException
- Description copied from class:
ClientPackageForMethod
- Returns the client-side package value for the given type declaration.
- Overrides:
convert in class ClassnameForMethod
- Parameters:
declaration - The declaration.
- Returns:
- The client-side package value for the declaration.
- Throws:
freemarker.template.TemplateModelException