org.codehaus.mojo.appfuse.template
Class Helper

java.lang.Object
  extended by org.codehaus.mojo.appfuse.template.Helper

public class Helper
extends java.lang.Object

This is a sample class to demonstrate how a helper class can be constructed to be used in conjunction with the freemarker templates.

Version:
$Id: $
Author:
Scott Ryan

Constructor Summary
Helper()
          Creates a new Helper object.
 
Method Summary
 java.lang.String convertName(java.lang.String inName)
          This method will convert the first character of a string to lower case.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Helper

public Helper()
Creates a new Helper object.

Method Detail

convertName

public java.lang.String convertName(java.lang.String inName)
This method will convert the first character of a string to lower case. This can be used to convert standard object names to label or variable names.

Parameters:
inName - The name to be converted.
Returns:
The input name with the first character converted to lower case.


Copyright © 2006-2009. All Rights Reserved.