|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.schema.cmp.BuiltInConstraint
Method Summary | |
ConstraintType |
getConstraintType()
|
ILocation |
getLocation()
|
void |
globalCheck(IDataContext aContext,
IAnyTypeData aData,
IAnyTypeData anEnclosingData,
IConstraintViolations aViolations)
Checks if the specified data satisfies the constraint globally. |
boolean |
isFinal()
Indicates if the constraint must not be further restricted. |
boolean |
isRestriction(IConstraint aConstraint)
Checks if this constraint is a restriction of the specified constraint. |
void |
validate(ISimpleType aType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jbind.xml.core.constraint.IConstraint |
localCheck |
Method Detail |
public void validate(ISimpleType aType)
public boolean isFinal()
IConstraint
isFinal
in interface IConstraint
true
iff the constraint can not be restricted.public boolean isRestriction(IConstraint aConstraint)
IConstraint
isRestriction
in interface IConstraint
aConstraint
- (required).
true
iff this constraint is a restriction of
the specified constraint.public ConstraintType getConstraintType()
getConstraintType
in interface IConstraint
public void globalCheck(IDataContext aContext, IAnyTypeData aData, IAnyTypeData anEnclosingData, IConstraintViolations aViolations)
IConstraint
globalCheck
in interface IConstraint
aContext
- (required).aData
- (required).aViolations
- (required).public ILocation getLocation()
getLocation
in interface IHasLocation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |