/** * Rutina para serializar a XMLRPC * * @param __struct__ Tabla hash donde se aqade el contenido del bean * @return Hashtable que contiene los datos del bean en la forma clave/valor */ protected Object toRPC(java.util.Hashtable __struct__) { java.util.Vector __vector_literalProperties = new java.util.Vector(); for (int __i__ = 0; __i__ < literalProperties.size(); __i__++) { org.qualipso.advdoc.ws.client.retrieval.beans.LiteralProperty __object__ = (org.qualipso.advdoc.ws.client.retrieval.beans.LiteralProperty) literalProperties.elementAt(__i__); __vector_literalProperties.addElement(__object__.toRPC()); } __struct__.put("literalProperties", __vector_literalProperties); java.util.Vector __vector_objectProperties = new java.util.Vector(); for (int __i__ = 0; __i__ < objectProperties.size(); __i__++) { org.qualipso.advdoc.ws.client.retrieval.beans.ObjectProperty __object__ = (org.qualipso.advdoc.ws.client.retrieval.beans.ObjectProperty) objectProperties.elementAt(__i__); __vector_objectProperties.addElement(__object__.toRPC()); } __struct__.put("objectProperties", __vector_objectProperties); return __struct__; }
/** * Rutina para serializar a XMLRPC * * @param __struct__ Tabla hash donde se aqade el contenido del bean * @return Hashtable que contiene los datos del bean en la forma clave/valor */ protected Object toRPC(java.util.Hashtable __struct__) { java.util.Vector __vector_subproperties = new java.util.Vector(); for (int __i__ = 0; __i__ < subproperties.size(); __i__++) { org.qualipso.advdoc.ws.client.metadata.beans.ResourceElement __object__ = (org.qualipso.advdoc.ws.client.metadata.beans.ResourceElement) subproperties.elementAt(__i__); __vector_subproperties.addElement(__object__.toRPC()); } __struct__.put("subproperties", __vector_subproperties); return __struct__; }