Añado los fuentes de java
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user