@Override public boolean endElement(XMLElement element) { String qname = element.getQName(); if (TagNames.METHOD_PARAMS.equals(qname)) { MethodDescriptor desc = getDescriptor(); // this means we have an empty method-params element // which means this method has no input parameter if (desc.getParameterClassNames() == null) { desc.setEmptyParameterClassNames(); } } return super.endElement(element); }
/** * receives notification of the end of an XML element by the Parser * * @param element the xml tag identification * @return true if this node is done processing the XML sub tree */ public boolean endElement(XMLElement element) { String qname = element.getQName(); if (EjbTagNames.METHOD_PARAMS.equals(qname)) { MethodDescriptor desc = (MethodDescriptor) getDescriptor(); // this means we have an empty method-params element // which means this method has no input parameter if (desc.getParameterClassNames() == null) { desc.setEmptyParameterClassNames(); } } return super.endElement(element); }