Validator Delegates

org.eclipse.wst.validation.validatorDelegates

This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

This extension point allows validator providers to contribute alternate implementations for a delegating validator.

<!ELEMENT extension (delegate)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT delegate EMPTY>

<!ATTLIST delegate

class  CDATA #REQUIRED

target CDATA #REQUIRED

name   CDATA #REQUIRED>

Defines a validator delegate. Delegating validators can have one or more delegates registered, only one of which can be active (selected) at once.



A delegate validator will have to implement the IValidatorJob interface. The target validator, the one who will delegate its implementation to a delegate validator will have to extend org.eclipse.wst.validation.delegates.BaseDelegatingValidator.