XSMultiValueFacet facet = (XSMultiValueFacet) complexTypeFacets.item(i);
if (facet.getFacetKind() == XSSimpleTypeDefinition.FACET_ASSERT) {
Vector simpleContentAsserts = facet.getAsserts();
for (int simpleAssertIdx = 0; simpleAssertIdx <
simpleContentAsserts.size(); simpleAssertIdx++) {
XSAssert simpleContentAssert = (XSAssert)
simpleContentAsserts.get(simpleAssertIdx);
assertions.addXSObject(simpleContentAssert);
}
}
}