@Override public void endElement(String namespaceURI, String localName, String qName) { XmlState endState = findState(qName); if (state == XmlState.GRAPHIC && endState == XmlState.GRAPHIC) { pic.setFileName(pathName + txt.toString().trim()); } }
@Override public void characters(char[] ch, int start, int length) { if (txt != null) { txt.append(ch, start, length); } }