public String[] getSupportedDomainNamespaceURIs() {
return SUPPORTED_DOMAINS.toArray(new String[SUPPORTED_DOMAINS.size()]);
}
public PolicyAssertion createAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters, AssertionSet nestedAlternative, PolicyAssertionCreator defaultCreator) throws AssertionCreationException {
AssertionInstantiator instantiator = instantiationMap.get(data.getName());
if (instantiator != null) {
return instantiator.newInstance(data, assertionParameters, nestedAlternative);
} else {
return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null);
}
}