if (instance.getPreceptor() != null) {
Collection constraints = instance.getPreceptor().getConstraintsFor(ref);
if (constraints != null) {
for (Iterator it = constraints.iterator(); it.hasNext();) {
Constraint constraint = (Constraint) it.next();
constraint.toSAX(this);
}
}
}
}
catch (InvalidXPathSyntaxException e) {