protected BindingFault parseBindingFault(Element bindingFaultEl,
Definition def)
throws WSDLException
{
BindingFault bindingFault = def.createBindingFault();
List remainingAttrs = DOMUtils.getAttributes(bindingFaultEl);
String name = DOMUtils.getAttribute(bindingFaultEl,
Constants.ATTR_NAME,
remainingAttrs);
if (name != null)
{
bindingFault.setName(name);
}
//register any NS decls with the Definition
NamedNodeMap attrs = bindingFaultEl.getAttributes();
registerNSDeclarations(attrs, def);
Element tempEl = DOMUtils.getFirstChildElement(bindingFaultEl);
while (tempEl != null)
{
if (QNameUtils.matches(Constants.Q_ELEM_DOCUMENTATION, tempEl))
{
bindingFault.setDocumentationElement(tempEl);
}
else
{
bindingFault.addExtensibilityElement(
parseExtensibilityElement(BindingFault.class, tempEl, def));
}
tempEl = DOMUtils.getNextSiblingElement(tempEl);
}