DomainValidatingEventArgs
Contents
[
Hide
]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
| Constructor | Description |
|---|---|
| DomainValidatingEventArgs(String mail, MailAddress mailaddress) | Initializes a new instance of the SyntaxValidatingEventArgs class. |
Fields
| Field | Description |
|---|---|
| Empty |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| java.lang.String | The mail address. | |
| mailaddress | MailAddress | The mail address. |
Empty
public static final System.EventArgs Empty
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.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:
| Parameter | Type | Description |
|---|---|---|
| value | ValidationResult |
setSkip(boolean value)
public final void setSkip(boolean value)
Indicates whether to ignore the check.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |