|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventHandler
Set of callback methods used to convey information from the validator to the "working" code. It is used e.g. to connect validator to the code that executes import. It makes validator quite a generic tool. E.g. it can be used as the base of the import in the system and the same validator can be used in tests to check the validity of samples.
Method Summary | ||
---|---|---|
void |
handleGlobalError(OperationResult currentResult)
Call-back to handle global errors. |
|
|
postMarshall(PrismObject<T> object,
org.w3c.dom.Element objectElement,
OperationResult objectResult)
Call-back called after the object is unmarshalled. |
|
EventResult |
preMarshall(org.w3c.dom.Element objectElement,
org.w3c.dom.Node postValidationTree,
OperationResult objectResult)
Call-back called after deserializing to DOM and static schema validation but before unmarshall to JAXB. |
Method Detail |
---|
EventResult preMarshall(org.w3c.dom.Element objectElement, org.w3c.dom.Node postValidationTree, OperationResult objectResult)
objectElement
- DOM tree parsed from filepostValidationTree
- post-validation DOM treeobjectResult
- Operation result for this object
<T extends Objectable> EventResult postMarshall(PrismObject<T> object, org.w3c.dom.Element objectElement, OperationResult objectResult)
object
- unmarshalled JAXB objectobjectElement
- DOM tree parsed from the filobjectResult
- Operation result for this object
void handleGlobalError(OperationResult currentResult)
currentResult
- Operation result pointing to the particular error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |