private static IAction createAction ( String action ) { IAction actn = null ; if ( ! StringUtils . isEmpty ( action ) ) { if ( ( actn = ActionRegistry . getRegisteredAction ( action ) ) == null ) { actn = ActionUtil . createAction ( null , action ) ; } } return actn ; }
Returns an IAction object given an action .