org.jbind.xml.schema.constraint
Class Constraints
java.lang.Object
org.jbind.xml.schema.constraint.Constraints
- All Implemented Interfaces:
- IConstraints
- public final class Constraints
- extends java.lang.Object
- implements IConstraints
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constraints
public Constraints()
shallowCopy
public IConstraints shallowCopy()
- Specified by:
shallowCopy
in interface IConstraints
checkConstraints
public void checkConstraints(ICheckContext aContext)
- Description copied from interface:
IConstraints
- Checks the constraints.
- Specified by:
checkConstraints
in interface IConstraints
- Parameters:
aContext
- (required).
add
public void add(IConstraint aConstraint,
IConstraintViolations aViolations,
IHasLocation aHasLocation)
- Specified by:
add
in interface IConstraints
add
public void add(IConstraints aConstraints,
IConstraintViolations aViolations,
IHasLocation aHasLocation)
- Specified by:
add
in interface IConstraints
getConstraintList
public java.util.List getConstraintList(ConstraintType aConstraintType)
- Specified by:
getConstraintList
in interface IConstraints
getConstraint
public IConstraint getConstraint(ConstraintType aConstraintType)
- Specified by:
getConstraint
in interface IConstraints
iterConstraints
public java.util.Iterator iterConstraints(ConstraintType aConstraintType)
- Specified by:
iterConstraints
in interface IConstraints
iterConstraints
public java.util.Iterator iterConstraints()
- Specified by:
iterConstraints
in interface IConstraints
hasConstraint
public boolean hasConstraint(IConstraint aConstraint)
- Specified by:
hasConstraint
in interface IConstraints
getWhiteSpaceProcessing
public WhiteSpaceProcessing getWhiteSpaceProcessing()
- Specified by:
getWhiteSpaceProcessing
in interface IConstraints
setWhiteSpaceProcessing
public void setWhiteSpaceProcessing(WhiteSpaceProcessing aWhiteSpaceProcessing,
IConstraintViolations aViolations,
IHasLocation aHasLocation)
- Specified by:
setWhiteSpaceProcessing
in interface IConstraints
setWhiteSpaceProcessing
public void setWhiteSpaceProcessing(WhiteSpaceProcessing aWhiteSpaceProcessing)
- Specified by:
setWhiteSpaceProcessing
in interface IConstraints
getReferenceConstraint
public IReferenceConstraint getReferenceConstraint(java.lang.String aKey)
- Description copied from interface:
IConstraints
- Gets a reference constraint by its key.
- Specified by:
getReferenceConstraint
in interface IConstraints
- Parameters:
aKey
- (required).
- Returns:
- (optional).
setBuiltInConstraint
public void setBuiltInConstraint(IBuiltInConstraint aConstraint)
- Specified by:
setBuiltInConstraint
in interface IConstraints