00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef NEETHI_EXACTLYONE_H
00019 #define NEETHI_EXACTLYONE_H
00020
00021
00027 #include <axis2_defines.h>
00028 #include <axutil_env.h>
00029 #include <neethi_operator.h>
00030 #include <neethi_includes.h>
00031
00032 #ifdef __cplusplus
00033 extern "C"
00034 {
00035 #endif
00036
00037 typedef struct neethi_exactlyone_t neethi_exactlyone_t;
00038
00039 AXIS2_EXTERN neethi_exactlyone_t *AXIS2_CALL
00040 neethi_exactlyone_create(const axutil_env_t *env);
00041
00042 AXIS2_EXTERN void AXIS2_CALL
00043 neethi_exactlyone_free(neethi_exactlyone_t *neethi_exactlyone,
00044 const axutil_env_t *env);
00045
00046 AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00047 neethi_exactlyone_get_policy_components(
00048 neethi_exactlyone_t *neethi_exactlyone,
00049 const axutil_env_t *env);
00050
00051 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00052 neethi_exactlyone_add_policy_components(
00053 neethi_exactlyone_t *exactlyone,
00054 axutil_array_list_t *arraylist,
00055 const axutil_env_t *env);
00056
00057 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00058 neethi_exactlyone_add_operator(neethi_exactlyone_t *neethi_exactlyone,
00059 const axutil_env_t *env,
00060 neethi_operator_t *op);
00061
00062 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00063 neethi_exactlyone_is_empty(neethi_exactlyone_t *exactlyone,
00064 const axutil_env_t *env);
00065
00066 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00067 neethi_exactlyone_serialize(
00068 neethi_exactlyone_t *neethi_exactlyone,
00069 axiom_node_t *parent,
00070 const axutil_env_t *env);
00071
00072 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00073 neethi_exactlyone_set_components_null(
00074 neethi_exactlyone_t *exactlyone,
00075 const axutil_env_t *env);
00076
00077
00078
00080 #ifdef __cplusplus
00081 }
00082 #endif
00083
00084 #endif