Package com.stimulsoft.report
Class StiNameValidator
java.lang.Object
com.stimulsoft.report.StiNameValidator
The class serves to serialize into a code of a report.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncorrectArrayName(ArrayList<String> array) static StringcorrectName(String str, boolean checkKeywords) static StringcorrectName(String str, boolean checkKeywords, StiReport report) static StringcorrectName(String str, boolean checkKeywords, StiReport report, boolean isDataExpression) Replaces incorrect symbols in the string on the symbol '_'.static StringcorrectName(String str, StiReport report) static StringCorrectName(String str) Replaces incorrect symbols in the string on the symbol '_'.
-
Constructor Details
-
StiNameValidator
public StiNameValidator()
-
-
Method Details
-
CorrectName
Replaces incorrect symbols in the string on the symbol '_'.- Parameters:
str- String to change.- Returns:
- Changed string.
-
correctArrayName
-
correctName
-
correctName
-
correctName
-
correctName
public static String correctName(String str, boolean checkKeywords, StiReport report, boolean isDataExpression) Replaces incorrect symbols in the string on the symbol '_'.- Parameters:
str- String to change.- Returns:
- Changed string.
-