/** * This method is notified when the end of an element is reached. Does nothing, by default. * Specifies whether element is a positional or named argument. * * @param uri is a Namespace uri. If the element has no Namespace uri or no Namespace * processing is being performed, it is treated as an empty string. * @param localName is the local name. If no Namespace processing is being performed * parameter is treated as an empty string. * @param qName is the qualified name. If none are available, parameter is treated as an * empty string. * @throws SAXException for any SAX exception. */ public void endElement(String uri, String localName, String qName) throws SAXException { if (qName.equals("positionalArgument")) { ap.addPositionalArgument(aname, adescription, atype); } if (qName.equals("namedArgument")) { ap.addNamedArgument(aname, adescription, atype, adefault, ashorthand); } }