|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.jaxfront.core.type.ValidationChangeEvent
public class ValidationChangeEvent
This class represents a ValidationChangeEvent. ValidationChangeEvents are fired when validation errors occurs.
Method Summary | |
---|---|
static ValidationChangeEvent |
domValidated(Document doc)
Returns a ValidationChangeEvent if DOM has been validated |
static ValidationChangeEvent |
exceptionOccured(Error error)
Returns a ValidationChangeEvent if a validation exception occured. |
static ValidationChangeEvent |
exceptionResolved(Error error)
Returns a ValidationChangeEvent if a validation exception has been resolved. |
static ValidationChangeEvent |
exceptionResolvedAll(Document doc)
Returns a ValidationChangeEvent if all validation exceptions have been resolved. |
Error |
getError()
Gets the current ValidationError. |
boolean |
isFullDOMValidation()
Returns the state of the current validation error. |
boolean |
isOccuring()
Returns the state of the current validation error. |
boolean |
isResolved()
Returns the state of the current validation error. |
boolean |
isResolvedAll()
Returns the state of all current validation errors. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ValidationChangeEvent exceptionResolvedAll(Document doc)
doc
- the current JAXFront document (DOM)
public static ValidationChangeEvent domValidated(Document doc)
doc
- the current JAXFront document (DOM)public Error getError()
public boolean isOccuring()
public boolean isFullDOMValidation()
public boolean isResolved()
public boolean isResolvedAll()
public static ValidationChangeEvent exceptionOccured(Error error)
error
- a validation error
public static ValidationChangeEvent exceptionResolved(Error error)
error
- a validation error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |