1 /*
2  * Portions of this file Copyright 1999-2005 University of Chicago
3  * Portions of this file Copyright 1999-2005 The University of Southern California.
4  *
5  * This file or a portion of this file is licensed under the
6  * terms of the Globus Toolkit Public License, found at
7  * http://www.globus.org/toolkit/download/license.html.
8  * If you redistribute this file, with or without
9  * modifications, you must include this notice in the file.
10  */
11
12 #include "globus_i_xsd.h"
13 #include "globus_i_xsd_type_info.h"
14 #include "globus_soap_message.h"
15
16 GLOBUS_I_XSD_DEFINE_QNAME(xsd, dateTime);
17 GLOBUS_I_XSD_DEFINE_TYPE_INFO(xsd_dateTime);
18 10236038 GLOBUS_I_XSD_DEFINE_TYPE_FUNCTIONS(xsd_dateTime);
19 0 GLOBUS_I_XSD_DEFINE_ATTR_FUNCTIONS(xsd_dateTime, dateTime);
20 0 GLOBUS_I_XSD_DEFINE_INIT_CONTENTS_GENERIC(xsd_dateTime);
21 1726814 GLOBUS_I_XSD_DEFINE_DESTROY_CONTENTS_GENERIC(xsd_dateTime);
22 1110040 GLOBUS_I_XSD_DEFINE_COPY_CONTENTS_GENERIC(xsd_dateTime);
23
24 globus_result_t
25 xsd_dateTime_serialize_contents(
26     xsd_QName *                         element,
27     xsd_dateTime *                      instance,
28     globus_soap_message_handle_t        soap_message_handle,
29     globus_xsd_element_options_t        options)
30 {
31 493403     globus_result_t                     result = GLOBUS_SUCCESS;
32 493403     GlobusFuncName(xsd_dateTime_serialize_contents);
33 493403     GlobusSoapMessageDebugEnter();
34
35     /* serialize contents of type */
36 493403     result = globus_soap_message_serialize_dateTime(
37         soap_message_handle, instance);
38
39 493403     GlobusSoapMessageDebugExit();
40 493403     return result;
41 }
42
43 globus_result_t
44 xsd_dateTime_deserialize_contents(
45     xsd_QName *                         eqn,
46     xsd_dateTime *                      instance,
47     globus_soap_message_handle_t        soap_message_handle,
48     globus_xsd_element_options_t        options)
49 616732 {
50 616732     globus_result_t                     result = GLOBUS_SUCCESS;
51 616732     GlobusFuncName(xsd_dateTime_deserialize_contents);
52 616732     GlobusSoapMessageDebugEnter();
53     
54 616732     result = globus_soap_message_deserialize_dateTime(
55         soap_message_handle, instance);
56
57 616732     GlobusSoapMessageDebugExit();
58 616732     return result;