|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface QValueConstraint
QValueConstraint is used to check the syntax of a value
constraint and to test if a specific value satisfies it.
PropertyDefinition.getValueConstraints()| Field Summary | |
|---|---|
static QValueConstraint[] |
EMPTY_ARRAY
Empty array of QValueConstraint. |
| Method Summary | |
|---|---|
void |
check(QValue value)
Check if the specified value matches this constraint. |
String |
getString()
For constraints that are not namespace prefix mapping sensitive this method returns the same defined in . |
| Field Detail |
|---|
static final QValueConstraint[] EMPTY_ARRAY
QValueConstraint.
| Method Detail |
|---|
void check(QValue value)
throws ConstraintViolationException,
RepositoryException
value - The value to be tested.
ConstraintViolationException - If the specified value is
null or does not matches the constraint.
RepositoryException - If another error occurs.String getString()
PropertyDefinition.getValueConstraints().
Those that are namespace prefix mapping sensitive (e.g.
NameConstraint, PathConstraint and
ReferenceConstraint) return an internal string.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||