org.jbind.xml.core.constraint
Interface IConstraints

All Known Subinterfaces:
ISimpleConstraints
All Known Implementing Classes:
Constraints

public interface IConstraints

Holds the constraints imposed on a type.


Method Summary
 void add(IConstraint aConstraint, IConstraintViolations aViolations, IHasLocation aHasLocation)
           
 void add(IConstraints aConstraints, IConstraintViolations aViolations, IHasLocation aHasLocation)
           
 void checkConstraints(ICheckContext aContext)
          Checks the constraints.
 IConstraint getConstraint(ConstraintType aConstraintType)
           
 java.util.List getConstraintList(ConstraintType aConstraintType)
           
 IReferenceConstraint getReferenceConstraint(java.lang.String aKey)
          Gets a reference constraint by its key.
 WhiteSpaceProcessing getWhiteSpaceProcessing()
           
 boolean hasConstraint(IConstraint aConstraint)
           
 java.util.Iterator iterConstraints()
           
 java.util.Iterator iterConstraints(ConstraintType aConstraintType)
           
 void setBuiltInConstraint(IBuiltInConstraint aConstraint)
           
 void setWhiteSpaceProcessing(WhiteSpaceProcessing aWhiteSpaceProcessing)
           
 void setWhiteSpaceProcessing(WhiteSpaceProcessing aWhiteSpaceProcessing, IConstraintViolations aViolations, IHasLocation aHasLocation)
           
 IConstraints shallowCopy()
           
 

Method Detail

add

public void add(IConstraint aConstraint,
                IConstraintViolations aViolations,
                IHasLocation aHasLocation)

add

public void add(IConstraints aConstraints,
                IConstraintViolations aViolations,
                IHasLocation aHasLocation)

setBuiltInConstraint

public void setBuiltInConstraint(IBuiltInConstraint aConstraint)

getWhiteSpaceProcessing

public WhiteSpaceProcessing getWhiteSpaceProcessing()

setWhiteSpaceProcessing

public void setWhiteSpaceProcessing(WhiteSpaceProcessing aWhiteSpaceProcessing,
                                    IConstraintViolations aViolations,
                                    IHasLocation aHasLocation)

setWhiteSpaceProcessing

public void setWhiteSpaceProcessing(WhiteSpaceProcessing aWhiteSpaceProcessing)

iterConstraints

public java.util.Iterator iterConstraints()

shallowCopy

public IConstraints shallowCopy()

getConstraint

public IConstraint getConstraint(ConstraintType aConstraintType)

iterConstraints

public java.util.Iterator iterConstraints(ConstraintType aConstraintType)

getConstraintList

public java.util.List getConstraintList(ConstraintType aConstraintType)

hasConstraint

public boolean hasConstraint(IConstraint aConstraint)

getReferenceConstraint

public IReferenceConstraint getReferenceConstraint(java.lang.String aKey)
Gets a reference constraint by its key.

Parameters:
aKey - (required).
Returns:
(optional).

checkConstraints

public void checkConstraints(ICheckContext aContext)
Checks the constraints.

Parameters:
aContext - (required).