Esempio n. 1
0
 @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());
   }
 }
Esempio n. 2
0
 @Override
 public void characters(char[] ch, int start, int length) {
   if (txt != null) {
     txt.append(ch, start, length);
   }
 }