com.sage.accpac.sm.crystal.ufl
Class PrintNonNull

java.lang.Object
  extended by com.sage.accpac.sm.crystal.ufl.AbstractAccpacFormulaFunction
      extended by com.sage.accpac.sm.crystal.ufl.PrintNonNull
All Implemented Interfaces:
com.crystaldecisions.reports.formulas.FormulaFunction, com.crystaldecisions.reports.formulas.FormulaFunctionDefinition

public final class PrintNonNull
extends AbstractAccpacFormulaFunction

PrintNonNull ensures that the string is at least a space. A blank or empty string is reduced to a single space while a non-empty string gets returned as-is (including any spaces).

The Crystal arguments to this function are:

  1. The string to print (with adjustments if necessary)


Constructor Summary
PrintNonNull()
           
 
Method Summary
 com.crystaldecisions.reports.common.value.FormulaValue evaluate(com.crystaldecisions.reports.formulas.FormulaValueReference[] arguments)
          
 com.crystaldecisions.reports.formulas.FormulaFunctionArgumentDefinition[] getArguments()
          
 java.lang.String getIdentifier()
          
 com.crystaldecisions.reports.common.value.FormulaValueType getReturnType()
          
 
Methods inherited from class com.sage.accpac.sm.crystal.ufl.AbstractAccpacFormulaFunction
getIntegerArgument, getStringArgument, validateArgumentValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintNonNull

public PrintNonNull()
Method Detail

getIdentifier

public java.lang.String getIdentifier()


getReturnType

public com.crystaldecisions.reports.common.value.FormulaValueType getReturnType()


getArguments

public com.crystaldecisions.reports.formulas.FormulaFunctionArgumentDefinition[] getArguments()


evaluate

public com.crystaldecisions.reports.common.value.FormulaValue evaluate(com.crystaldecisions.reports.formulas.FormulaValueReference[] arguments)
                                                                throws com.crystaldecisions.reports.formulas.FormulaFunctionCallException

Throws:
com.crystaldecisions.reports.formulas.FormulaFunctionCallException


Copyright © 2011 Sage Software, Inc. All rights reserved.