org.codehaus.enunciate.template.freemarker
Class IsExcludeFromDocsMethod

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

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

A method used in templates to output the prefix for a given namespace.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
IsExcludeFromDocsMethod()
           
 
Method Summary
 java.lang.Object exec(java.util.List list)
          Returns the qname of the element that has the first parameter as the namespace, the second as the element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsExcludeFromDocsMethod

public IsExcludeFromDocsMethod()
Method Detail

exec

public java.lang.Object exec(java.util.List list)
                      throws freemarker.template.TemplateModelException
Returns the qname of the element that has the first parameter as the namespace, the second as the element.

Specified by:
exec in interface freemarker.template.TemplateMethodModel
Specified by:
exec in interface freemarker.template.TemplateMethodModelEx
Parameters:
list - The arguments.
Returns:
The qname.
Throws:
freemarker.template.TemplateModelException