SyntaxValidatingEventArgs

Inheritance: java.lang.Object, com.aspose.ms.System.EventArgs

public class SyntaxValidatingEventArgs extends System.EventArgs

Provides data for the SyntaxValidating event.

Constructors

Constructor Description
SyntaxValidatingEventArgs(String mail) Initializes a new instance of the SyntaxValidatingEventArgs class.

Methods

Method Description
getMail() Gets the mail address is being validating.
getSkip() Indicates whether to ignore the check.
setSkip(boolean value) Indicates whether to ignore the check.
getResult() Gets or sets the validation result.
setResult(ValidationResult value) Gets or sets the validation result.

SyntaxValidatingEventArgs(String mail)

public SyntaxValidatingEventArgs(String mail)

Initializes a new instance of the SyntaxValidatingEventArgs class.

Parameters:

Parameter Type Description
mail java.lang.String The mail address.

getMail()

public final String getMail()

Gets the mail address is being validating.

Returns: java.lang.String

getSkip()

public final boolean getSkip()

Indicates whether to ignore the check.

Returns: boolean

setSkip(boolean value)

public final void setSkip(boolean value)

Indicates whether to ignore the check.

Parameters:

Parameter Type Description
value boolean

getResult()

public final ValidationResult getResult()

Gets or sets the validation result.

Returns: ValidationResult

setResult(ValidationResult value)

public final void setResult(ValidationResult value)

Gets or sets the validation result.

Parameters:

Parameter Type Description
value ValidationResult