public static ForwardRule newInstance(String transletName) throws IllegalRuleException {
        if (transletName == null) {
            throw new IllegalRuleException("transletName must not be null");
        }

        ForwardRule fr = new ForwardRule();
        fr.setTransletName(transletName);
        return fr;
    }
public static ForwardRule newInstance ( String transletName ) throws IllegalRuleException { if ( transletName == null ) { throw new IllegalRuleException ( "transletName must not be null" ) ; } ForwardRule fr = new ForwardRule ( ) ; fr . setTransletName ( transletName ) ; return fr ; }
Returns a new instance of ForwardRule.

@param transletName the translet name
@return an instance of ForwardRule
@throws IllegalRuleException if an illegal rule is found