DomainValidatingEventArgs

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

public class DomainValidatingEventArgs extends SyntaxValidatingEventArgs

Provides data for the DomainValidating event.

Constructors

ConstructorDescription
DomainValidatingEventArgs(String mail, MailAddress mailaddress)Initializes a new instance of the SyntaxValidatingEventArgs class.

Fields

FieldDescription
Empty

Methods

MethodDescription
equals(Object arg0)
getClass()
getDomain()Gets the domain.
getMail()Gets the mail address is being validating.
getMailAddress()Gets the mail address.
getResult()Gets or sets the validation result.
getSkip()Indicates whether to ignore the check.
hashCode()
notify()
notifyAll()
setResult(ValidationResult value)Gets or sets the validation result.
setSkip(boolean value)Indicates whether to ignore the check.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

DomainValidatingEventArgs(String mail, MailAddress mailaddress)

public DomainValidatingEventArgs(String mail, MailAddress mailaddress)

Initializes a new instance of the SyntaxValidatingEventArgs class.

Parameters:

ParameterTypeDescription
mailjava.lang.StringThe mail address.
mailaddressMailAddressThe mail address.

Empty

public static final System.EventArgs Empty

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDomain()

public final String getDomain()

Gets the domain.

Returns: java.lang.String

getMail()

public final String getMail()

Gets the mail address is being validating.

Returns: java.lang.String

getMailAddress()

public final MailAddress getMailAddress()

Gets the mail address.

Returns: MailAddress

getResult()

public final ValidationResult getResult()

Gets or sets the validation result.

Returns: ValidationResult

getSkip()

public final boolean getSkip()

Indicates whether to ignore the check.

Returns: boolean

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setResult(ValidationResult value)

public final void setResult(ValidationResult value)

Gets or sets the validation result.

Parameters:

ParameterTypeDescription
valueValidationResult

setSkip(boolean value)

public final void setSkip(boolean value)

Indicates whether to ignore the check.

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int