org.codehaus.enunciate.modules.spring_app
Class ServletPatternToAntPattern

java.lang.Object
  extended by org.codehaus.enunciate.modules.spring_app.ServletPatternToAntPattern
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class ServletPatternToAntPattern
extends java.lang.Object
implements freemarker.template.TemplateMethodModelEx

Gets the qualified package name for a package or type.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
ServletPatternToAntPattern()
           
 
Method Summary
 java.lang.Object exec(java.util.List list)
          Gets the client-side package for the type, type declaration, package, or their string values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletPatternToAntPattern

public ServletPatternToAntPattern()
Method Detail

exec

public java.lang.Object exec(java.util.List list)
                      throws freemarker.template.TemplateModelException
Gets the client-side package for the type, type declaration, package, or their string values.

Specified by:
exec in interface freemarker.template.TemplateMethodModel
Specified by:
exec in interface freemarker.template.TemplateMethodModelEx
Parameters:
list - The arguments.
Returns:
The string value of the client-side package.
Throws:
freemarker.template.TemplateModelException