Añado los fuentes de java

This commit is contained in:
2025-06-09 13:37:06 +02:00
parent d6c990e5d5
commit a97a6350ee
226 changed files with 57246 additions and 0 deletions
@@ -0,0 +1,33 @@
/*
* Creado el 12-feb-07
*/
package com.tarisan.chipcard.tpvvs.webservicetrayicon.messages;
import es.chipcard.util.*;
import org.w3c.dom.*;
/**
* @author jjrider
*/
public abstract class CCRes extends Msg{
public CCRes(Document doc) throws Exception{
super(doc);
if(!SerClsXMLUtils.existeElemento(doc.getDocumentElement(),"CCRes")){
throw new Exception("El XML dado como argumento no es un CCRes");
}
}
protected Element getCCRes(){
return SerClsXMLUtils.dameElemento(getDocument().getDocumentElement(),"CCRes");
}
public int getTypeOfMessage(){
return this.TYPE_OF_MESSAGE_CCRES;
}
public String getDatosCliente(){
return SerClsXMLUtils.dameValorEl(getCCRes(),"DatosCliente");
}
}