* an Assertion.
* @return an Assertion that is built using the specified element.
*/
public Assertion build(OMElement element) {
AssertionBuilder builder;
QName qname = element.getQName();
builder = (AssertionBuilder) registeredBuilders.get(qname);
if (builder != null) {
return builder.build(element, this);
}
/*
* if we can't locate an appropriate AssertionBuilder, we always
* use the XMLPrimitiveAssertionBuilder
*/
builder = (AssertionBuilder) registeredBuilders
.get(XML_ASSERTION_BUILDER);
return builder.build(element, this);
}