|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Checks local or global constraints. Local constraints are only interested in the simple content and the attributes of a data object. Global constraints check the relation of several data objects. Examples of global constraints are identity constraints (ID, IDREF, IDREFS, key, keyRef, and unique) and general XPathConstraints.
Global constraints can be checked only after a data tree has been completed.
Method Summary | |
void |
add(IMessage aMessage)
|
void |
check(IConstraint aConstraint)
|
boolean |
checkCountryCode()
Indicates if country codes should be checked. |
boolean |
checkLanguageCode()
Indicates if language codes should be checked. |
java.lang.String |
getCountry(java.lang.String aCode)
|
IAnyTypeData |
getData()
|
java.lang.String |
getLanguage(java.lang.String aCode)
|
ICheckContext |
newNestedContext(IAnyTypeData aData)
|
Method Detail |
public IAnyTypeData getData()
public void add(IMessage aMessage)
public void check(IConstraint aConstraint)
public ICheckContext newNestedContext(IAnyTypeData aData)
public boolean checkLanguageCode()
Config
class.
true
iff language codes should be checked.public boolean checkCountryCode()
Config
class.
true
iff country codes should be checked.public java.lang.String getLanguage(java.lang.String aCode)
public java.lang.String getCountry(java.lang.String aCode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |