protected static class FormulaEngineImpl.ErrorFormulaExpressionImpl extends Object implements FormulaExpression, Serializable
| Constructor and Description |
|---|
ErrorFormulaExpressionImpl(String formula,
String erorrMessage,
boolean multipleArea) |
| Modifier and Type | Method and Description |
|---|---|
Ref[] |
getAreaRefs() |
String |
getErrorMessage()
Get the expression parsing error message if any
|
String |
getFormulaString() |
Ptg[] |
getPtgs()
Returns the cached parsing things.
|
boolean |
hasError()
indicated the expression has parsing error
|
boolean |
isAreaRefs() |
boolean |
isMultipleAreaFormula()
Returns whether this is a multiple-area formula used in char data;
e.g.
|
public boolean hasError()
FormulaExpressionhasError in interface FormulaExpressionpublic String getErrorMessage()
FormulaExpressiongetErrorMessage in interface FormulaExpressionpublic String getFormulaString()
getFormulaString in interface FormulaExpressionpublic boolean isAreaRefs()
isAreaRefs in interface FormulaExpressionpublic Ref[] getAreaRefs()
getAreaRefs in interface FormulaExpressionpublic Ptg[] getPtgs()
FormulaExpressiongetPtgs in interface FormulaExpressionpublic boolean isMultipleAreaFormula()
FormulaExpressionisMultipleAreaFormula in interface FormulaExpressionCopyright © 2020. All rights reserved.