// StringParser instance.
if (currentNode.getLocalPart().equals("notes")
|| currentNode.getLocalPart().equals("message")) {
ReadingParser sbmlparser = initializedParsers.get(JSBML.URI_XHTML_DEFINITION);
if (sbmlparser instanceof StringParser) {
StringParser notesParser = (StringParser) sbmlparser;
notesParser.setTypeOfNotes(currentNode.getLocalPart());
}
}
// process the end of the element.
if (!sbmlElements.isEmpty() && (parser != null)) {
logger.debug("event.isEndElement : calling parser.processEndElement " + parser.getClass());