TNfeProc tNfeProc = new TNfeProc();
JAXBContext jaxbCtx;
jaxbCtx = JAXBContext.newInstance(tNfeProc.getClass().getPackage().getName());
Unmarshaller unmarshaller = jaxbCtx.createUnmarshaller();
tNfeProc = unmarshaller.unmarshal(new StreamSource(new StringReader(strXmlNFe)), tNfeProc.getClass()).getValue();
return tNfeProc;
}
Enviado por: Evandro schultz <evandro_schultz@yahoo.com.br>
Responder através da web | • | • | através de email | • | Adicionar um novo tópico | • | Mensagens neste tópico (2) |
Para upload/download de arquivos: http://www.yahoogroups.com/files/java-br
0 comentários:
Postar um comentário