|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.schema.constraint.XPathConstraint
Constructor Summary | |
XPathConstraint(IXPath aTest,
IXPath aSelect,
IHasLocation aHasLocation)
|
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 |
localCheck(ICheckContext aCheckContext,
IAnyTypeData aData,
IConstraintViolations aViolations)
Checks if the specified data satisfies the constraint locally. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPathConstraint(IXPath aTest, IXPath aSelect, IHasLocation aHasLocation)
Method Detail |
public ConstraintType getConstraintType()
getConstraintType
in interface IConstraint
public ILocation getLocation()
getLocation
in interface IHasLocation
public void globalCheck(IDataContext aContext, IAnyTypeData aData, IAnyTypeData anEnclosingData, IConstraintViolations aViolations)
IConstraint
globalCheck
in interface IConstraint
aContext
- (required).aData
- (required).aViolations
- (required).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 void localCheck(ICheckContext aCheckContext, IAnyTypeData aData, IConstraintViolations aViolations)
IConstraint
localCheck
in interface IConstraint
aData
- (required).aViolations
- (required).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |