@SuppressWarnings("RedundantThrows") public void endElement(EndElementEvent endEvent) throws SAXException { String elName; if(endEvent.qName != null && !endEvent.qName.equals("")) { elName = endEvent.qName; }else { elName = endEvent.localName; } if(!emptyElements.contains(elName)) { int index = getIndex(elName); if(index != -1) { nodeStack.setSize(index); } else { logger.debug("Ignoring unexpected end [" + endEvent.localName + "] element event. Request: [" + execContext.getDocumentSource() + "] - document location: [" + getCurPath() + "]"); } } }
public void endElement(EndElementEvent endEvent) throws SAXException { String elName; if(endEvent.qName != null && !endEvent.qName.equals("")) { elName = endEvent.qName; }else { elName = endEvent.localName; } if(!emptyElements.contains(elName)) { int index = getIndex(elName); if(index != -1) { nodeStack.setSize(index); } else { logger.debug("Ignoring unexpected end [" + endEvent.localName + "] element event. Request: [" + execContext.getDocumentSource() + "] - document location: [" + getCurPath() + "]"); } } }
@SuppressWarnings("RedundantThrows") public void endElement(EndElementEvent endEvent) throws SAXException { String elName; if(endEvent.qName != null && !endEvent.qName.equals("")) { elName = endEvent.qName; }else { elName = endEvent.localName; } if(!emptyElements.contains(elName)) { int index = getIndex(elName); if(index != -1) { nodeStack.setSize(index); } else { logger.debug("Ignoring unexpected end [" + endEvent.localName + "] element event. Request: [" + execContext.getDocumentSource() + "] - document location: [" + getCurPath() + "]"); } } }
@SuppressWarnings("RedundantThrows") public void endElement(EndElementEvent endEvent) throws SAXException { String elName; if(endEvent.qName != null && !endEvent.qName.equals("")) { elName = endEvent.qName; }else { elName = endEvent.localName; } if(!emptyElements.contains(elName)) { int index = getIndex(elName); if(index != -1) { nodeStack.setSize(index); } else { logger.debug("Ignoring unexpected end [" + endEvent.localName + "] element event. Request: [" + execContext.getDocumentSource() + "] - document location: [" + getCurPath() + "]"); } } }