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