com.stimulsoft.report
Class StiNameValidator

java.lang.Object
  extended by com.stimulsoft.report.StiNameValidator

public class StiNameValidator
extends java.lang.Object

The class serves to serialize into a code of a report.


Constructor Summary
StiNameValidator()
           
 
Method Summary
static java.util.ArrayList<java.lang.String> correctArrayName(java.util.ArrayList<java.lang.String> array)
           
static java.lang.String CorrectName(java.lang.String str)
          Replaces incorrect symbols in the string on the symbol '_'.
static java.lang.String CorrectName(java.lang.String str, boolean checkKeywords)
           
static java.lang.String CorrectName(java.lang.String str, boolean checkKeywords, StiReport report)
          Replaces incorrect symbols in the string on the symbol '_'.
static java.lang.String CorrectName(java.lang.String str, StiReport report)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiNameValidator

public StiNameValidator()
Method Detail

CorrectName

public static java.lang.String CorrectName(java.lang.String str)
Replaces incorrect symbols in the string on the symbol '_'.

Parameters:
str - String to change.
Returns:
Changed string.

correctArrayName

public static java.util.ArrayList<java.lang.String> correctArrayName(java.util.ArrayList<java.lang.String> array)

CorrectName

public static java.lang.String CorrectName(java.lang.String str,
                                           StiReport report)

CorrectName

public static java.lang.String CorrectName(java.lang.String str,
                                           boolean checkKeywords)

CorrectName

public static java.lang.String CorrectName(java.lang.String str,
                                           boolean checkKeywords,
                                           StiReport report)
Replaces incorrect symbols in the string on the symbol '_'.

Parameters:
str - String to change.
Returns:
Changed string.