|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines a check for values that become mandatory under certain circumstances.
Any implementation of this interface must also implement Constraint interface.
As such, its schema declaration and its life cycle are the same as Constraint.
As this interface serves as a restriction of static schema constraint
minOccurs, the
method checkNull(ValueContextForValidation)
is called only for the following conditions:
| Schema definition | Perform checkNull() |
minOccurs="0" and maxOccurs="1" |
if no value is defined (this is null) and instance is activated |
minOccurs > 0 |
unsupported feature |
maxOccurs > 1 |
unsupported feature |
Constraint| Method Summary | |
void |
checkNull(ValueContextForValidation aValidationContext)
This method performs a check when no value is defined and it adds an error message if needed. |
| Method Detail |
public void checkNull(ValueContextForValidation aValidationContext)
throws InvalidSchemaException
See this class comment that specifies when this method is called.
aValidationContext - the context
InvalidSchemaException - if some schema's dynamic condition prevents the execution of this method.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
(report a bug)
EBX.Platform 4.5.3 [0607:0001]
Copyright Orchestra Networks 2000-2008. All rights reserved.