com.sage.accpac.sm.crystal.ufl
Class PrintNonNull
java.lang.Object
com.sage.accpac.sm.crystal.ufl.AbstractAccpacFormulaFunction
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:
- The string to print (with adjustments if necessary)
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintNonNull
public PrintNonNull()
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.