parser.parse(input);
return handler.getLista();
}
public List<Publicacao> lerPublicacoes(InputStream is) throws IOException, SAXException{
CurriculumCapesSAXHandler handler = new CurriculumCapesSAXHandler();
parser.setContentHandler(handler);
InputSource input = new InputSource(is);
parser.parse(input);
return handler.getPublicacoes();
}