p12f.exe.pasarelapagos.objects
Class Mensaje

java.lang.Object
  extended byp12f.exe.pasarelapagos.objects.Mensaje
All Implemented Interfaces:
com.ejie.r01f.util.Initializable, java.io.Serializable

public class Mensaje
extends java.lang.Object
implements java.io.Serializable, com.ejie.r01f.util.Initializable

Estructura que contiene un mensaje.

See Also:
Serialized Form

Field Summary
 java.lang.String id
          Identificador del mensaje.
 java.util.Map texto
          Texto del mensaje en distintos idiomas.
 
Constructor Summary
Mensaje()
           
 
Method Summary
static Mensaje getObject(java.lang.String xml)
          Convierte un XML en un objeto Mensaje.
 java.lang.String toXML()
          Convierte un Objeto Mensaje a XML.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.String id
Identificador del mensaje.


texto

public java.util.Map texto
Texto del mensaje en distintos idiomas.

Constructor Detail

Mensaje

public Mensaje()
Method Detail

toXML

public java.lang.String toXML()
                       throws com.ejie.r01f.xml.marshalling.XOMarshallerException
Convierte un Objeto Mensaje a XML.

Returns:
String que contiene el XML.
Throws:
com.ejie.r01f.xml.marshalling.XOMarshallerException

getObject

public static Mensaje getObject(java.lang.String xml)
                         throws com.ejie.r01f.xml.marshalling.XOMarshallerException
Convierte un XML en un objeto Mensaje.

Returns:
Objeto Mensaje construido a partir del XML.
Throws:
com.ejie.r01f.xml.marshalling.XOMarshallerException