Back to index

nordugrid-arc-nox  1.1.0~rc6
arc_wrap.cpp
Go to the documentation of this file.
00001 /* ----------------------------------------------------------------------------
00002  * This file was automatically generated by SWIG (http://www.swig.org).
00003  * Version 1.3.36
00004  * 
00005  * This file is not intended to be easily readable and contains a number of 
00006  * coding conventions designed to improve portability and efficiency. Do not make
00007  * changes to this file unless you know what you are doing--modify the SWIG 
00008  * interface file instead. 
00009  * ----------------------------------------------------------------------------- */
00010 
00011 
00012 #ifdef __cplusplus
00013 template<typename T> class SwigValueWrapper {
00014     T *tt;
00015 public:
00016     SwigValueWrapper() : tt(0) { }
00017     SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
00018     SwigValueWrapper(const T& t) : tt(new T(t)) { }
00019     ~SwigValueWrapper() { delete tt; } 
00020     SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
00021     operator T&() const { return *tt; }
00022     T *operator&() { return tt; }
00023 private:
00024     SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
00025 };
00026 
00027 template <typename T> T SwigValueInit() {
00028   return T();
00029 }
00030 #endif
00031 
00032 /* -----------------------------------------------------------------------------
00033  *  This section contains generic SWIG labels for method/variable
00034  *  declarations/attributes, and other compiler dependent labels.
00035  * ----------------------------------------------------------------------------- */
00036 
00037 /* template workaround for compilers that cannot correctly implement the C++ standard */
00038 #ifndef SWIGTEMPLATEDISAMBIGUATOR
00039 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
00040 #  define SWIGTEMPLATEDISAMBIGUATOR template
00041 # elif defined(__HP_aCC)
00042 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
00043 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
00044 #  define SWIGTEMPLATEDISAMBIGUATOR template
00045 # else
00046 #  define SWIGTEMPLATEDISAMBIGUATOR
00047 # endif
00048 #endif
00049 
00050 /* inline attribute */
00051 #ifndef SWIGINLINE
00052 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
00053 #   define SWIGINLINE inline
00054 # else
00055 #   define SWIGINLINE
00056 # endif
00057 #endif
00058 
00059 /* attribute recognised by some compilers to avoid 'unused' warnings */
00060 #ifndef SWIGUNUSED
00061 # if defined(__GNUC__)
00062 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
00063 #     define SWIGUNUSED __attribute__ ((__unused__)) 
00064 #   else
00065 #     define SWIGUNUSED
00066 #   endif
00067 # elif defined(__ICC)
00068 #   define SWIGUNUSED __attribute__ ((__unused__)) 
00069 # else
00070 #   define SWIGUNUSED 
00071 # endif
00072 #endif
00073 
00074 #ifndef SWIG_MSC_UNSUPPRESS_4505
00075 # if defined(_MSC_VER)
00076 #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
00077 # endif 
00078 #endif
00079 
00080 #ifndef SWIGUNUSEDPARM
00081 # ifdef __cplusplus
00082 #   define SWIGUNUSEDPARM(p)
00083 # else
00084 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
00085 # endif
00086 #endif
00087 
00088 /* internal SWIG method */
00089 #ifndef SWIGINTERN
00090 # define SWIGINTERN static SWIGUNUSED
00091 #endif
00092 
00093 /* internal inline SWIG method */
00094 #ifndef SWIGINTERNINLINE
00095 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
00096 #endif
00097 
00098 /* exporting methods */
00099 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
00100 #  ifndef GCC_HASCLASSVISIBILITY
00101 #    define GCC_HASCLASSVISIBILITY
00102 #  endif
00103 #endif
00104 
00105 #ifndef SWIGEXPORT
00106 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
00107 #   if defined(STATIC_LINKED)
00108 #     define SWIGEXPORT
00109 #   else
00110 #     define SWIGEXPORT __declspec(dllexport)
00111 #   endif
00112 # else
00113 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
00114 #     define SWIGEXPORT __attribute__ ((visibility("default")))
00115 #   else
00116 #     define SWIGEXPORT
00117 #   endif
00118 # endif
00119 #endif
00120 
00121 /* calling conventions for Windows */
00122 #ifndef SWIGSTDCALL
00123 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
00124 #   define SWIGSTDCALL __stdcall
00125 # else
00126 #   define SWIGSTDCALL
00127 # endif 
00128 #endif
00129 
00130 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
00131 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
00132 # define _CRT_SECURE_NO_DEPRECATE
00133 #endif
00134 
00135 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
00136 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
00137 # define _SCL_SECURE_NO_DEPRECATE
00138 #endif
00139 
00140 
00141 
00142 /* Fix for jlong on some versions of gcc on Windows */
00143 #if defined(__GNUC__) && !defined(__INTELC__)
00144   typedef long long __int64;
00145 #endif
00146 
00147 /* Fix for jlong on 64-bit x86 Solaris */
00148 #if defined(__x86_64)
00149 # ifdef _LP64
00150 #   undef _LP64
00151 # endif
00152 #endif
00153 
00154 #include <JNI.h>
00155 #include <stdlib.h>
00156 #include <string.h>
00157 
00158 
00159 /* Support for throwing Java exceptions */
00160 typedef enum {
00161   SWIG_JavaOutOfMemoryError = 1, 
00162   SWIG_JavaIOException, 
00163   SWIG_JavaRuntimeException, 
00164   SWIG_JavaIndexOutOfBoundsException,
00165   SWIG_JavaArithmeticException,
00166   SWIG_JavaIllegalArgumentException,
00167   SWIG_JavaNullPointerException,
00168   SWIG_JavaDirectorPureVirtual,
00169   SWIG_JavaUnknownError
00170 } SWIG_JavaExceptionCodes;
00171 
00172 typedef struct {
00173   SWIG_JavaExceptionCodes code;
00174   const char *java_exception;
00175 } SWIG_JavaExceptions_t;
00176 
00177 
00178 static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
00179   jclass excep;
00180   static const SWIG_JavaExceptions_t java_exceptions[] = {
00181     { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
00182     { SWIG_JavaIOException, "java/io/IOException" },
00183     { SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
00184     { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
00185     { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
00186     { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
00187     { SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
00188     { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
00189     { SWIG_JavaUnknownError,  "java/lang/UnknownError" },
00190     { (SWIG_JavaExceptionCodes)0,  "java/lang/UnknownError" } };
00191   const SWIG_JavaExceptions_t *except_ptr = java_exceptions;
00192 
00193   while (except_ptr->code != code && except_ptr->code)
00194     except_ptr++;
00195 
00196   jenv->ExceptionClear();
00197   excep = jenv->FindClass(except_ptr->java_exception);
00198   if (excep)
00199     jenv->ThrowNew(excep, msg);
00200 }
00201 
00202 
00203 /* Contract support */
00204 
00205 #define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
00206 
00207 /*  Errors in SWIG */
00208 #define  SWIG_UnknownError            -1 
00209 #define  SWIG_IOError                 -2 
00210 #define  SWIG_RuntimeError            -3 
00211 #define  SWIG_IndexError              -4 
00212 #define  SWIG_TypeError               -5 
00213 #define  SWIG_DivisionByZero          -6 
00214 #define  SWIG_OverflowError           -7 
00215 #define  SWIG_SyntaxError             -8 
00216 #define  SWIG_ValueError              -9 
00217 #define  SWIG_SystemError             -10
00218 #define  SWIG_AttributeError          -11
00219 #define  SWIG_MemoryError             -12 
00220 #define  SWIG_NullReferenceError   -13
00221 
00222 
00223 
00224 
00225 #include <stdexcept>
00226 
00227 
00228 #include <string>
00229 
00230 
00231 #include <vector>
00232 #include <stdexcept>
00233 
00234 
00235 #include <map>
00236 #include <algorithm>
00237 #include <stdexcept>
00238 
00239 
00240 SWIGINTERN void SWIG_JavaException(JNIEnv *jenv, int code, const char *msg) {
00241   SWIG_JavaExceptionCodes exception_code = SWIG_JavaUnknownError;
00242   switch(code) {
00243   case SWIG_MemoryError:
00244     exception_code = SWIG_JavaOutOfMemoryError;
00245     break;
00246   case SWIG_IOError:
00247     exception_code = SWIG_JavaIOException;
00248     break;
00249   case SWIG_SystemError:
00250   case SWIG_RuntimeError:
00251     exception_code = SWIG_JavaRuntimeException;
00252     break;
00253   case SWIG_OverflowError:
00254   case SWIG_IndexError:
00255     exception_code = SWIG_JavaIndexOutOfBoundsException;
00256     break;
00257   case SWIG_DivisionByZero:
00258     exception_code = SWIG_JavaArithmeticException;
00259     break;
00260   case SWIG_SyntaxError:
00261   case SWIG_ValueError:
00262   case SWIG_TypeError:
00263     exception_code = SWIG_JavaIllegalArgumentException;
00264     break;
00265   case SWIG_UnknownError:
00266   default:
00267     exception_code = SWIG_JavaUnknownError;
00268     break;
00269   }
00270   SWIG_JavaThrowException(jenv, exception_code, msg);
00271 }
00272 
00273 
00274 #include <stdexcept>
00275 
00276 
00277 #include <utility>
00278 
00279 
00280 #include <list>
00281 #include <stdexcept>
00282 #include <iterator>
00283 
00284 
00285 template <class T>
00286 class listiteratorhandler
00287 {
00288   private:
00289     typename std::list<T>::iterator it;
00290   public:
00291     listiteratorhandler(typename std::list<T>::iterator it) : it(it) {}
00292 
00293     T pointer() { return it.operator*(); };
00294     void next() { it.operator++(); };
00295     bool equal(typename std::list<T>::iterator ita) { return it.operator==(ita); };
00296 };
00297 
00298 
00299 SWIGINTERN std::string const &std_map_Sl_std_string_Sc_std_string_Sg__get(std::map< std::string,std::string > *self,std::string const &key){
00300                 std::map<std::string,std::string >::iterator i = self->find(key);
00301                 if (i != self->end())
00302                     return i->second;
00303                 else
00304                     throw std::out_of_range("key not found");
00305             }
00306 SWIGINTERN void std_map_Sl_std_string_Sc_std_string_Sg__set(std::map< std::string,std::string > *self,std::string const &key,std::string const &x){
00307                 (*self)[key] = x;
00308             }
00309 SWIGINTERN void std_map_Sl_std_string_Sc_std_string_Sg__del(std::map< std::string,std::string > *self,std::string const &key){
00310                 std::map<std::string,std::string >::iterator i = self->find(key);
00311                 if (i != self->end())
00312                     self->erase(i);
00313                 else
00314                     throw std::out_of_range("key not found");
00315             }
00316 SWIGINTERN bool std_map_Sl_std_string_Sc_std_string_Sg__has_key(std::map< std::string,std::string > *self,std::string const &key){
00317                 std::map<std::string,std::string >::iterator i = self->find(key);
00318                 return i != self->end();
00319             }
00320 
00321 #include <arc/XMLNode.h>
00322 #include <arc/ArcConfig.h>
00323 #include <arc/ArcLocation.h>
00324 #include <arc/IString.h>
00325 #include <arc/Logger.h>
00326 #include <arc/DateTime.h>
00327 #include <arc/URL.h>
00328 #include <arc/UserConfig.h>
00329 #include <arc/GUID.h>
00330 
00331 SWIGINTERN std::vector< Arc::URL >::const_reference std_vector_Sl_Arc_URL_Sg__get(std::vector< Arc::URL > *self,int i){
00332                 int size = int(self->size());
00333                 if (i>=0 && i<size)
00334                     return (*self)[i];
00335                 else
00336                     throw std::out_of_range("vector index out of range");
00337             }
00338 SWIGINTERN void std_vector_Sl_Arc_URL_Sg__set(std::vector< Arc::URL > *self,int i,std::vector< Arc::URL >::value_type const &val){
00339                 int size = int(self->size());
00340                 if (i>=0 && i<size)
00341                     (*self)[i] = val;
00342                 else
00343                     throw std::out_of_range("vector index out of range");
00344             }
00345 SWIGINTERN std::list< Arc::URL > const &std_map_Sl_std_string_Sc_std_list_Sl_Arc_URL_Sg__Sg__get(std::map< std::string,std::list< Arc::URL > > *self,std::string const &key){
00346                 std::map<std::string,std::list< Arc::URL > >::iterator i = self->find(key);
00347                 if (i != self->end())
00348                     return i->second;
00349                 else
00350                     throw std::out_of_range("key not found");
00351             }
00352 SWIGINTERN void std_map_Sl_std_string_Sc_std_list_Sl_Arc_URL_Sg__Sg__set(std::map< std::string,std::list< Arc::URL > > *self,std::string const &key,std::list< Arc::URL > const &x){
00353                 (*self)[key] = x;
00354             }
00355 SWIGINTERN void std_map_Sl_std_string_Sc_std_list_Sl_Arc_URL_Sg__Sg__del(std::map< std::string,std::list< Arc::URL > > *self,std::string const &key){
00356                 std::map<std::string,std::list< Arc::URL > >::iterator i = self->find(key);
00357                 if (i != self->end())
00358                     self->erase(i);
00359                 else
00360                     throw std::out_of_range("key not found");
00361             }
00362 SWIGINTERN bool std_map_Sl_std_string_Sc_std_list_Sl_Arc_URL_Sg__Sg__has_key(std::map< std::string,std::list< Arc::URL > > *self,std::string const &key){
00363                 std::map<std::string,std::list< Arc::URL > >::iterator i = self->find(key);
00364                 return i != self->end();
00365             }
00366 
00367 #include <arc/message/MCC.h>
00368 #include <arc/message/MCC_Status.h>
00369 #include <arc/message/MessageAttributes.h>
00370 #include <arc/message/SecAttr.h> 
00371 #include <arc/message/MessageAuth.h>
00372 #include <arc/message/Message.h>
00373 #include <arc/message/PayloadRaw.h>
00374 #include <arc/message/SOAPEnvelope.h>
00375 #include <arc/message/SOAPMessage.h>
00376 #include <arc/message/PayloadSOAP.h>
00377 #include <arc/message/PayloadStream.h>
00378 #include <arc/message/Service.h> 
00379 
00380 
00381 #include <arc/client/ClientInterface.h>
00382 #include <arc/client/ClientX509Delegation.h>
00383 #include <arc/client/Submitter.h>
00384 #include <arc/client/Software.h>
00385 #include <arc/client/ExecutionTarget.h>
00386 #include <arc/client/JobState.h>
00387 #include <arc/client/Job.h>
00388 #include <arc/client/TargetGenerator.h>
00389 #include <arc/client/Broker.h>
00390 #include <arc/client/JobController.h>
00391 #include <arc/client/JobDescription.h>
00392 #include <arc/client/JobSupervisor.h>
00393 #include <arc/client/TargetRetriever.h>
00394 
00395 
00396 void stream(std::ostream& os) {
00397  os << "hello from stream method" << std::endl;
00398 }
00399 std::ostream& getStdout() {
00400   return std::cout;
00401 }
00402 
00403 
00404 #include <arc/credential/Credential.h>
00405 
00406 
00407 #include <arc/data/DataStatus.h>
00408 #include <arc/data/FileInfo.h>
00409 #include <arc/data/DataPoint.h>
00410 #include <arc/data/DataHandle.h>
00411 #include <arc/data/DataSpeed.h>
00412 #include <arc/data/DataBuffer.h>
00413 #include <arc/data/FileCache.h>
00414 #include <arc/data/DataMover.h>
00415 #include <arc/data/URLMap.h>
00416 
00417 #ifdef WIN32
00418 #define uid_t int
00419 #define gid_t int
00420 #endif
00421 
00422 
00423 
00424 #include <arc/delegation/DelegationInterface.h>
00425 
00426 
00427 #ifdef __cplusplus
00428 extern "C" {
00429 #endif
00430 
00431 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1StringList_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
00432   jlong jresult = 0 ;
00433   std::list< std::string > *result = 0 ;
00434   
00435   (void)jenv;
00436   (void)jcls;
00437   result = (std::list< std::string > *)new std::list< std::string >();
00438   *(std::list< std::string > **)&jresult = result; 
00439   return jresult;
00440 }
00441 
00442 
00443 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1StringList_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
00444   jlong jresult = 0 ;
00445   std::list< std::string >::size_type arg1 ;
00446   std::list< std::string > *result = 0 ;
00447   
00448   (void)jenv;
00449   (void)jcls;
00450   arg1 = (std::list< std::string >::size_type)jarg1; 
00451   result = (std::list< std::string > *)new std::list< std::string >(arg1);
00452   *(std::list< std::string > **)&jresult = result; 
00453   return jresult;
00454 }
00455 
00456 
00457 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_StringList_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00458   jlong jresult = 0 ;
00459   std::list< std::string > *arg1 = (std::list< std::string > *) 0 ;
00460   std::list< std::string >::size_type result;
00461   
00462   (void)jenv;
00463   (void)jcls;
00464   (void)jarg1_;
00465   arg1 = *(std::list< std::string > **)&jarg1; 
00466   result = ((std::list< std::string > const *)arg1)->size();
00467   jresult = (jlong)result; 
00468   return jresult;
00469 }
00470 
00471 
00472 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_StringList_1isEmpty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00473   jboolean jresult = 0 ;
00474   std::list< std::string > *arg1 = (std::list< std::string > *) 0 ;
00475   bool result;
00476   
00477   (void)jenv;
00478   (void)jcls;
00479   (void)jarg1_;
00480   arg1 = *(std::list< std::string > **)&jarg1; 
00481   result = (bool)((std::list< std::string > const *)arg1)->empty();
00482   jresult = (jboolean)result; 
00483   return jresult;
00484 }
00485 
00486 
00487 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_StringList_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00488   std::list< std::string > *arg1 = (std::list< std::string > *) 0 ;
00489   
00490   (void)jenv;
00491   (void)jcls;
00492   (void)jarg1_;
00493   arg1 = *(std::list< std::string > **)&jarg1; 
00494   (arg1)->clear();
00495 }
00496 
00497 
00498 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_StringList_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
00499   std::list< std::string > *arg1 = (std::list< std::string > *) 0 ;
00500   std::list< std::string >::value_type *arg2 = 0 ;
00501   
00502   (void)jenv;
00503   (void)jcls;
00504   (void)jarg1_;
00505   arg1 = *(std::list< std::string > **)&jarg1; 
00506   if(!jarg2) {
00507     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
00508     return ;
00509   }
00510   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
00511   if (!arg2_pstr) return ;
00512   std::string arg2_str(arg2_pstr);
00513   arg2 = &arg2_str;
00514   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
00515   (arg1)->push_back((std::list< std::string >::value_type const &)*arg2);
00516 }
00517 
00518 
00519 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_StringList_1begin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00520   jlong jresult = 0 ;
00521   std::list< std::string > *arg1 = (std::list< std::string > *) 0 ;
00522   SwigValueWrapper< std::list< std::string >::iterator > result;
00523   
00524   (void)jenv;
00525   (void)jcls;
00526   (void)jarg1_;
00527   arg1 = *(std::list< std::string > **)&jarg1; 
00528   result = (arg1)->begin();
00529   *(std::list< std::list< std::string >::value_type >::iterator **)&jresult = new std::list< std::list< std::string >::value_type >::iterator((const std::list< std::list< std::string >::value_type >::iterator &)result); 
00530   return jresult;
00531 }
00532 
00533 
00534 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_StringList_1end(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00535   jlong jresult = 0 ;
00536   std::list< std::string > *arg1 = (std::list< std::string > *) 0 ;
00537   SwigValueWrapper< std::list< std::string >::iterator > result;
00538   
00539   (void)jenv;
00540   (void)jcls;
00541   (void)jarg1_;
00542   arg1 = *(std::list< std::string > **)&jarg1; 
00543   result = (arg1)->end();
00544   *(std::list< std::list< std::string >::value_type >::iterator **)&jresult = new std::list< std::list< std::string >::value_type >::iterator((const std::list< std::list< std::string >::value_type >::iterator &)result); 
00545   return jresult;
00546 }
00547 
00548 
00549 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1StringStringMap_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
00550   jlong jresult = 0 ;
00551   std::map< std::string,std::string > *result = 0 ;
00552   
00553   (void)jenv;
00554   (void)jcls;
00555   result = (std::map< std::string,std::string > *)new std::map< std::string,std::string >();
00556   *(std::map< std::string,std::string > **)&jresult = result; 
00557   return jresult;
00558 }
00559 
00560 
00561 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1StringStringMap_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00562   jlong jresult = 0 ;
00563   std::map< std::string,std::string > *arg1 = 0 ;
00564   std::map< std::string,std::string > *result = 0 ;
00565   
00566   (void)jenv;
00567   (void)jcls;
00568   (void)jarg1_;
00569   arg1 = *(std::map< std::string,std::string > **)&jarg1;
00570   if(!arg1) {
00571     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< std::string,std::string > const & reference is null");
00572     return 0;
00573   } 
00574   result = (std::map< std::string,std::string > *)new std::map< std::string,std::string >((std::map< std::string,std::string > const &)*arg1);
00575   *(std::map< std::string,std::string > **)&jresult = result; 
00576   return jresult;
00577 }
00578 
00579 
00580 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_StringStringMap_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00581   jlong jresult = 0 ;
00582   std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
00583   unsigned int result;
00584   
00585   (void)jenv;
00586   (void)jcls;
00587   (void)jarg1_;
00588   arg1 = *(std::map< std::string,std::string > **)&jarg1; 
00589   result = (unsigned int)((std::map< std::string,std::string > const *)arg1)->size();
00590   jresult = (jlong)result; 
00591   return jresult;
00592 }
00593 
00594 
00595 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_StringStringMap_1empty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00596   jboolean jresult = 0 ;
00597   std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
00598   bool result;
00599   
00600   (void)jenv;
00601   (void)jcls;
00602   (void)jarg1_;
00603   arg1 = *(std::map< std::string,std::string > **)&jarg1; 
00604   result = (bool)((std::map< std::string,std::string > const *)arg1)->empty();
00605   jresult = (jboolean)result; 
00606   return jresult;
00607 }
00608 
00609 
00610 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_StringStringMap_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00611   std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
00612   
00613   (void)jenv;
00614   (void)jcls;
00615   (void)jarg1_;
00616   arg1 = *(std::map< std::string,std::string > **)&jarg1; 
00617   (arg1)->clear();
00618 }
00619 
00620 
00621 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_StringStringMap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
00622   jstring jresult = 0 ;
00623   std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
00624   std::string *arg2 = 0 ;
00625   std::string *result = 0 ;
00626   
00627   (void)jenv;
00628   (void)jcls;
00629   (void)jarg1_;
00630   arg1 = *(std::map< std::string,std::string > **)&jarg1; 
00631   if(!jarg2) {
00632     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
00633     return 0;
00634   }
00635   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
00636   if (!arg2_pstr) return 0;
00637   std::string arg2_str(arg2_pstr);
00638   arg2 = &arg2_str;
00639   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
00640   try {
00641     {
00642       std::string const &_result_ref = std_map_Sl_std_string_Sc_std_string_Sg__get(arg1,(std::string const &)*arg2);
00643       result = (std::string *) &_result_ref;
00644     }
00645   }
00646   catch(std::out_of_range &_e) {
00647     SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what());
00648     return 0;
00649   }
00650   
00651   jresult = jenv->NewStringUTF(result->c_str()); 
00652   return jresult;
00653 }
00654 
00655 
00656 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_StringStringMap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
00657   std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
00658   std::string *arg2 = 0 ;
00659   std::string *arg3 = 0 ;
00660   
00661   (void)jenv;
00662   (void)jcls;
00663   (void)jarg1_;
00664   arg1 = *(std::map< std::string,std::string > **)&jarg1; 
00665   if(!jarg2) {
00666     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
00667     return ;
00668   }
00669   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
00670   if (!arg2_pstr) return ;
00671   std::string arg2_str(arg2_pstr);
00672   arg2 = &arg2_str;
00673   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
00674   if(!jarg3) {
00675     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
00676     return ;
00677   }
00678   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
00679   if (!arg3_pstr) return ;
00680   std::string arg3_str(arg3_pstr);
00681   arg3 = &arg3_str;
00682   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
00683   std_map_Sl_std_string_Sc_std_string_Sg__set(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
00684 }
00685 
00686 
00687 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_StringStringMap_1del(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
00688   std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
00689   std::string *arg2 = 0 ;
00690   
00691   (void)jenv;
00692   (void)jcls;
00693   (void)jarg1_;
00694   arg1 = *(std::map< std::string,std::string > **)&jarg1; 
00695   if(!jarg2) {
00696     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
00697     return ;
00698   }
00699   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
00700   if (!arg2_pstr) return ;
00701   std::string arg2_str(arg2_pstr);
00702   arg2 = &arg2_str;
00703   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
00704   try {
00705     std_map_Sl_std_string_Sc_std_string_Sg__del(arg1,(std::string const &)*arg2);
00706   }
00707   catch(std::out_of_range &_e) {
00708     SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what());
00709     return ;
00710   }
00711   
00712 }
00713 
00714 
00715 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_StringStringMap_1has_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
00716   jboolean jresult = 0 ;
00717   std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
00718   std::string *arg2 = 0 ;
00719   bool result;
00720   
00721   (void)jenv;
00722   (void)jcls;
00723   (void)jarg1_;
00724   arg1 = *(std::map< std::string,std::string > **)&jarg1; 
00725   if(!jarg2) {
00726     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
00727     return 0;
00728   }
00729   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
00730   if (!arg2_pstr) return 0;
00731   std::string arg2_str(arg2_pstr);
00732   arg2 = &arg2_str;
00733   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
00734   result = (bool)std_map_Sl_std_string_Sc_std_string_Sg__has_key(arg1,(std::string const &)*arg2);
00735   jresult = (jboolean)result; 
00736   return jresult;
00737 }
00738 
00739 
00740 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1StringListIteratorHandler(JNIEnv *jenv, jclass jcls, jlong jarg1) {
00741   jlong jresult = 0 ;
00742   SwigValueWrapper< std::list< std::string >::iterator > arg1 ;
00743   std::list< std::string >::iterator *argp1 ;
00744   listiteratorhandler< std::string > *result = 0 ;
00745   
00746   (void)jenv;
00747   (void)jcls;
00748   argp1 = *(std::list< std::string >::iterator **)&jarg1; 
00749   if (!argp1) {
00750     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null std::list< std::string >::iterator");
00751     return 0;
00752   }
00753   arg1 = *argp1; 
00754   result = (listiteratorhandler< std::string > *)new listiteratorhandler< std::string >(arg1);
00755   *(listiteratorhandler< std::string > **)&jresult = result; 
00756   return jresult;
00757 }
00758 
00759 
00760 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_StringListIteratorHandler_1pointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00761   jstring jresult = 0 ;
00762   listiteratorhandler< std::string > *arg1 = (listiteratorhandler< std::string > *) 0 ;
00763   std::string result;
00764   
00765   (void)jenv;
00766   (void)jcls;
00767   (void)jarg1_;
00768   arg1 = *(listiteratorhandler< std::string > **)&jarg1; 
00769   result = (arg1)->pointer();
00770   jresult = jenv->NewStringUTF((&result)->c_str()); 
00771   return jresult;
00772 }
00773 
00774 
00775 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_StringListIteratorHandler_1next(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00776   listiteratorhandler< std::string > *arg1 = (listiteratorhandler< std::string > *) 0 ;
00777   
00778   (void)jenv;
00779   (void)jcls;
00780   (void)jarg1_;
00781   arg1 = *(listiteratorhandler< std::string > **)&jarg1; 
00782   (arg1)->next();
00783 }
00784 
00785 
00786 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_StringListIteratorHandler_1equal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
00787   jboolean jresult = 0 ;
00788   listiteratorhandler< std::string > *arg1 = (listiteratorhandler< std::string > *) 0 ;
00789   SwigValueWrapper< std::list< std::string >::iterator > arg2 ;
00790   std::list< std::string >::iterator *argp2 ;
00791   bool result;
00792   
00793   (void)jenv;
00794   (void)jcls;
00795   (void)jarg1_;
00796   arg1 = *(listiteratorhandler< std::string > **)&jarg1; 
00797   argp2 = *(std::list< std::string >::iterator **)&jarg2; 
00798   if (!argp2) {
00799     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null std::list< std::string >::iterator");
00800     return 0;
00801   }
00802   arg2 = *argp2; 
00803   result = (bool)(arg1)->equal(arg2);
00804   jresult = (jboolean)result; 
00805   return jresult;
00806 }
00807 
00808 
00809 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1XMLNodeList_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
00810   jlong jresult = 0 ;
00811   std::list< Arc::XMLNode > *result = 0 ;
00812   
00813   (void)jenv;
00814   (void)jcls;
00815   result = (std::list< Arc::XMLNode > *)new std::list< Arc::XMLNode >();
00816   *(std::list< Arc::XMLNode > **)&jresult = result; 
00817   return jresult;
00818 }
00819 
00820 
00821 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1XMLNodeList_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
00822   jlong jresult = 0 ;
00823   std::list< Arc::XMLNode >::size_type arg1 ;
00824   std::list< Arc::XMLNode > *result = 0 ;
00825   
00826   (void)jenv;
00827   (void)jcls;
00828   arg1 = (std::list< Arc::XMLNode >::size_type)jarg1; 
00829   result = (std::list< Arc::XMLNode > *)new std::list< Arc::XMLNode >(arg1);
00830   *(std::list< Arc::XMLNode > **)&jresult = result; 
00831   return jresult;
00832 }
00833 
00834 
00835 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNodeList_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00836   jlong jresult = 0 ;
00837   std::list< Arc::XMLNode > *arg1 = (std::list< Arc::XMLNode > *) 0 ;
00838   std::list< Arc::XMLNode >::size_type result;
00839   
00840   (void)jenv;
00841   (void)jcls;
00842   (void)jarg1_;
00843   arg1 = *(std::list< Arc::XMLNode > **)&jarg1; 
00844   result = ((std::list< Arc::XMLNode > const *)arg1)->size();
00845   jresult = (jlong)result; 
00846   return jresult;
00847 }
00848 
00849 
00850 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_XMLNodeList_1isEmpty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00851   jboolean jresult = 0 ;
00852   std::list< Arc::XMLNode > *arg1 = (std::list< Arc::XMLNode > *) 0 ;
00853   bool result;
00854   
00855   (void)jenv;
00856   (void)jcls;
00857   (void)jarg1_;
00858   arg1 = *(std::list< Arc::XMLNode > **)&jarg1; 
00859   result = (bool)((std::list< Arc::XMLNode > const *)arg1)->empty();
00860   jresult = (jboolean)result; 
00861   return jresult;
00862 }
00863 
00864 
00865 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNodeList_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00866   std::list< Arc::XMLNode > *arg1 = (std::list< Arc::XMLNode > *) 0 ;
00867   
00868   (void)jenv;
00869   (void)jcls;
00870   (void)jarg1_;
00871   arg1 = *(std::list< Arc::XMLNode > **)&jarg1; 
00872   (arg1)->clear();
00873 }
00874 
00875 
00876 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNodeList_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
00877   std::list< Arc::XMLNode > *arg1 = (std::list< Arc::XMLNode > *) 0 ;
00878   std::list< Arc::XMLNode >::value_type *arg2 = 0 ;
00879   
00880   (void)jenv;
00881   (void)jcls;
00882   (void)jarg1_;
00883   (void)jarg2_;
00884   arg1 = *(std::list< Arc::XMLNode > **)&jarg1; 
00885   arg2 = *(std::list< Arc::XMLNode >::value_type **)&jarg2;
00886   if(!arg2) {
00887     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::list< Arc::XMLNode >::value_type const & reference is null");
00888     return ;
00889   } 
00890   (arg1)->push_back((std::list< Arc::XMLNode >::value_type const &)*arg2);
00891 }
00892 
00893 
00894 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNodeList_1begin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00895   jlong jresult = 0 ;
00896   std::list< Arc::XMLNode > *arg1 = (std::list< Arc::XMLNode > *) 0 ;
00897   SwigValueWrapper< std::list< Arc::XMLNode >::iterator > result;
00898   
00899   (void)jenv;
00900   (void)jcls;
00901   (void)jarg1_;
00902   arg1 = *(std::list< Arc::XMLNode > **)&jarg1; 
00903   result = (arg1)->begin();
00904   *(std::list< std::list< Arc::XMLNode >::value_type >::iterator **)&jresult = new std::list< std::list< Arc::XMLNode >::value_type >::iterator((const std::list< std::list< Arc::XMLNode >::value_type >::iterator &)result); 
00905   return jresult;
00906 }
00907 
00908 
00909 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNodeList_1end(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00910   jlong jresult = 0 ;
00911   std::list< Arc::XMLNode > *arg1 = (std::list< Arc::XMLNode > *) 0 ;
00912   SwigValueWrapper< std::list< Arc::XMLNode >::iterator > result;
00913   
00914   (void)jenv;
00915   (void)jcls;
00916   (void)jarg1_;
00917   arg1 = *(std::list< Arc::XMLNode > **)&jarg1; 
00918   result = (arg1)->end();
00919   *(std::list< std::list< Arc::XMLNode >::value_type >::iterator **)&jresult = new std::list< std::list< Arc::XMLNode >::value_type >::iterator((const std::list< std::list< Arc::XMLNode >::value_type >::iterator &)result); 
00920   return jresult;
00921 }
00922 
00923 
00924 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URLList_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
00925   jlong jresult = 0 ;
00926   std::list< Arc::URL > *result = 0 ;
00927   
00928   (void)jenv;
00929   (void)jcls;
00930   result = (std::list< Arc::URL > *)new std::list< Arc::URL >();
00931   *(std::list< Arc::URL > **)&jresult = result; 
00932   return jresult;
00933 }
00934 
00935 
00936 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URLList_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
00937   jlong jresult = 0 ;
00938   std::list< Arc::URL >::size_type arg1 ;
00939   std::list< Arc::URL > *result = 0 ;
00940   
00941   (void)jenv;
00942   (void)jcls;
00943   arg1 = (std::list< Arc::URL >::size_type)jarg1; 
00944   result = (std::list< Arc::URL > *)new std::list< Arc::URL >(arg1);
00945   *(std::list< Arc::URL > **)&jresult = result; 
00946   return jresult;
00947 }
00948 
00949 
00950 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URLList_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00951   jlong jresult = 0 ;
00952   std::list< Arc::URL > *arg1 = (std::list< Arc::URL > *) 0 ;
00953   std::list< Arc::URL >::size_type result;
00954   
00955   (void)jenv;
00956   (void)jcls;
00957   (void)jarg1_;
00958   arg1 = *(std::list< Arc::URL > **)&jarg1; 
00959   result = ((std::list< Arc::URL > const *)arg1)->size();
00960   jresult = (jlong)result; 
00961   return jresult;
00962 }
00963 
00964 
00965 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_URLList_1isEmpty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00966   jboolean jresult = 0 ;
00967   std::list< Arc::URL > *arg1 = (std::list< Arc::URL > *) 0 ;
00968   bool result;
00969   
00970   (void)jenv;
00971   (void)jcls;
00972   (void)jarg1_;
00973   arg1 = *(std::list< Arc::URL > **)&jarg1; 
00974   result = (bool)((std::list< Arc::URL > const *)arg1)->empty();
00975   jresult = (jboolean)result; 
00976   return jresult;
00977 }
00978 
00979 
00980 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URLList_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
00981   std::list< Arc::URL > *arg1 = (std::list< Arc::URL > *) 0 ;
00982   
00983   (void)jenv;
00984   (void)jcls;
00985   (void)jarg1_;
00986   arg1 = *(std::list< Arc::URL > **)&jarg1; 
00987   (arg1)->clear();
00988 }
00989 
00990 
00991 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URLList_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
00992   std::list< Arc::URL > *arg1 = (std::list< Arc::URL > *) 0 ;
00993   std::list< Arc::URL >::value_type *arg2 = 0 ;
00994   
00995   (void)jenv;
00996   (void)jcls;
00997   (void)jarg1_;
00998   (void)jarg2_;
00999   arg1 = *(std::list< Arc::URL > **)&jarg1; 
01000   arg2 = *(std::list< Arc::URL >::value_type **)&jarg2;
01001   if(!arg2) {
01002     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::list< Arc::URL >::value_type const & reference is null");
01003     return ;
01004   } 
01005   (arg1)->push_back((std::list< Arc::URL >::value_type const &)*arg2);
01006 }
01007 
01008 
01009 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URLList_1begin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01010   jlong jresult = 0 ;
01011   std::list< Arc::URL > *arg1 = (std::list< Arc::URL > *) 0 ;
01012   SwigValueWrapper< std::list< Arc::URL >::iterator > result;
01013   
01014   (void)jenv;
01015   (void)jcls;
01016   (void)jarg1_;
01017   arg1 = *(std::list< Arc::URL > **)&jarg1; 
01018   result = (arg1)->begin();
01019   *(std::list< std::list< Arc::URL >::value_type >::iterator **)&jresult = new std::list< std::list< Arc::URL >::value_type >::iterator((const std::list< std::list< Arc::URL >::value_type >::iterator &)result); 
01020   return jresult;
01021 }
01022 
01023 
01024 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URLList_1end(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01025   jlong jresult = 0 ;
01026   std::list< Arc::URL > *arg1 = (std::list< Arc::URL > *) 0 ;
01027   SwigValueWrapper< std::list< Arc::URL >::iterator > result;
01028   
01029   (void)jenv;
01030   (void)jcls;
01031   (void)jarg1_;
01032   arg1 = *(std::list< Arc::URL > **)&jarg1; 
01033   result = (arg1)->end();
01034   *(std::list< std::list< Arc::URL >::value_type >::iterator **)&jresult = new std::list< std::list< Arc::URL >::value_type >::iterator((const std::list< std::list< Arc::URL >::value_type >::iterator &)result); 
01035   return jresult;
01036 }
01037 
01038 
01039 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URLVector_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
01040   jlong jresult = 0 ;
01041   std::vector< Arc::URL > *result = 0 ;
01042   
01043   (void)jenv;
01044   (void)jcls;
01045   result = (std::vector< Arc::URL > *)new std::vector< Arc::URL >();
01046   *(std::vector< Arc::URL > **)&jresult = result; 
01047   return jresult;
01048 }
01049 
01050 
01051 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URLVector_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
01052   jlong jresult = 0 ;
01053   std::vector< Arc::URL >::size_type arg1 ;
01054   std::vector< Arc::URL > *result = 0 ;
01055   
01056   (void)jenv;
01057   (void)jcls;
01058   arg1 = (std::vector< Arc::URL >::size_type)jarg1; 
01059   result = (std::vector< Arc::URL > *)new std::vector< Arc::URL >(arg1);
01060   *(std::vector< Arc::URL > **)&jresult = result; 
01061   return jresult;
01062 }
01063 
01064 
01065 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URLVector_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01066   jlong jresult = 0 ;
01067   std::vector< Arc::URL > *arg1 = (std::vector< Arc::URL > *) 0 ;
01068   std::vector< Arc::URL >::size_type result;
01069   
01070   (void)jenv;
01071   (void)jcls;
01072   (void)jarg1_;
01073   arg1 = *(std::vector< Arc::URL > **)&jarg1; 
01074   result = ((std::vector< Arc::URL > const *)arg1)->size();
01075   jresult = (jlong)result; 
01076   return jresult;
01077 }
01078 
01079 
01080 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URLVector_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01081   jlong jresult = 0 ;
01082   std::vector< Arc::URL > *arg1 = (std::vector< Arc::URL > *) 0 ;
01083   std::vector< Arc::URL >::size_type result;
01084   
01085   (void)jenv;
01086   (void)jcls;
01087   (void)jarg1_;
01088   arg1 = *(std::vector< Arc::URL > **)&jarg1; 
01089   result = ((std::vector< Arc::URL > const *)arg1)->capacity();
01090   jresult = (jlong)result; 
01091   return jresult;
01092 }
01093 
01094 
01095 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URLVector_1reserve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
01096   std::vector< Arc::URL > *arg1 = (std::vector< Arc::URL > *) 0 ;
01097   std::vector< Arc::URL >::size_type arg2 ;
01098   
01099   (void)jenv;
01100   (void)jcls;
01101   (void)jarg1_;
01102   arg1 = *(std::vector< Arc::URL > **)&jarg1; 
01103   arg2 = (std::vector< Arc::URL >::size_type)jarg2; 
01104   (arg1)->reserve(arg2);
01105 }
01106 
01107 
01108 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_URLVector_1isEmpty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01109   jboolean jresult = 0 ;
01110   std::vector< Arc::URL > *arg1 = (std::vector< Arc::URL > *) 0 ;
01111   bool result;
01112   
01113   (void)jenv;
01114   (void)jcls;
01115   (void)jarg1_;
01116   arg1 = *(std::vector< Arc::URL > **)&jarg1; 
01117   result = (bool)((std::vector< Arc::URL > const *)arg1)->empty();
01118   jresult = (jboolean)result; 
01119   return jresult;
01120 }
01121 
01122 
01123 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URLVector_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01124   std::vector< Arc::URL > *arg1 = (std::vector< Arc::URL > *) 0 ;
01125   
01126   (void)jenv;
01127   (void)jcls;
01128   (void)jarg1_;
01129   arg1 = *(std::vector< Arc::URL > **)&jarg1; 
01130   (arg1)->clear();
01131 }
01132 
01133 
01134 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URLVector_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
01135   std::vector< Arc::URL > *arg1 = (std::vector< Arc::URL > *) 0 ;
01136   std::vector< Arc::URL >::value_type *arg2 = 0 ;
01137   
01138   (void)jenv;
01139   (void)jcls;
01140   (void)jarg1_;
01141   (void)jarg2_;
01142   arg1 = *(std::vector< Arc::URL > **)&jarg1; 
01143   arg2 = *(std::vector< Arc::URL >::value_type **)&jarg2;
01144   if(!arg2) {
01145     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< Arc::URL >::value_type const & reference is null");
01146     return ;
01147   } 
01148   (arg1)->push_back((std::vector< Arc::URL >::value_type const &)*arg2);
01149 }
01150 
01151 
01152 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URLVector_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
01153   jlong jresult = 0 ;
01154   std::vector< Arc::URL > *arg1 = (std::vector< Arc::URL > *) 0 ;
01155   int arg2 ;
01156   std::vector< Arc::URL >::value_type *result = 0 ;
01157   
01158   (void)jenv;
01159   (void)jcls;
01160   (void)jarg1_;
01161   arg1 = *(std::vector< Arc::URL > **)&jarg1; 
01162   arg2 = (int)jarg2; 
01163   try {
01164     {
01165       std::vector< Arc::URL >::const_reference _result_ref = std_vector_Sl_Arc_URL_Sg__get(arg1,arg2);
01166       result = (std::vector< Arc::URL >::value_type *) &_result_ref;
01167     }
01168   }
01169   catch(std::out_of_range &_e) {
01170     SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what());
01171     return 0;
01172   }
01173   
01174   *(std::vector< Arc::URL >::value_type **)&jresult = result; 
01175   return jresult;
01176 }
01177 
01178 
01179 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URLVector_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
01180   std::vector< Arc::URL > *arg1 = (std::vector< Arc::URL > *) 0 ;
01181   int arg2 ;
01182   std::vector< Arc::URL >::value_type *arg3 = 0 ;
01183   
01184   (void)jenv;
01185   (void)jcls;
01186   (void)jarg1_;
01187   (void)jarg3_;
01188   arg1 = *(std::vector< Arc::URL > **)&jarg1; 
01189   arg2 = (int)jarg2; 
01190   arg3 = *(std::vector< Arc::URL >::value_type **)&jarg3;
01191   if(!arg3) {
01192     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< Arc::URL >::value_type const & reference is null");
01193     return ;
01194   } 
01195   try {
01196     std_vector_Sl_Arc_URL_Sg__set(arg1,arg2,(Arc::URL const &)*arg3);
01197   }
01198   catch(std::out_of_range &_e) {
01199     SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what());
01200     return ;
01201   }
01202   
01203 }
01204 
01205 
01206 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URLListMap_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
01207   jlong jresult = 0 ;
01208   std::map< std::string,std::list< Arc::URL > > *result = 0 ;
01209   
01210   (void)jenv;
01211   (void)jcls;
01212   result = (std::map< std::string,std::list< Arc::URL > > *)new std::map< std::string,std::list< Arc::URL > >();
01213   *(std::map< std::string,std::list< Arc::URL > > **)&jresult = result; 
01214   return jresult;
01215 }
01216 
01217 
01218 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URLListMap_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01219   jlong jresult = 0 ;
01220   std::map< std::string,std::list< Arc::URL > > *arg1 = 0 ;
01221   std::map< std::string,std::list< Arc::URL > > *result = 0 ;
01222   
01223   (void)jenv;
01224   (void)jcls;
01225   (void)jarg1_;
01226   arg1 = *(std::map< std::string,std::list< Arc::URL > > **)&jarg1;
01227   if(!arg1) {
01228     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< std::string,std::list< Arc::URL > > const & reference is null");
01229     return 0;
01230   } 
01231   result = (std::map< std::string,std::list< Arc::URL > > *)new std::map< std::string,std::list< Arc::URL > >((std::map< std::string,std::list< Arc::URL > > const &)*arg1);
01232   *(std::map< std::string,std::list< Arc::URL > > **)&jresult = result; 
01233   return jresult;
01234 }
01235 
01236 
01237 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URLListMap_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01238   jlong jresult = 0 ;
01239   std::map< std::string,std::list< Arc::URL > > *arg1 = (std::map< std::string,std::list< Arc::URL > > *) 0 ;
01240   unsigned int result;
01241   
01242   (void)jenv;
01243   (void)jcls;
01244   (void)jarg1_;
01245   arg1 = *(std::map< std::string,std::list< Arc::URL > > **)&jarg1; 
01246   result = (unsigned int)((std::map< std::string,std::list< Arc::URL > > const *)arg1)->size();
01247   jresult = (jlong)result; 
01248   return jresult;
01249 }
01250 
01251 
01252 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_URLListMap_1empty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01253   jboolean jresult = 0 ;
01254   std::map< std::string,std::list< Arc::URL > > *arg1 = (std::map< std::string,std::list< Arc::URL > > *) 0 ;
01255   bool result;
01256   
01257   (void)jenv;
01258   (void)jcls;
01259   (void)jarg1_;
01260   arg1 = *(std::map< std::string,std::list< Arc::URL > > **)&jarg1; 
01261   result = (bool)((std::map< std::string,std::list< Arc::URL > > const *)arg1)->empty();
01262   jresult = (jboolean)result; 
01263   return jresult;
01264 }
01265 
01266 
01267 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URLListMap_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01268   std::map< std::string,std::list< Arc::URL > > *arg1 = (std::map< std::string,std::list< Arc::URL > > *) 0 ;
01269   
01270   (void)jenv;
01271   (void)jcls;
01272   (void)jarg1_;
01273   arg1 = *(std::map< std::string,std::list< Arc::URL > > **)&jarg1; 
01274   (arg1)->clear();
01275 }
01276 
01277 
01278 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URLListMap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
01279   jlong jresult = 0 ;
01280   std::map< std::string,std::list< Arc::URL > > *arg1 = (std::map< std::string,std::list< Arc::URL > > *) 0 ;
01281   std::string *arg2 = 0 ;
01282   std::list< Arc::URL > *result = 0 ;
01283   
01284   (void)jenv;
01285   (void)jcls;
01286   (void)jarg1_;
01287   arg1 = *(std::map< std::string,std::list< Arc::URL > > **)&jarg1; 
01288   if(!jarg2) {
01289     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
01290     return 0;
01291   }
01292   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
01293   if (!arg2_pstr) return 0;
01294   std::string arg2_str(arg2_pstr);
01295   arg2 = &arg2_str;
01296   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
01297   try {
01298     {
01299       std::list< Arc::URL > const &_result_ref = std_map_Sl_std_string_Sc_std_list_Sl_Arc_URL_Sg__Sg__get(arg1,(std::string const &)*arg2);
01300       result = (std::list< Arc::URL > *) &_result_ref;
01301     }
01302   }
01303   catch(std::out_of_range &_e) {
01304     SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what());
01305     return 0;
01306   }
01307   
01308   *(std::list< Arc::URL > **)&jresult = result; 
01309   return jresult;
01310 }
01311 
01312 
01313 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URLListMap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
01314   std::map< std::string,std::list< Arc::URL > > *arg1 = (std::map< std::string,std::list< Arc::URL > > *) 0 ;
01315   std::string *arg2 = 0 ;
01316   std::list< Arc::URL > *arg3 = 0 ;
01317   
01318   (void)jenv;
01319   (void)jcls;
01320   (void)jarg1_;
01321   (void)jarg3_;
01322   arg1 = *(std::map< std::string,std::list< Arc::URL > > **)&jarg1; 
01323   if(!jarg2) {
01324     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
01325     return ;
01326   }
01327   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
01328   if (!arg2_pstr) return ;
01329   std::string arg2_str(arg2_pstr);
01330   arg2 = &arg2_str;
01331   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
01332   arg3 = *(std::list< Arc::URL > **)&jarg3;
01333   if(!arg3) {
01334     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::list< Arc::URL > const & reference is null");
01335     return ;
01336   } 
01337   std_map_Sl_std_string_Sc_std_list_Sl_Arc_URL_Sg__Sg__set(arg1,(std::string const &)*arg2,(std::list< Arc::URL > const &)*arg3);
01338 }
01339 
01340 
01341 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URLListMap_1del(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
01342   std::map< std::string,std::list< Arc::URL > > *arg1 = (std::map< std::string,std::list< Arc::URL > > *) 0 ;
01343   std::string *arg2 = 0 ;
01344   
01345   (void)jenv;
01346   (void)jcls;
01347   (void)jarg1_;
01348   arg1 = *(std::map< std::string,std::list< Arc::URL > > **)&jarg1; 
01349   if(!jarg2) {
01350     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
01351     return ;
01352   }
01353   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
01354   if (!arg2_pstr) return ;
01355   std::string arg2_str(arg2_pstr);
01356   arg2 = &arg2_str;
01357   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
01358   try {
01359     std_map_Sl_std_string_Sc_std_list_Sl_Arc_URL_Sg__Sg__del(arg1,(std::string const &)*arg2);
01360   }
01361   catch(std::out_of_range &_e) {
01362     SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, (&_e)->what());
01363     return ;
01364   }
01365   
01366 }
01367 
01368 
01369 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_URLListMap_1has_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
01370   jboolean jresult = 0 ;
01371   std::map< std::string,std::list< Arc::URL > > *arg1 = (std::map< std::string,std::list< Arc::URL > > *) 0 ;
01372   std::string *arg2 = 0 ;
01373   bool result;
01374   
01375   (void)jenv;
01376   (void)jcls;
01377   (void)jarg1_;
01378   arg1 = *(std::map< std::string,std::list< Arc::URL > > **)&jarg1; 
01379   if(!jarg2) {
01380     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
01381     return 0;
01382   }
01383   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
01384   if (!arg2_pstr) return 0;
01385   std::string arg2_str(arg2_pstr);
01386   arg2 = &arg2_str;
01387   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
01388   result = (bool)std_map_Sl_std_string_Sc_std_list_Sl_Arc_URL_Sg__Sg__has_key(arg1,(std::string const &)*arg2);
01389   jresult = (jboolean)result; 
01390   return jresult;
01391 }
01392 
01393 
01394 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1NS_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
01395   jlong jresult = 0 ;
01396   Arc::NS *result = 0 ;
01397   
01398   (void)jenv;
01399   (void)jcls;
01400   result = (Arc::NS *)new Arc::NS();
01401   *(Arc::NS **)&jresult = result; 
01402   return jresult;
01403 }
01404 
01405 
01406 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1NS_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
01407   jlong jresult = 0 ;
01408   char *arg1 = (char *) 0 ;
01409   char *arg2 = (char *) 0 ;
01410   Arc::NS *result = 0 ;
01411   
01412   (void)jenv;
01413   (void)jcls;
01414   arg1 = 0;
01415   if (jarg1) {
01416     arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
01417     if (!arg1) return 0;
01418   }
01419   arg2 = 0;
01420   if (jarg2) {
01421     arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
01422     if (!arg2) return 0;
01423   }
01424   result = (Arc::NS *)new Arc::NS((char const *)arg1,(char const *)arg2);
01425   *(Arc::NS **)&jresult = result; 
01426   if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
01427   if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
01428   return jresult;
01429 }
01430 
01431 
01432 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1NS_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1) {
01433   jlong jresult = 0 ;
01434   char *(*arg1)[2] ;
01435   Arc::NS *result = 0 ;
01436   
01437   (void)jenv;
01438   (void)jcls;
01439   arg1 = *(char *(**)[2])&jarg1; 
01440   result = (Arc::NS *)new Arc::NS((char const *(*)[2])arg1);
01441   *(Arc::NS **)&jresult = result; 
01442   
01443   return jresult;
01444 }
01445 
01446 
01447 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1NS_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01448   jlong jresult = 0 ;
01449   std::map< std::string,std::string > *arg1 = 0 ;
01450   Arc::NS *result = 0 ;
01451   
01452   (void)jenv;
01453   (void)jcls;
01454   (void)jarg1_;
01455   arg1 = *(std::map< std::string,std::string > **)&jarg1;
01456   if(!arg1) {
01457     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< std::string,std::string > const & reference is null");
01458     return 0;
01459   } 
01460   result = (Arc::NS *)new Arc::NS((std::map< std::string,std::string > const &)*arg1);
01461   *(Arc::NS **)&jresult = result; 
01462   return jresult;
01463 }
01464 
01465 
01466 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1XMLNode_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
01467   jlong jresult = 0 ;
01468   Arc::XMLNode *result = 0 ;
01469   
01470   (void)jenv;
01471   (void)jcls;
01472   result = (Arc::XMLNode *)new Arc::XMLNode();
01473   *(Arc::XMLNode **)&jresult = result; 
01474   return jresult;
01475 }
01476 
01477 
01478 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1XMLNode_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01479   jlong jresult = 0 ;
01480   Arc::XMLNode *arg1 = 0 ;
01481   Arc::XMLNode *result = 0 ;
01482   
01483   (void)jenv;
01484   (void)jcls;
01485   (void)jarg1_;
01486   arg1 = *(Arc::XMLNode **)&jarg1;
01487   if(!arg1) {
01488     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode const & reference is null");
01489     return 0;
01490   } 
01491   result = (Arc::XMLNode *)new Arc::XMLNode((Arc::XMLNode const &)*arg1);
01492   *(Arc::XMLNode **)&jresult = result; 
01493   return jresult;
01494 }
01495 
01496 
01497 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1XMLNode_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1) {
01498   jlong jresult = 0 ;
01499   std::string *arg1 = 0 ;
01500   Arc::XMLNode *result = 0 ;
01501   
01502   (void)jenv;
01503   (void)jcls;
01504   if(!jarg1) {
01505     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
01506     return 0;
01507   }
01508   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
01509   if (!arg1_pstr) return 0;
01510   std::string arg1_str(arg1_pstr);
01511   arg1 = &arg1_str;
01512   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
01513   result = (Arc::XMLNode *)new Arc::XMLNode((std::string const &)*arg1);
01514   *(Arc::XMLNode **)&jresult = result; 
01515   return jresult;
01516 }
01517 
01518 
01519 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1XMLNode_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jint jarg1) {
01520   jlong jresult = 0 ;
01521   long arg1 ;
01522   Arc::XMLNode *result = 0 ;
01523   
01524   (void)jenv;
01525   (void)jcls;
01526   arg1 = (long)jarg1; 
01527   result = (Arc::XMLNode *)new Arc::XMLNode(arg1);
01528   *(Arc::XMLNode **)&jresult = result; 
01529   return jresult;
01530 }
01531 
01532 
01533 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1XMLNode_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
01534   jlong jresult = 0 ;
01535   Arc::NS *arg1 = 0 ;
01536   char *arg2 = (char *) 0 ;
01537   Arc::XMLNode *result = 0 ;
01538   
01539   (void)jenv;
01540   (void)jcls;
01541   (void)jarg1_;
01542   arg1 = *(Arc::NS **)&jarg1;
01543   if(!arg1) {
01544     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::NS const & reference is null");
01545     return 0;
01546   } 
01547   arg2 = 0;
01548   if (jarg2) {
01549     arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
01550     if (!arg2) return 0;
01551   }
01552   result = (Arc::XMLNode *)new Arc::XMLNode((Arc::NS const &)*arg1,(char const *)arg2);
01553   *(Arc::XMLNode **)&jresult = result; 
01554   if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
01555   return jresult;
01556 }
01557 
01558 
01559 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1XMLNode(JNIEnv *jenv, jclass jcls, jlong jarg1) {
01560   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01561   
01562   (void)jenv;
01563   (void)jcls;
01564   arg1 = *(Arc::XMLNode **)&jarg1; 
01565   delete arg1;
01566 }
01567 
01568 
01569 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1New(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
01570   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01571   Arc::XMLNode *arg2 = 0 ;
01572   
01573   (void)jenv;
01574   (void)jcls;
01575   (void)jarg1_;
01576   (void)jarg2_;
01577   arg1 = *(Arc::XMLNode **)&jarg1; 
01578   arg2 = *(Arc::XMLNode **)&jarg2;
01579   if(!arg2) {
01580     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode & reference is null");
01581     return ;
01582   } 
01583   ((Arc::XMLNode const *)arg1)->New(*arg2);
01584 }
01585 
01586 
01587 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Exchange(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
01588   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01589   Arc::XMLNode *arg2 = 0 ;
01590   
01591   (void)jenv;
01592   (void)jcls;
01593   (void)jarg1_;
01594   (void)jarg2_;
01595   arg1 = *(Arc::XMLNode **)&jarg1; 
01596   arg2 = *(Arc::XMLNode **)&jarg2;
01597   if(!arg2) {
01598     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode & reference is null");
01599     return ;
01600   } 
01601   (arg1)->Exchange(*arg2);
01602 }
01603 
01604 
01605 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Move(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
01606   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01607   Arc::XMLNode *arg2 = 0 ;
01608   
01609   (void)jenv;
01610   (void)jcls;
01611   (void)jarg1_;
01612   (void)jarg2_;
01613   arg1 = *(Arc::XMLNode **)&jarg1; 
01614   arg2 = *(Arc::XMLNode **)&jarg2;
01615   if(!arg2) {
01616     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode & reference is null");
01617     return ;
01618   } 
01619   (arg1)->Move(*arg2);
01620 }
01621 
01622 
01623 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Swap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
01624   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01625   Arc::XMLNode *arg2 = 0 ;
01626   
01627   (void)jenv;
01628   (void)jcls;
01629   (void)jarg1_;
01630   (void)jarg2_;
01631   arg1 = *(Arc::XMLNode **)&jarg1; 
01632   arg2 = *(Arc::XMLNode **)&jarg2;
01633   if(!arg2) {
01634     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode & reference is null");
01635     return ;
01636   } 
01637   (arg1)->Swap(*arg2);
01638 }
01639 
01640 
01641 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1toBool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01642   jboolean jresult = 0 ;
01643   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01644   bool result;
01645   
01646   (void)jenv;
01647   (void)jcls;
01648   (void)jarg1_;
01649   arg1 = *(Arc::XMLNode **)&jarg1; 
01650   result = (bool)((Arc::XMLNode const *)arg1)->operator bool();
01651   jresult = (jboolean)result; 
01652   return jresult;
01653 }
01654 
01655 
01656 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Same(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
01657   jboolean jresult = 0 ;
01658   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01659   Arc::XMLNode *arg2 = 0 ;
01660   bool result;
01661   
01662   (void)jenv;
01663   (void)jcls;
01664   (void)jarg1_;
01665   (void)jarg2_;
01666   arg1 = *(Arc::XMLNode **)&jarg1; 
01667   arg2 = *(Arc::XMLNode **)&jarg2;
01668   if(!arg2) {
01669     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode const & reference is null");
01670     return 0;
01671   } 
01672   result = (bool)(arg1)->Same((Arc::XMLNode const &)*arg2);
01673   jresult = (jboolean)result; 
01674   return jresult;
01675 }
01676 
01677 
01678 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Child_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
01679   jlong jresult = 0 ;
01680   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01681   int arg2 ;
01682   Arc::XMLNode result;
01683   
01684   (void)jenv;
01685   (void)jcls;
01686   (void)jarg1_;
01687   arg1 = *(Arc::XMLNode **)&jarg1; 
01688   arg2 = (int)jarg2; 
01689   result = (arg1)->Child(arg2);
01690   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
01691   return jresult;
01692 }
01693 
01694 
01695 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Child_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01696   jlong jresult = 0 ;
01697   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01698   Arc::XMLNode result;
01699   
01700   (void)jenv;
01701   (void)jcls;
01702   (void)jarg1_;
01703   arg1 = *(Arc::XMLNode **)&jarg1; 
01704   result = (arg1)->Child();
01705   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
01706   return jresult;
01707 }
01708 
01709 
01710 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01711   jint jresult = 0 ;
01712   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01713   int result;
01714   
01715   (void)jenv;
01716   (void)jcls;
01717   (void)jarg1_;
01718   arg1 = *(Arc::XMLNode **)&jarg1; 
01719   result = (int)((Arc::XMLNode const *)arg1)->Size();
01720   jresult = (jint)result; 
01721   return jresult;
01722 }
01723 
01724 
01725 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
01726   jlong jresult = 0 ;
01727   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01728   std::string *arg2 = 0 ;
01729   Arc::XMLNode result;
01730   
01731   (void)jenv;
01732   (void)jcls;
01733   (void)jarg1_;
01734   arg1 = *(Arc::XMLNode **)&jarg1; 
01735   if(!jarg2) {
01736     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
01737     return 0;
01738   }
01739   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
01740   if (!arg2_pstr) return 0;
01741   std::string arg2_str(arg2_pstr);
01742   arg2 = &arg2_str;
01743   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
01744   result = ((Arc::XMLNode const *)arg1)->Get((std::string const &)*arg2);
01745   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
01746   return jresult;
01747 }
01748 
01749 
01750 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Name_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01751   jstring jresult = 0 ;
01752   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01753   std::string result;
01754   
01755   (void)jenv;
01756   (void)jcls;
01757   (void)jarg1_;
01758   arg1 = *(Arc::XMLNode **)&jarg1; 
01759   result = ((Arc::XMLNode const *)arg1)->Name();
01760   jresult = jenv->NewStringUTF((&result)->c_str()); 
01761   return jresult;
01762 }
01763 
01764 
01765 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Prefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01766   jstring jresult = 0 ;
01767   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01768   std::string result;
01769   
01770   (void)jenv;
01771   (void)jcls;
01772   (void)jarg1_;
01773   arg1 = *(Arc::XMLNode **)&jarg1; 
01774   result = ((Arc::XMLNode const *)arg1)->Prefix();
01775   jresult = jenv->NewStringUTF((&result)->c_str()); 
01776   return jresult;
01777 }
01778 
01779 
01780 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1FullName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01781   jstring jresult = 0 ;
01782   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01783   std::string result;
01784   
01785   (void)jenv;
01786   (void)jcls;
01787   (void)jarg1_;
01788   arg1 = *(Arc::XMLNode **)&jarg1; 
01789   result = ((Arc::XMLNode const *)arg1)->FullName();
01790   jresult = jenv->NewStringUTF((&result)->c_str()); 
01791   return jresult;
01792 }
01793 
01794 
01795 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Namespace(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01796   jstring jresult = 0 ;
01797   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01798   std::string result;
01799   
01800   (void)jenv;
01801   (void)jcls;
01802   (void)jarg1_;
01803   arg1 = *(Arc::XMLNode **)&jarg1; 
01804   result = ((Arc::XMLNode const *)arg1)->Namespace();
01805   jresult = jenv->NewStringUTF((&result)->c_str()); 
01806   return jresult;
01807 }
01808 
01809 
01810 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Name_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
01811   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01812   std::string *arg2 = 0 ;
01813   
01814   (void)jenv;
01815   (void)jcls;
01816   (void)jarg1_;
01817   arg1 = *(Arc::XMLNode **)&jarg1; 
01818   if(!jarg2) {
01819     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
01820     return ;
01821   }
01822   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
01823   if (!arg2_pstr) return ;
01824   std::string arg2_str(arg2_pstr);
01825   arg2 = &arg2_str;
01826   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
01827   (arg1)->Name((std::string const &)*arg2);
01828 }
01829 
01830 
01831 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1GetXML_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jboolean jarg3) {
01832   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01833   std::string *arg2 = 0 ;
01834   bool arg3 ;
01835   
01836   (void)jenv;
01837   (void)jcls;
01838   (void)jarg1_;
01839   arg1 = *(Arc::XMLNode **)&jarg1; 
01840   arg2 = *(std::string **)&jarg2;
01841   if(!arg2) {
01842     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::string & reference is null");
01843     return ;
01844   } 
01845   arg3 = jarg3 ? true : false; 
01846   ((Arc::XMLNode const *)arg1)->GetXML(*arg2,arg3);
01847 }
01848 
01849 
01850 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1GetXML_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
01851   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01852   std::string *arg2 = 0 ;
01853   
01854   (void)jenv;
01855   (void)jcls;
01856   (void)jarg1_;
01857   arg1 = *(Arc::XMLNode **)&jarg1; 
01858   arg2 = *(std::string **)&jarg2;
01859   if(!arg2) {
01860     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::string & reference is null");
01861     return ;
01862   } 
01863   ((Arc::XMLNode const *)arg1)->GetXML(*arg2);
01864 }
01865 
01866 
01867 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1GetXML_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jstring jarg3, jboolean jarg4) {
01868   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01869   std::string *arg2 = 0 ;
01870   std::string *arg3 = 0 ;
01871   bool arg4 ;
01872   
01873   (void)jenv;
01874   (void)jcls;
01875   (void)jarg1_;
01876   arg1 = *(Arc::XMLNode **)&jarg1; 
01877   arg2 = *(std::string **)&jarg2;
01878   if(!arg2) {
01879     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::string & reference is null");
01880     return ;
01881   } 
01882   if(!jarg3) {
01883     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
01884     return ;
01885   }
01886   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
01887   if (!arg3_pstr) return ;
01888   std::string arg3_str(arg3_pstr);
01889   arg3 = &arg3_str;
01890   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
01891   arg4 = jarg4 ? true : false; 
01892   ((Arc::XMLNode const *)arg1)->GetXML(*arg2,(std::string const &)*arg3,arg4);
01893 }
01894 
01895 
01896 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1GetXML_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jstring jarg3) {
01897   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01898   std::string *arg2 = 0 ;
01899   std::string *arg3 = 0 ;
01900   
01901   (void)jenv;
01902   (void)jcls;
01903   (void)jarg1_;
01904   arg1 = *(Arc::XMLNode **)&jarg1; 
01905   arg2 = *(std::string **)&jarg2;
01906   if(!arg2) {
01907     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::string & reference is null");
01908     return ;
01909   } 
01910   if(!jarg3) {
01911     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
01912     return ;
01913   }
01914   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
01915   if (!arg3_pstr) return ;
01916   std::string arg3_str(arg3_pstr);
01917   arg3 = &arg3_str;
01918   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
01919   ((Arc::XMLNode const *)arg1)->GetXML(*arg2,(std::string const &)*arg3);
01920 }
01921 
01922 
01923 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1GetDoc_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jboolean jarg3) {
01924   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01925   std::string *arg2 = 0 ;
01926   bool arg3 ;
01927   
01928   (void)jenv;
01929   (void)jcls;
01930   (void)jarg1_;
01931   arg1 = *(Arc::XMLNode **)&jarg1; 
01932   arg2 = *(std::string **)&jarg2;
01933   if(!arg2) {
01934     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::string & reference is null");
01935     return ;
01936   } 
01937   arg3 = jarg3 ? true : false; 
01938   ((Arc::XMLNode const *)arg1)->GetDoc(*arg2,arg3);
01939 }
01940 
01941 
01942 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1GetDoc_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
01943   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01944   std::string *arg2 = 0 ;
01945   
01946   (void)jenv;
01947   (void)jcls;
01948   (void)jarg1_;
01949   arg1 = *(Arc::XMLNode **)&jarg1; 
01950   arg2 = *(std::string **)&jarg2;
01951   if(!arg2) {
01952     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::string & reference is null");
01953     return ;
01954   } 
01955   ((Arc::XMLNode const *)arg1)->GetDoc(*arg2);
01956 }
01957 
01958 
01959 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1toString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
01960   jstring jresult = 0 ;
01961   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01962   std::string result;
01963   
01964   (void)jenv;
01965   (void)jcls;
01966   (void)jarg1_;
01967   arg1 = *(Arc::XMLNode **)&jarg1; 
01968   result = ((Arc::XMLNode const *)arg1)->operator std::string();
01969   jresult = jenv->NewStringUTF((&result)->c_str()); 
01970   return jresult;
01971 }
01972 
01973 
01974 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
01975   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01976   std::string *arg2 = 0 ;
01977   
01978   (void)jenv;
01979   (void)jcls;
01980   (void)jarg1_;
01981   arg1 = *(Arc::XMLNode **)&jarg1; 
01982   if(!jarg2) {
01983     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
01984     return ;
01985   }
01986   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
01987   if (!arg2_pstr) return ;
01988   std::string arg2_str(arg2_pstr);
01989   arg2 = &arg2_str;
01990   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
01991   (arg1)->Set((std::string const &)*arg2);
01992 }
01993 
01994 
01995 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Attribute_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
01996   jlong jresult = 0 ;
01997   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
01998   int arg2 ;
01999   Arc::XMLNode result;
02000   
02001   (void)jenv;
02002   (void)jcls;
02003   (void)jarg1_;
02004   arg1 = *(Arc::XMLNode **)&jarg1; 
02005   arg2 = (int)jarg2; 
02006   result = (arg1)->Attribute(arg2);
02007   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02008   return jresult;
02009 }
02010 
02011 
02012 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Attribute_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02013   jlong jresult = 0 ;
02014   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02015   Arc::XMLNode result;
02016   
02017   (void)jenv;
02018   (void)jcls;
02019   (void)jarg1_;
02020   arg1 = *(Arc::XMLNode **)&jarg1; 
02021   result = (arg1)->Attribute();
02022   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02023   return jresult;
02024 }
02025 
02026 
02027 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Attribute_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
02028   jlong jresult = 0 ;
02029   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02030   char *arg2 = (char *) 0 ;
02031   Arc::XMLNode result;
02032   
02033   (void)jenv;
02034   (void)jcls;
02035   (void)jarg1_;
02036   arg1 = *(Arc::XMLNode **)&jarg1; 
02037   arg2 = 0;
02038   if (jarg2) {
02039     arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
02040     if (!arg2) return 0;
02041   }
02042   result = (arg1)->Attribute((char const *)arg2);
02043   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02044   if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
02045   return jresult;
02046 }
02047 
02048 
02049 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1NewAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
02050   jlong jresult = 0 ;
02051   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02052   std::string *arg2 = 0 ;
02053   Arc::XMLNode result;
02054   
02055   (void)jenv;
02056   (void)jcls;
02057   (void)jarg1_;
02058   arg1 = *(Arc::XMLNode **)&jarg1; 
02059   if(!jarg2) {
02060     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
02061     return 0;
02062   }
02063   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
02064   if (!arg2_pstr) return 0;
02065   std::string arg2_str(arg2_pstr);
02066   arg2 = &arg2_str;
02067   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
02068   result = (arg1)->NewAttribute((std::string const &)*arg2);
02069   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02070   return jresult;
02071 }
02072 
02073 
02074 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1AttributesSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02075   jint jresult = 0 ;
02076   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02077   int result;
02078   
02079   (void)jenv;
02080   (void)jcls;
02081   (void)jarg1_;
02082   arg1 = *(Arc::XMLNode **)&jarg1; 
02083   result = (int)((Arc::XMLNode const *)arg1)->AttributesSize();
02084   jresult = (jint)result; 
02085   return jresult;
02086 }
02087 
02088 
02089 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Namespaces_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3, jint jarg4) {
02090   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02091   Arc::NS *arg2 = 0 ;
02092   bool arg3 ;
02093   int arg4 ;
02094   
02095   (void)jenv;
02096   (void)jcls;
02097   (void)jarg1_;
02098   (void)jarg2_;
02099   arg1 = *(Arc::XMLNode **)&jarg1; 
02100   arg2 = *(Arc::NS **)&jarg2;
02101   if(!arg2) {
02102     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::NS const & reference is null");
02103     return ;
02104   } 
02105   arg3 = jarg3 ? true : false; 
02106   arg4 = (int)jarg4; 
02107   (arg1)->Namespaces((Arc::NS const &)*arg2,arg3,arg4);
02108 }
02109 
02110 
02111 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Namespaces_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
02112   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02113   Arc::NS *arg2 = 0 ;
02114   bool arg3 ;
02115   
02116   (void)jenv;
02117   (void)jcls;
02118   (void)jarg1_;
02119   (void)jarg2_;
02120   arg1 = *(Arc::XMLNode **)&jarg1; 
02121   arg2 = *(Arc::NS **)&jarg2;
02122   if(!arg2) {
02123     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::NS const & reference is null");
02124     return ;
02125   } 
02126   arg3 = jarg3 ? true : false; 
02127   (arg1)->Namespaces((Arc::NS const &)*arg2,arg3);
02128 }
02129 
02130 
02131 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Namespaces_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
02132   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02133   Arc::NS *arg2 = 0 ;
02134   
02135   (void)jenv;
02136   (void)jcls;
02137   (void)jarg1_;
02138   (void)jarg2_;
02139   arg1 = *(Arc::XMLNode **)&jarg1; 
02140   arg2 = *(Arc::NS **)&jarg2;
02141   if(!arg2) {
02142     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::NS const & reference is null");
02143     return ;
02144   } 
02145   (arg1)->Namespaces((Arc::NS const &)*arg2);
02146 }
02147 
02148 
02149 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Namespaces_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02150   jlong jresult = 0 ;
02151   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02152   Arc::NS result;
02153   
02154   (void)jenv;
02155   (void)jcls;
02156   (void)jarg1_;
02157   arg1 = *(Arc::XMLNode **)&jarg1; 
02158   result = (arg1)->Namespaces();
02159   *(Arc::NS **)&jresult = new Arc::NS((const Arc::NS &)result); 
02160   return jresult;
02161 }
02162 
02163 
02164 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1NamespacePrefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
02165   jstring jresult = 0 ;
02166   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02167   char *arg2 = (char *) 0 ;
02168   std::string result;
02169   
02170   (void)jenv;
02171   (void)jcls;
02172   (void)jarg1_;
02173   arg1 = *(Arc::XMLNode **)&jarg1; 
02174   arg2 = 0;
02175   if (jarg2) {
02176     arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
02177     if (!arg2) return 0;
02178   }
02179   result = (arg1)->NamespacePrefix((char const *)arg2);
02180   jresult = jenv->NewStringUTF((&result)->c_str()); 
02181   if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
02182   return jresult;
02183 }
02184 
02185 
02186 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1NewChild_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
02187   jlong jresult = 0 ;
02188   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02189   char *arg2 = (char *) 0 ;
02190   int arg3 ;
02191   Arc::XMLNode result;
02192   
02193   (void)jenv;
02194   (void)jcls;
02195   (void)jarg1_;
02196   arg1 = *(Arc::XMLNode **)&jarg1; 
02197   arg2 = 0;
02198   if (jarg2) {
02199     arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
02200     if (!arg2) return 0;
02201   }
02202   arg3 = (int)jarg3; 
02203   result = (arg1)->NewChild((char const *)arg2,arg3);
02204   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02205   if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
02206   return jresult;
02207 }
02208 
02209 
02210 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1NewChild_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
02211   jlong jresult = 0 ;
02212   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02213   char *arg2 = (char *) 0 ;
02214   Arc::XMLNode result;
02215   
02216   (void)jenv;
02217   (void)jcls;
02218   (void)jarg1_;
02219   arg1 = *(Arc::XMLNode **)&jarg1; 
02220   arg2 = 0;
02221   if (jarg2) {
02222     arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
02223     if (!arg2) return 0;
02224   }
02225   result = (arg1)->NewChild((char const *)arg2);
02226   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02227   if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
02228   return jresult;
02229 }
02230 
02231 
02232 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1NewChild_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3, jboolean jarg4) {
02233   jlong jresult = 0 ;
02234   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02235   std::string *arg2 = 0 ;
02236   int arg3 ;
02237   bool arg4 ;
02238   Arc::XMLNode result;
02239   
02240   (void)jenv;
02241   (void)jcls;
02242   (void)jarg1_;
02243   arg1 = *(Arc::XMLNode **)&jarg1; 
02244   if(!jarg2) {
02245     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
02246     return 0;
02247   }
02248   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
02249   if (!arg2_pstr) return 0;
02250   std::string arg2_str(arg2_pstr);
02251   arg2 = &arg2_str;
02252   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
02253   arg3 = (int)jarg3; 
02254   arg4 = jarg4 ? true : false; 
02255   result = (arg1)->NewChild((std::string const &)*arg2,arg3,arg4);
02256   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02257   return jresult;
02258 }
02259 
02260 
02261 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1NewChild_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_, jint jarg4) {
02262   jlong jresult = 0 ;
02263   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02264   char *arg2 = (char *) 0 ;
02265   Arc::NS *arg3 = 0 ;
02266   int arg4 ;
02267   Arc::XMLNode result;
02268   
02269   (void)jenv;
02270   (void)jcls;
02271   (void)jarg1_;
02272   (void)jarg3_;
02273   arg1 = *(Arc::XMLNode **)&jarg1; 
02274   arg2 = 0;
02275   if (jarg2) {
02276     arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
02277     if (!arg2) return 0;
02278   }
02279   arg3 = *(Arc::NS **)&jarg3;
02280   if(!arg3) {
02281     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::NS const & reference is null");
02282     return 0;
02283   } 
02284   arg4 = (int)jarg4; 
02285   result = (arg1)->NewChild((char const *)arg2,(Arc::NS const &)*arg3,arg4);
02286   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02287   if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
02288   return jresult;
02289 }
02290 
02291 
02292 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1NewChild_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
02293   jlong jresult = 0 ;
02294   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02295   char *arg2 = (char *) 0 ;
02296   Arc::NS *arg3 = 0 ;
02297   Arc::XMLNode result;
02298   
02299   (void)jenv;
02300   (void)jcls;
02301   (void)jarg1_;
02302   (void)jarg3_;
02303   arg1 = *(Arc::XMLNode **)&jarg1; 
02304   arg2 = 0;
02305   if (jarg2) {
02306     arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
02307     if (!arg2) return 0;
02308   }
02309   arg3 = *(Arc::NS **)&jarg3;
02310   if(!arg3) {
02311     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::NS const & reference is null");
02312     return 0;
02313   } 
02314   result = (arg1)->NewChild((char const *)arg2,(Arc::NS const &)*arg3);
02315   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02316   if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
02317   return jresult;
02318 }
02319 
02320 
02321 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1NewChild_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_, jint jarg4, jboolean jarg5) {
02322   jlong jresult = 0 ;
02323   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02324   std::string *arg2 = 0 ;
02325   Arc::NS *arg3 = 0 ;
02326   int arg4 ;
02327   bool arg5 ;
02328   Arc::XMLNode result;
02329   
02330   (void)jenv;
02331   (void)jcls;
02332   (void)jarg1_;
02333   (void)jarg3_;
02334   arg1 = *(Arc::XMLNode **)&jarg1; 
02335   if(!jarg2) {
02336     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
02337     return 0;
02338   }
02339   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
02340   if (!arg2_pstr) return 0;
02341   std::string arg2_str(arg2_pstr);
02342   arg2 = &arg2_str;
02343   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
02344   arg3 = *(Arc::NS **)&jarg3;
02345   if(!arg3) {
02346     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::NS const & reference is null");
02347     return 0;
02348   } 
02349   arg4 = (int)jarg4; 
02350   arg5 = jarg5 ? true : false; 
02351   result = (arg1)->NewChild((std::string const &)*arg2,(Arc::NS const &)*arg3,arg4,arg5);
02352   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02353   return jresult;
02354 }
02355 
02356 
02357 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1NewChild_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jboolean jarg4) {
02358   jlong jresult = 0 ;
02359   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02360   Arc::XMLNode *arg2 = 0 ;
02361   int arg3 ;
02362   bool arg4 ;
02363   Arc::XMLNode result;
02364   
02365   (void)jenv;
02366   (void)jcls;
02367   (void)jarg1_;
02368   (void)jarg2_;
02369   arg1 = *(Arc::XMLNode **)&jarg1; 
02370   arg2 = *(Arc::XMLNode **)&jarg2;
02371   if(!arg2) {
02372     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode const & reference is null");
02373     return 0;
02374   } 
02375   arg3 = (int)jarg3; 
02376   arg4 = jarg4 ? true : false; 
02377   result = (arg1)->NewChild((Arc::XMLNode const &)*arg2,arg3,arg4);
02378   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02379   return jresult;
02380 }
02381 
02382 
02383 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1NewChild_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
02384   jlong jresult = 0 ;
02385   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02386   Arc::XMLNode *arg2 = 0 ;
02387   int arg3 ;
02388   Arc::XMLNode result;
02389   
02390   (void)jenv;
02391   (void)jcls;
02392   (void)jarg1_;
02393   (void)jarg2_;
02394   arg1 = *(Arc::XMLNode **)&jarg1; 
02395   arg2 = *(Arc::XMLNode **)&jarg2;
02396   if(!arg2) {
02397     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode const & reference is null");
02398     return 0;
02399   } 
02400   arg3 = (int)jarg3; 
02401   result = (arg1)->NewChild((Arc::XMLNode const &)*arg2,arg3);
02402   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02403   return jresult;
02404 }
02405 
02406 
02407 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1NewChild_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
02408   jlong jresult = 0 ;
02409   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02410   Arc::XMLNode *arg2 = 0 ;
02411   Arc::XMLNode result;
02412   
02413   (void)jenv;
02414   (void)jcls;
02415   (void)jarg1_;
02416   (void)jarg2_;
02417   arg1 = *(Arc::XMLNode **)&jarg1; 
02418   arg2 = *(Arc::XMLNode **)&jarg2;
02419   if(!arg2) {
02420     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode const & reference is null");
02421     return 0;
02422   } 
02423   result = (arg1)->NewChild((Arc::XMLNode const &)*arg2);
02424   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02425   return jresult;
02426 }
02427 
02428 
02429 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Replace(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
02430   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02431   Arc::XMLNode *arg2 = 0 ;
02432   
02433   (void)jenv;
02434   (void)jcls;
02435   (void)jarg1_;
02436   (void)jarg2_;
02437   arg1 = *(Arc::XMLNode **)&jarg1; 
02438   arg2 = *(Arc::XMLNode **)&jarg2;
02439   if(!arg2) {
02440     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode const & reference is null");
02441     return ;
02442   } 
02443   (arg1)->Replace((Arc::XMLNode const &)*arg2);
02444 }
02445 
02446 
02447 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Destroy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02448   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02449   
02450   (void)jenv;
02451   (void)jcls;
02452   (void)jarg1_;
02453   arg1 = *(Arc::XMLNode **)&jarg1; 
02454   (arg1)->Destroy();
02455 }
02456 
02457 
02458 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Path(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
02459   jlong jresult = 0 ;
02460   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02461   std::string *arg2 = 0 ;
02462   Arc::XMLNodeList result;
02463   
02464   (void)jenv;
02465   (void)jcls;
02466   (void)jarg1_;
02467   arg1 = *(Arc::XMLNode **)&jarg1; 
02468   if(!jarg2) {
02469     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
02470     return 0;
02471   }
02472   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
02473   if (!arg2_pstr) return 0;
02474   std::string arg2_str(arg2_pstr);
02475   arg2 = &arg2_str;
02476   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
02477   result = (arg1)->Path((std::string const &)*arg2);
02478   *(Arc::XMLNodeList **)&jresult = new Arc::XMLNodeList((const Arc::XMLNodeList &)result); 
02479   return jresult;
02480 }
02481 
02482 
02483 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1XPathLookup(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
02484   jlong jresult = 0 ;
02485   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02486   std::string *arg2 = 0 ;
02487   Arc::NS *arg3 = 0 ;
02488   Arc::XMLNodeList result;
02489   
02490   (void)jenv;
02491   (void)jcls;
02492   (void)jarg1_;
02493   (void)jarg3_;
02494   arg1 = *(Arc::XMLNode **)&jarg1; 
02495   if(!jarg2) {
02496     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
02497     return 0;
02498   }
02499   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
02500   if (!arg2_pstr) return 0;
02501   std::string arg2_str(arg2_pstr);
02502   arg2 = &arg2_str;
02503   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
02504   arg3 = *(Arc::NS **)&jarg3;
02505   if(!arg3) {
02506     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::NS const & reference is null");
02507     return 0;
02508   } 
02509   result = (arg1)->XPathLookup((std::string const &)*arg2,(Arc::NS const &)*arg3);
02510   *(Arc::XMLNodeList **)&jresult = new Arc::XMLNodeList((const Arc::XMLNodeList &)result); 
02511   return jresult;
02512 }
02513 
02514 
02515 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1GetRoot(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02516   jlong jresult = 0 ;
02517   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02518   Arc::XMLNode result;
02519   
02520   (void)jenv;
02521   (void)jcls;
02522   (void)jarg1_;
02523   arg1 = *(Arc::XMLNode **)&jarg1; 
02524   result = (arg1)->GetRoot();
02525   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02526   return jresult;
02527 }
02528 
02529 
02530 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Parent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02531   jlong jresult = 0 ;
02532   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02533   Arc::XMLNode result;
02534   
02535   (void)jenv;
02536   (void)jcls;
02537   (void)jarg1_;
02538   arg1 = *(Arc::XMLNode **)&jarg1; 
02539   result = (arg1)->Parent();
02540   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
02541   return jresult;
02542 }
02543 
02544 
02545 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1SaveToFile(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
02546   jboolean jresult = 0 ;
02547   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02548   std::string *arg2 = 0 ;
02549   bool result;
02550   
02551   (void)jenv;
02552   (void)jcls;
02553   (void)jarg1_;
02554   arg1 = *(Arc::XMLNode **)&jarg1; 
02555   if(!jarg2) {
02556     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
02557     return 0;
02558   }
02559   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
02560   if (!arg2_pstr) return 0;
02561   std::string arg2_str(arg2_pstr);
02562   arg2 = &arg2_str;
02563   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
02564   result = (bool)((Arc::XMLNode const *)arg1)->SaveToFile((std::string const &)*arg2);
02565   jresult = (jboolean)result; 
02566   return jresult;
02567 }
02568 
02569 
02570 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1SaveToStream(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
02571   jboolean jresult = 0 ;
02572   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02573   std::ostream *arg2 = 0 ;
02574   bool result;
02575   
02576   (void)jenv;
02577   (void)jcls;
02578   (void)jarg1_;
02579   arg1 = *(Arc::XMLNode **)&jarg1; 
02580   arg2 = *(std::ostream **)&jarg2;
02581   if(!arg2) {
02582     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::ostream & reference is null");
02583     return 0;
02584   } 
02585   result = (bool)((Arc::XMLNode const *)arg1)->SaveToStream(*arg2);
02586   jresult = (jboolean)result; 
02587   return jresult;
02588 }
02589 
02590 
02591 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1ReadFromFile(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
02592   jboolean jresult = 0 ;
02593   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02594   std::string *arg2 = 0 ;
02595   bool result;
02596   
02597   (void)jenv;
02598   (void)jcls;
02599   (void)jarg1_;
02600   arg1 = *(Arc::XMLNode **)&jarg1; 
02601   if(!jarg2) {
02602     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
02603     return 0;
02604   }
02605   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
02606   if (!arg2_pstr) return 0;
02607   std::string arg2_str(arg2_pstr);
02608   arg2 = &arg2_str;
02609   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
02610   result = (bool)(arg1)->ReadFromFile((std::string const &)*arg2);
02611   jresult = (jboolean)result; 
02612   return jresult;
02613 }
02614 
02615 
02616 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1ReadFromStream(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
02617   jboolean jresult = 0 ;
02618   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02619   std::istream *arg2 = 0 ;
02620   bool result;
02621   
02622   (void)jenv;
02623   (void)jcls;
02624   (void)jarg1_;
02625   arg1 = *(Arc::XMLNode **)&jarg1; 
02626   arg2 = *(std::istream **)&jarg2;
02627   if(!arg2) {
02628     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::istream & reference is null");
02629     return 0;
02630   } 
02631   result = (bool)(arg1)->ReadFromStream(*arg2);
02632   jresult = (jboolean)result; 
02633   return jresult;
02634 }
02635 
02636 
02637 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_XMLNode_1Validate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3) {
02638   jboolean jresult = 0 ;
02639   Arc::XMLNode *arg1 = (Arc::XMLNode *) 0 ;
02640   std::string *arg2 = 0 ;
02641   std::string *arg3 = 0 ;
02642   bool result;
02643   
02644   (void)jenv;
02645   (void)jcls;
02646   (void)jarg1_;
02647   arg1 = *(Arc::XMLNode **)&jarg1; 
02648   if(!jarg2) {
02649     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
02650     return 0;
02651   }
02652   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
02653   if (!arg2_pstr) return 0;
02654   std::string arg2_str(arg2_pstr);
02655   arg2 = &arg2_str;
02656   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
02657   arg3 = *(std::string **)&jarg3;
02658   if(!arg3) {
02659     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::string & reference is null");
02660     return 0;
02661   } 
02662   result = (bool)(arg1)->Validate((std::string const &)*arg2,*arg3);
02663   jresult = (jboolean)result; 
02664   return jresult;
02665 }
02666 
02667 
02668 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1XMLNodeContainer_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
02669   jlong jresult = 0 ;
02670   Arc::XMLNodeContainer *result = 0 ;
02671   
02672   (void)jenv;
02673   (void)jcls;
02674   result = (Arc::XMLNodeContainer *)new Arc::XMLNodeContainer();
02675   *(Arc::XMLNodeContainer **)&jresult = result; 
02676   return jresult;
02677 }
02678 
02679 
02680 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1XMLNodeContainer_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02681   jlong jresult = 0 ;
02682   Arc::XMLNodeContainer *arg1 = 0 ;
02683   Arc::XMLNodeContainer *result = 0 ;
02684   
02685   (void)jenv;
02686   (void)jcls;
02687   (void)jarg1_;
02688   arg1 = *(Arc::XMLNodeContainer **)&jarg1;
02689   if(!arg1) {
02690     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNodeContainer const & reference is null");
02691     return 0;
02692   } 
02693   result = (Arc::XMLNodeContainer *)new Arc::XMLNodeContainer((Arc::XMLNodeContainer const &)*arg1);
02694   *(Arc::XMLNodeContainer **)&jresult = result; 
02695   return jresult;
02696 }
02697 
02698 
02699 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1XMLNodeContainer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
02700   Arc::XMLNodeContainer *arg1 = (Arc::XMLNodeContainer *) 0 ;
02701   
02702   (void)jenv;
02703   (void)jcls;
02704   arg1 = *(Arc::XMLNodeContainer **)&jarg1; 
02705   delete arg1;
02706 }
02707 
02708 
02709 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNodeContainer_1Add_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
02710   Arc::XMLNodeContainer *arg1 = (Arc::XMLNodeContainer *) 0 ;
02711   Arc::XMLNode *arg2 = 0 ;
02712   
02713   (void)jenv;
02714   (void)jcls;
02715   (void)jarg1_;
02716   (void)jarg2_;
02717   arg1 = *(Arc::XMLNodeContainer **)&jarg1; 
02718   arg2 = *(Arc::XMLNode **)&jarg2;
02719   if(!arg2) {
02720     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode const & reference is null");
02721     return ;
02722   } 
02723   (arg1)->Add((Arc::XMLNode const &)*arg2);
02724 }
02725 
02726 
02727 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNodeContainer_1Add_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
02728   Arc::XMLNodeContainer *arg1 = (Arc::XMLNodeContainer *) 0 ;
02729   std::list< Arc::XMLNode > *arg2 = 0 ;
02730   
02731   (void)jenv;
02732   (void)jcls;
02733   (void)jarg1_;
02734   (void)jarg2_;
02735   arg1 = *(Arc::XMLNodeContainer **)&jarg1; 
02736   arg2 = *(std::list< Arc::XMLNode > **)&jarg2;
02737   if(!arg2) {
02738     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::list< Arc::XMLNode > const & reference is null");
02739     return ;
02740   } 
02741   (arg1)->Add((std::list< Arc::XMLNode > const &)*arg2);
02742 }
02743 
02744 
02745 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNodeContainer_1AddNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
02746   Arc::XMLNodeContainer *arg1 = (Arc::XMLNodeContainer *) 0 ;
02747   Arc::XMLNode *arg2 = 0 ;
02748   
02749   (void)jenv;
02750   (void)jcls;
02751   (void)jarg1_;
02752   (void)jarg2_;
02753   arg1 = *(Arc::XMLNodeContainer **)&jarg1; 
02754   arg2 = *(Arc::XMLNode **)&jarg2;
02755   if(!arg2) {
02756     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode const & reference is null");
02757     return ;
02758   } 
02759   (arg1)->AddNew((Arc::XMLNode const &)*arg2);
02760 }
02761 
02762 
02763 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_XMLNodeContainer_1AddNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
02764   Arc::XMLNodeContainer *arg1 = (Arc::XMLNodeContainer *) 0 ;
02765   std::list< Arc::XMLNode > *arg2 = 0 ;
02766   
02767   (void)jenv;
02768   (void)jcls;
02769   (void)jarg1_;
02770   (void)jarg2_;
02771   arg1 = *(Arc::XMLNodeContainer **)&jarg1; 
02772   arg2 = *(std::list< Arc::XMLNode > **)&jarg2;
02773   if(!arg2) {
02774     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::list< Arc::XMLNode > const & reference is null");
02775     return ;
02776   } 
02777   (arg1)->AddNew((std::list< Arc::XMLNode > const &)*arg2);
02778 }
02779 
02780 
02781 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_XMLNodeContainer_1Size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02782   jint jresult = 0 ;
02783   Arc::XMLNodeContainer *arg1 = (Arc::XMLNodeContainer *) 0 ;
02784   int result;
02785   
02786   (void)jenv;
02787   (void)jcls;
02788   (void)jarg1_;
02789   arg1 = *(Arc::XMLNodeContainer **)&jarg1; 
02790   result = (int)((Arc::XMLNodeContainer const *)arg1)->Size();
02791   jresult = (jint)result; 
02792   return jresult;
02793 }
02794 
02795 
02796 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_XMLNodeContainer_1Nodes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02797   jlong jresult = 0 ;
02798   Arc::XMLNodeContainer *arg1 = (Arc::XMLNodeContainer *) 0 ;
02799   std::list< Arc::XMLNode > result;
02800   
02801   (void)jenv;
02802   (void)jcls;
02803   (void)jarg1_;
02804   arg1 = *(Arc::XMLNodeContainer **)&jarg1; 
02805   result = (arg1)->Nodes();
02806   *(std::list< Arc::XMLNode > **)&jresult = new std::list< Arc::XMLNode >((const std::list< Arc::XMLNode > &)result); 
02807   return jresult;
02808 }
02809 
02810 
02811 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Config_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
02812   jlong jresult = 0 ;
02813   Arc::Config *result = 0 ;
02814   
02815   (void)jenv;
02816   (void)jcls;
02817   result = (Arc::Config *)new Arc::Config();
02818   *(Arc::Config **)&jresult = result; 
02819   return jresult;
02820 }
02821 
02822 
02823 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Config_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02824   jlong jresult = 0 ;
02825   Arc::NS *arg1 = 0 ;
02826   Arc::Config *result = 0 ;
02827   
02828   (void)jenv;
02829   (void)jcls;
02830   (void)jarg1_;
02831   arg1 = *(Arc::NS **)&jarg1;
02832   if(!arg1) {
02833     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::NS const & reference is null");
02834     return 0;
02835   } 
02836   result = (Arc::Config *)new Arc::Config((Arc::NS const &)*arg1);
02837   *(Arc::Config **)&jresult = result; 
02838   return jresult;
02839 }
02840 
02841 
02842 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Config_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jstring jarg1) {
02843   jlong jresult = 0 ;
02844   std::string *arg1 = 0 ;
02845   Arc::Config *result = 0 ;
02846   
02847   (void)jenv;
02848   (void)jcls;
02849   if(!jarg1) {
02850     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
02851     return 0;
02852   }
02853   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
02854   if (!arg1_pstr) return 0;
02855   std::string arg1_str(arg1_pstr);
02856   arg1 = &arg1_str;
02857   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
02858   result = (Arc::Config *)new Arc::Config((std::string const &)*arg1);
02859   *(Arc::Config **)&jresult = result; 
02860   return jresult;
02861 }
02862 
02863 
02864 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Config_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02865   jlong jresult = 0 ;
02866   Arc::XMLNode arg1 ;
02867   Arc::XMLNode *argp1 ;
02868   Arc::Config *result = 0 ;
02869   
02870   (void)jenv;
02871   (void)jcls;
02872   (void)jarg1_;
02873   argp1 = *(Arc::XMLNode **)&jarg1; 
02874   if (!argp1) {
02875     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::XMLNode");
02876     return 0;
02877   }
02878   arg1 = *argp1; 
02879   result = (Arc::Config *)new Arc::Config(arg1);
02880   *(Arc::Config **)&jresult = result; 
02881   return jresult;
02882 }
02883 
02884 
02885 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Config_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
02886   jlong jresult = 0 ;
02887   Arc::XMLNode arg1 ;
02888   std::string *arg2 = 0 ;
02889   Arc::XMLNode *argp1 ;
02890   Arc::Config *result = 0 ;
02891   
02892   (void)jenv;
02893   (void)jcls;
02894   (void)jarg1_;
02895   argp1 = *(Arc::XMLNode **)&jarg1; 
02896   if (!argp1) {
02897     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::XMLNode");
02898     return 0;
02899   }
02900   arg1 = *argp1; 
02901   if(!jarg2) {
02902     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
02903     return 0;
02904   }
02905   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
02906   if (!arg2_pstr) return 0;
02907   std::string arg2_str(arg2_pstr);
02908   arg2 = &arg2_str;
02909   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
02910   result = (Arc::Config *)new Arc::Config(arg1,(std::string const &)*arg2);
02911   *(Arc::Config **)&jresult = result; 
02912   return jresult;
02913 }
02914 
02915 
02916 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1Config(JNIEnv *jenv, jclass jcls, jlong jarg1) {
02917   Arc::Config *arg1 = (Arc::Config *) 0 ;
02918   
02919   (void)jenv;
02920   (void)jcls;
02921   arg1 = *(Arc::Config **)&jarg1; 
02922   delete arg1;
02923 }
02924 
02925 
02926 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Config_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jint jarg1) {
02927   jlong jresult = 0 ;
02928   long arg1 ;
02929   Arc::Config *result = 0 ;
02930   
02931   (void)jenv;
02932   (void)jcls;
02933   arg1 = (long)jarg1; 
02934   result = (Arc::Config *)new Arc::Config(arg1);
02935   *(Arc::Config **)&jresult = result; 
02936   return jresult;
02937 }
02938 
02939 
02940 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Config_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02941   jlong jresult = 0 ;
02942   Arc::Config *arg1 = 0 ;
02943   Arc::Config *result = 0 ;
02944   
02945   (void)jenv;
02946   (void)jcls;
02947   (void)jarg1_;
02948   arg1 = *(Arc::Config **)&jarg1;
02949   if(!arg1) {
02950     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::Config const & reference is null");
02951     return 0;
02952   } 
02953   result = (Arc::Config *)new Arc::Config((Arc::Config const &)*arg1);
02954   *(Arc::Config **)&jresult = result; 
02955   return jresult;
02956 }
02957 
02958 
02959 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Config_1_1print(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02960   Arc::Config *arg1 = (Arc::Config *) 0 ;
02961   
02962   (void)jenv;
02963   (void)jcls;
02964   (void)jarg1_;
02965   arg1 = *(Arc::Config **)&jarg1; 
02966   (arg1)->print();
02967 }
02968 
02969 
02970 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Config_1parse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
02971   Arc::Config *arg1 = (Arc::Config *) 0 ;
02972   char *arg2 = (char *) 0 ;
02973   
02974   (void)jenv;
02975   (void)jcls;
02976   (void)jarg1_;
02977   arg1 = *(Arc::Config **)&jarg1; 
02978   arg2 = 0;
02979   if (jarg2) {
02980     arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
02981     if (!arg2) return ;
02982   }
02983   (arg1)->parse((char const *)arg2);
02984   if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
02985 }
02986 
02987 
02988 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_Config_1getFileName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
02989   jstring jresult = 0 ;
02990   Arc::Config *arg1 = (Arc::Config *) 0 ;
02991   std::string *result = 0 ;
02992   
02993   (void)jenv;
02994   (void)jcls;
02995   (void)jarg1_;
02996   arg1 = *(Arc::Config **)&jarg1; 
02997   {
02998     std::string const &_result_ref = ((Arc::Config const *)arg1)->getFileName();
02999     result = (std::string *) &_result_ref;
03000   }
03001   jresult = jenv->NewStringUTF(result->c_str()); 
03002   return jresult;
03003 }
03004 
03005 
03006 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Config_1setFileName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03007   Arc::Config *arg1 = (Arc::Config *) 0 ;
03008   std::string *arg2 = 0 ;
03009   
03010   (void)jenv;
03011   (void)jcls;
03012   (void)jarg1_;
03013   arg1 = *(Arc::Config **)&jarg1; 
03014   if(!jarg2) {
03015     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03016     return ;
03017   }
03018   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03019   if (!arg2_pstr) return ;
03020   std::string arg2_str(arg2_pstr);
03021   arg2 = &arg2_str;
03022   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03023   (arg1)->setFileName((std::string const &)*arg2);
03024 }
03025 
03026 
03027 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Config_1save(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03028   Arc::Config *arg1 = (Arc::Config *) 0 ;
03029   char *arg2 = (char *) 0 ;
03030   
03031   (void)jenv;
03032   (void)jcls;
03033   (void)jarg1_;
03034   arg1 = *(Arc::Config **)&jarg1; 
03035   arg2 = 0;
03036   if (jarg2) {
03037     arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
03038     if (!arg2) return ;
03039   }
03040   (arg1)->save((char const *)arg2);
03041   if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
03042 }
03043 
03044 
03045 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1key_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03046   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03047   std::string *arg2 = 0 ;
03048   
03049   (void)jenv;
03050   (void)jcls;
03051   (void)jarg1_;
03052   arg1 = *(Arc::BaseConfig **)&jarg1; 
03053   if(!jarg2) {
03054     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03055     return ;
03056   }
03057   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03058   if (!arg2_pstr) return ;
03059   std::string arg2_str(arg2_pstr);
03060   arg2 = &arg2_str;
03061   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03062   if (arg1) (arg1)->key = *arg2;
03063 }
03064 
03065 
03066 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1key_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
03067   jstring jresult = 0 ;
03068   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03069   std::string *result = 0 ;
03070   
03071   (void)jenv;
03072   (void)jcls;
03073   (void)jarg1_;
03074   arg1 = *(Arc::BaseConfig **)&jarg1; 
03075   {
03076     std::string const &_result_ref =  ((arg1)->key);
03077     result = (std::string *) &_result_ref;
03078   }
03079   jresult = jenv->NewStringUTF(result->c_str()); 
03080   return jresult;
03081 }
03082 
03083 
03084 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1cert_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03085   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03086   std::string *arg2 = 0 ;
03087   
03088   (void)jenv;
03089   (void)jcls;
03090   (void)jarg1_;
03091   arg1 = *(Arc::BaseConfig **)&jarg1; 
03092   if(!jarg2) {
03093     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03094     return ;
03095   }
03096   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03097   if (!arg2_pstr) return ;
03098   std::string arg2_str(arg2_pstr);
03099   arg2 = &arg2_str;
03100   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03101   if (arg1) (arg1)->cert = *arg2;
03102 }
03103 
03104 
03105 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1cert_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
03106   jstring jresult = 0 ;
03107   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03108   std::string *result = 0 ;
03109   
03110   (void)jenv;
03111   (void)jcls;
03112   (void)jarg1_;
03113   arg1 = *(Arc::BaseConfig **)&jarg1; 
03114   {
03115     std::string const &_result_ref =  ((arg1)->cert);
03116     result = (std::string *) &_result_ref;
03117   }
03118   jresult = jenv->NewStringUTF(result->c_str()); 
03119   return jresult;
03120 }
03121 
03122 
03123 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1proxy_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03124   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03125   std::string *arg2 = 0 ;
03126   
03127   (void)jenv;
03128   (void)jcls;
03129   (void)jarg1_;
03130   arg1 = *(Arc::BaseConfig **)&jarg1; 
03131   if(!jarg2) {
03132     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03133     return ;
03134   }
03135   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03136   if (!arg2_pstr) return ;
03137   std::string arg2_str(arg2_pstr);
03138   arg2 = &arg2_str;
03139   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03140   if (arg1) (arg1)->proxy = *arg2;
03141 }
03142 
03143 
03144 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1proxy_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
03145   jstring jresult = 0 ;
03146   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03147   std::string *result = 0 ;
03148   
03149   (void)jenv;
03150   (void)jcls;
03151   (void)jarg1_;
03152   arg1 = *(Arc::BaseConfig **)&jarg1; 
03153   {
03154     std::string const &_result_ref =  ((arg1)->proxy);
03155     result = (std::string *) &_result_ref;
03156   }
03157   jresult = jenv->NewStringUTF(result->c_str()); 
03158   return jresult;
03159 }
03160 
03161 
03162 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1cafile_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03163   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03164   std::string *arg2 = 0 ;
03165   
03166   (void)jenv;
03167   (void)jcls;
03168   (void)jarg1_;
03169   arg1 = *(Arc::BaseConfig **)&jarg1; 
03170   if(!jarg2) {
03171     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03172     return ;
03173   }
03174   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03175   if (!arg2_pstr) return ;
03176   std::string arg2_str(arg2_pstr);
03177   arg2 = &arg2_str;
03178   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03179   if (arg1) (arg1)->cafile = *arg2;
03180 }
03181 
03182 
03183 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1cafile_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
03184   jstring jresult = 0 ;
03185   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03186   std::string *result = 0 ;
03187   
03188   (void)jenv;
03189   (void)jcls;
03190   (void)jarg1_;
03191   arg1 = *(Arc::BaseConfig **)&jarg1; 
03192   {
03193     std::string const &_result_ref =  ((arg1)->cafile);
03194     result = (std::string *) &_result_ref;
03195   }
03196   jresult = jenv->NewStringUTF(result->c_str()); 
03197   return jresult;
03198 }
03199 
03200 
03201 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1cadir_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03202   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03203   std::string *arg2 = 0 ;
03204   
03205   (void)jenv;
03206   (void)jcls;
03207   (void)jarg1_;
03208   arg1 = *(Arc::BaseConfig **)&jarg1; 
03209   if(!jarg2) {
03210     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03211     return ;
03212   }
03213   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03214   if (!arg2_pstr) return ;
03215   std::string arg2_str(arg2_pstr);
03216   arg2 = &arg2_str;
03217   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03218   if (arg1) (arg1)->cadir = *arg2;
03219 }
03220 
03221 
03222 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1cadir_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
03223   jstring jresult = 0 ;
03224   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03225   std::string *result = 0 ;
03226   
03227   (void)jenv;
03228   (void)jcls;
03229   (void)jarg1_;
03230   arg1 = *(Arc::BaseConfig **)&jarg1; 
03231   {
03232     std::string const &_result_ref =  ((arg1)->cadir);
03233     result = (std::string *) &_result_ref;
03234   }
03235   jresult = jenv->NewStringUTF(result->c_str()); 
03236   return jresult;
03237 }
03238 
03239 
03240 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1overlay_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
03241   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03242   Arc::XMLNode *arg2 = (Arc::XMLNode *) 0 ;
03243   
03244   (void)jenv;
03245   (void)jcls;
03246   (void)jarg1_;
03247   (void)jarg2_;
03248   arg1 = *(Arc::BaseConfig **)&jarg1; 
03249   arg2 = *(Arc::XMLNode **)&jarg2; 
03250   if (arg1) (arg1)->overlay = *arg2;
03251 }
03252 
03253 
03254 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1overlay_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
03255   jlong jresult = 0 ;
03256   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03257   Arc::XMLNode *result = 0 ;
03258   
03259   (void)jenv;
03260   (void)jcls;
03261   (void)jarg1_;
03262   arg1 = *(Arc::BaseConfig **)&jarg1; 
03263   result = (Arc::XMLNode *)& ((arg1)->overlay);
03264   *(Arc::XMLNode **)&jresult = result; 
03265   return jresult;
03266 }
03267 
03268 
03269 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1BaseConfig(JNIEnv *jenv, jclass jcls) {
03270   jlong jresult = 0 ;
03271   Arc::BaseConfig *result = 0 ;
03272   
03273   (void)jenv;
03274   (void)jcls;
03275   result = (Arc::BaseConfig *)new Arc::BaseConfig();
03276   *(Arc::BaseConfig **)&jresult = result; 
03277   return jresult;
03278 }
03279 
03280 
03281 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1BaseConfig(JNIEnv *jenv, jclass jcls, jlong jarg1) {
03282   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03283   
03284   (void)jenv;
03285   (void)jcls;
03286   arg1 = *(Arc::BaseConfig **)&jarg1; 
03287   delete arg1;
03288 }
03289 
03290 
03291 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1AddPluginsPath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03292   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03293   std::string *arg2 = 0 ;
03294   
03295   (void)jenv;
03296   (void)jcls;
03297   (void)jarg1_;
03298   arg1 = *(Arc::BaseConfig **)&jarg1; 
03299   if(!jarg2) {
03300     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03301     return ;
03302   }
03303   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03304   if (!arg2_pstr) return ;
03305   std::string arg2_str(arg2_pstr);
03306   arg2 = &arg2_str;
03307   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03308   (arg1)->AddPluginsPath((std::string const &)*arg2);
03309 }
03310 
03311 
03312 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1AddPrivateKey(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03313   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03314   std::string *arg2 = 0 ;
03315   
03316   (void)jenv;
03317   (void)jcls;
03318   (void)jarg1_;
03319   arg1 = *(Arc::BaseConfig **)&jarg1; 
03320   if(!jarg2) {
03321     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03322     return ;
03323   }
03324   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03325   if (!arg2_pstr) return ;
03326   std::string arg2_str(arg2_pstr);
03327   arg2 = &arg2_str;
03328   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03329   (arg1)->AddPrivateKey((std::string const &)*arg2);
03330 }
03331 
03332 
03333 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1AddCertificate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03334   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03335   std::string *arg2 = 0 ;
03336   
03337   (void)jenv;
03338   (void)jcls;
03339   (void)jarg1_;
03340   arg1 = *(Arc::BaseConfig **)&jarg1; 
03341   if(!jarg2) {
03342     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03343     return ;
03344   }
03345   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03346   if (!arg2_pstr) return ;
03347   std::string arg2_str(arg2_pstr);
03348   arg2 = &arg2_str;
03349   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03350   (arg1)->AddCertificate((std::string const &)*arg2);
03351 }
03352 
03353 
03354 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1AddProxy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03355   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03356   std::string *arg2 = 0 ;
03357   
03358   (void)jenv;
03359   (void)jcls;
03360   (void)jarg1_;
03361   arg1 = *(Arc::BaseConfig **)&jarg1; 
03362   if(!jarg2) {
03363     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03364     return ;
03365   }
03366   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03367   if (!arg2_pstr) return ;
03368   std::string arg2_str(arg2_pstr);
03369   arg2 = &arg2_str;
03370   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03371   (arg1)->AddProxy((std::string const &)*arg2);
03372 }
03373 
03374 
03375 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1AddCAFile(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03376   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03377   std::string *arg2 = 0 ;
03378   
03379   (void)jenv;
03380   (void)jcls;
03381   (void)jarg1_;
03382   arg1 = *(Arc::BaseConfig **)&jarg1; 
03383   if(!jarg2) {
03384     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03385     return ;
03386   }
03387   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03388   if (!arg2_pstr) return ;
03389   std::string arg2_str(arg2_pstr);
03390   arg2 = &arg2_str;
03391   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03392   (arg1)->AddCAFile((std::string const &)*arg2);
03393 }
03394 
03395 
03396 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1AddCADir(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03397   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03398   std::string *arg2 = 0 ;
03399   
03400   (void)jenv;
03401   (void)jcls;
03402   (void)jarg1_;
03403   arg1 = *(Arc::BaseConfig **)&jarg1; 
03404   if(!jarg2) {
03405     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03406     return ;
03407   }
03408   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03409   if (!arg2_pstr) return ;
03410   std::string arg2_str(arg2_pstr);
03411   arg2 = &arg2_str;
03412   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03413   (arg1)->AddCADir((std::string const &)*arg2);
03414 }
03415 
03416 
03417 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1AddOverlay(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
03418   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03419   Arc::XMLNode arg2 ;
03420   Arc::XMLNode *argp2 ;
03421   
03422   (void)jenv;
03423   (void)jcls;
03424   (void)jarg1_;
03425   (void)jarg2_;
03426   arg1 = *(Arc::BaseConfig **)&jarg1; 
03427   argp2 = *(Arc::XMLNode **)&jarg2; 
03428   if (!argp2) {
03429     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::XMLNode");
03430     return ;
03431   }
03432   arg2 = *argp2; 
03433   (arg1)->AddOverlay(arg2);
03434 }
03435 
03436 
03437 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1GetOverlay(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
03438   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03439   std::string arg2 ;
03440   
03441   (void)jenv;
03442   (void)jcls;
03443   (void)jarg1_;
03444   arg1 = *(Arc::BaseConfig **)&jarg1; 
03445   if(!jarg2) {
03446     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03447     return ;
03448   } 
03449   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
03450   if (!arg2_pstr) return ;
03451   (&arg2)->assign(arg2_pstr);
03452   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
03453   (arg1)->GetOverlay(arg2);
03454 }
03455 
03456 
03457 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_BaseConfig_1MakeConfig(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
03458   jlong jresult = 0 ;
03459   Arc::BaseConfig *arg1 = (Arc::BaseConfig *) 0 ;
03460   Arc::XMLNode arg2 ;
03461   Arc::XMLNode *argp2 ;
03462   Arc::XMLNode result;
03463   
03464   (void)jenv;
03465   (void)jcls;
03466   (void)jarg1_;
03467   (void)jarg2_;
03468   arg1 = *(Arc::BaseConfig **)&jarg1; 
03469   argp2 = *(Arc::XMLNode **)&jarg2; 
03470   if (!argp2) {
03471     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::XMLNode");
03472     return 0;
03473   }
03474   arg2 = *argp2; 
03475   result = ((Arc::BaseConfig const *)arg1)->MakeConfig(arg2);
03476   *(Arc::XMLNode **)&jresult = new Arc::XMLNode((const Arc::XMLNode &)result); 
03477   return jresult;
03478 }
03479 
03480 
03481 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_ArcLocation_1Init(JNIEnv *jenv, jclass jcls, jstring jarg1) {
03482   std::string arg1 ;
03483   
03484   (void)jenv;
03485   (void)jcls;
03486   if(!jarg1) {
03487     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03488     return ;
03489   } 
03490   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
03491   if (!arg1_pstr) return ;
03492   (&arg1)->assign(arg1_pstr);
03493   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
03494   Arc::ArcLocation::Init(arg1);
03495 }
03496 
03497 
03498 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_ArcLocation_1Get(JNIEnv *jenv, jclass jcls) {
03499   jstring jresult = 0 ;
03500   std::string *result = 0 ;
03501   
03502   (void)jenv;
03503   (void)jcls;
03504   {
03505     std::string const &_result_ref = Arc::ArcLocation::Get();
03506     result = (std::string *) &_result_ref;
03507   }
03508   jresult = jenv->NewStringUTF(result->c_str()); 
03509   return jresult;
03510 }
03511 
03512 
03513 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_ArcLocation_1GetPlugins(JNIEnv *jenv, jclass jcls) {
03514   jlong jresult = 0 ;
03515   std::list< std::string > result;
03516   
03517   (void)jenv;
03518   (void)jcls;
03519   result = Arc::ArcLocation::GetPlugins();
03520   *(std::list< std::string > **)&jresult = new std::list< std::string >((const std::list< std::string > &)result); 
03521   return jresult;
03522 }
03523 
03524 
03525 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1PrintFBase(JNIEnv *jenv, jclass jcls, jlong jarg1) {
03526   Arc::PrintFBase *arg1 = (Arc::PrintFBase *) 0 ;
03527   
03528   (void)jenv;
03529   (void)jcls;
03530   arg1 = *(Arc::PrintFBase **)&jarg1; 
03531   delete arg1;
03532 }
03533 
03534 
03535 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_PrintFBase_1msg(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
03536   Arc::PrintFBase *arg1 = (Arc::PrintFBase *) 0 ;
03537   std::ostream *arg2 = 0 ;
03538   
03539   (void)jenv;
03540   (void)jcls;
03541   (void)jarg1_;
03542   arg1 = *(Arc::PrintFBase **)&jarg1; 
03543   arg2 = *(std::ostream **)&jarg2;
03544   if(!arg2) {
03545     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::ostream & reference is null");
03546     return ;
03547   } 
03548   (arg1)->msg(*arg2);
03549 }
03550 
03551 
03552 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_PrintFBase_1Retain(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
03553   Arc::PrintFBase *arg1 = (Arc::PrintFBase *) 0 ;
03554   
03555   (void)jenv;
03556   (void)jcls;
03557   (void)jarg1_;
03558   arg1 = *(Arc::PrintFBase **)&jarg1; 
03559   (arg1)->Retain();
03560 }
03561 
03562 
03563 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_PrintFBase_1Release(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
03564   jboolean jresult = 0 ;
03565   Arc::PrintFBase *arg1 = (Arc::PrintFBase *) 0 ;
03566   bool result;
03567   
03568   (void)jenv;
03569   (void)jcls;
03570   (void)jarg1_;
03571   arg1 = *(Arc::PrintFBase **)&jarg1; 
03572   result = (bool)(arg1)->Release();
03573   jresult = (jboolean)result; 
03574   return jresult;
03575 }
03576 
03577 
03578 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_FindTrans(JNIEnv *jenv, jclass jcls, jstring jarg1) {
03579   jstring jresult = 0 ;
03580   char *arg1 = (char *) 0 ;
03581   char *result = 0 ;
03582   
03583   (void)jenv;
03584   (void)jcls;
03585   arg1 = 0;
03586   if (jarg1) {
03587     arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
03588     if (!arg1) return 0;
03589   }
03590   result = (char *)Arc::FindTrans((char const *)arg1);
03591   if(result) jresult = jenv->NewStringUTF((const char *)result);
03592   if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
03593   return jresult;
03594 }
03595 
03596 
03597 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_FindNTrans(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jlong jarg3) {
03598   jstring jresult = 0 ;
03599   char *arg1 = (char *) 0 ;
03600   char *arg2 = (char *) 0 ;
03601   unsigned long arg3 ;
03602   char *result = 0 ;
03603   
03604   (void)jenv;
03605   (void)jcls;
03606   arg1 = 0;
03607   if (jarg1) {
03608     arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
03609     if (!arg1) return 0;
03610   }
03611   arg2 = 0;
03612   if (jarg2) {
03613     arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
03614     if (!arg2) return 0;
03615   }
03616   arg3 = (unsigned long)jarg3; 
03617   result = (char *)Arc::FindNTrans((char const *)arg1,(char const *)arg2,arg3);
03618   if(result) jresult = jenv->NewStringUTF((const char *)result);
03619   if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
03620   if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
03621   return jresult;
03622 }
03623 
03624 
03625 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1IString_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1) {
03626   jlong jresult = 0 ;
03627   std::string *arg1 = 0 ;
03628   Arc::IString *result = 0 ;
03629   
03630   (void)jenv;
03631   (void)jcls;
03632   if(!jarg1) {
03633     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03634     return 0;
03635   }
03636   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
03637   if (!arg1_pstr) return 0;
03638   std::string arg1_str(arg1_pstr);
03639   arg1 = &arg1_str;
03640   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
03641   result = (Arc::IString *)new Arc::IString((std::string const &)*arg1);
03642   *(Arc::IString **)&jresult = result; 
03643   return jresult;
03644 }
03645 
03646 
03647 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1IString(JNIEnv *jenv, jclass jcls, jlong jarg1) {
03648   Arc::IString *arg1 = (Arc::IString *) 0 ;
03649   
03650   (void)jenv;
03651   (void)jcls;
03652   arg1 = *(Arc::IString **)&jarg1; 
03653   delete arg1;
03654 }
03655 
03656 
03657 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1IString_1_1SWIG_19(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
03658   jlong jresult = 0 ;
03659   Arc::IString *arg1 = 0 ;
03660   Arc::IString *result = 0 ;
03661   
03662   (void)jenv;
03663   (void)jcls;
03664   (void)jarg1_;
03665   arg1 = *(Arc::IString **)&jarg1;
03666   if(!arg1) {
03667     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::IString const & reference is null");
03668     return 0;
03669   } 
03670   result = (Arc::IString *)new Arc::IString((Arc::IString const &)*arg1);
03671   *(Arc::IString **)&jresult = result; 
03672   return jresult;
03673 }
03674 
03675 
03676 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_DEBUG_1get(JNIEnv *jenv, jclass jcls) {
03677   jint jresult = 0 ;
03678   Arc::LogLevel result;
03679   
03680   (void)jenv;
03681   (void)jcls;
03682   result = (Arc::LogLevel)Arc::DEBUG;
03683   jresult = (jint)result; 
03684   return jresult;
03685 }
03686 
03687 
03688 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_VERBOSE_1get(JNIEnv *jenv, jclass jcls) {
03689   jint jresult = 0 ;
03690   Arc::LogLevel result;
03691   
03692   (void)jenv;
03693   (void)jcls;
03694   result = (Arc::LogLevel)Arc::VERBOSE;
03695   jresult = (jint)result; 
03696   return jresult;
03697 }
03698 
03699 
03700 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_INFO_1get(JNIEnv *jenv, jclass jcls) {
03701   jint jresult = 0 ;
03702   Arc::LogLevel result;
03703   
03704   (void)jenv;
03705   (void)jcls;
03706   result = (Arc::LogLevel)Arc::INFO;
03707   jresult = (jint)result; 
03708   return jresult;
03709 }
03710 
03711 
03712 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_WARNING_1get(JNIEnv *jenv, jclass jcls) {
03713   jint jresult = 0 ;
03714   Arc::LogLevel result;
03715   
03716   (void)jenv;
03717   (void)jcls;
03718   result = (Arc::LogLevel)Arc::WARNING;
03719   jresult = (jint)result; 
03720   return jresult;
03721 }
03722 
03723 
03724 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_ERROR_1get(JNIEnv *jenv, jclass jcls) {
03725   jint jresult = 0 ;
03726   Arc::LogLevel result;
03727   
03728   (void)jenv;
03729   (void)jcls;
03730   result = (Arc::LogLevel)Arc::ERROR;
03731   jresult = (jint)result; 
03732   return jresult;
03733 }
03734 
03735 
03736 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_FATAL_1get(JNIEnv *jenv, jclass jcls) {
03737   jint jresult = 0 ;
03738   Arc::LogLevel result;
03739   
03740   (void)jenv;
03741   (void)jcls;
03742   result = (Arc::LogLevel)Arc::FATAL;
03743   jresult = (jint)result; 
03744   return jresult;
03745 }
03746 
03747 
03748 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1LoggerFormat(JNIEnv *jenv, jclass jcls, jint jarg1) {
03749   jlong jresult = 0 ;
03750   Arc::LogFormat arg1 ;
03751   Arc::LoggerFormat *result = 0 ;
03752   
03753   (void)jenv;
03754   (void)jcls;
03755   arg1 = (Arc::LogFormat)jarg1; 
03756   result = (Arc::LoggerFormat *)new Arc::LoggerFormat(arg1);
03757   *(Arc::LoggerFormat **)&jresult = result; 
03758   return jresult;
03759 }
03760 
03761 
03762 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_LoggerFormat_1format_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
03763   Arc::LoggerFormat *arg1 = (Arc::LoggerFormat *) 0 ;
03764   Arc::LogFormat arg2 ;
03765   
03766   (void)jenv;
03767   (void)jcls;
03768   (void)jarg1_;
03769   arg1 = *(Arc::LoggerFormat **)&jarg1; 
03770   arg2 = (Arc::LogFormat)jarg2; 
03771   if (arg1) (arg1)->format = arg2;
03772 }
03773 
03774 
03775 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_LoggerFormat_1format_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
03776   jint jresult = 0 ;
03777   Arc::LoggerFormat *arg1 = (Arc::LoggerFormat *) 0 ;
03778   Arc::LogFormat result;
03779   
03780   (void)jenv;
03781   (void)jcls;
03782   (void)jarg1_;
03783   arg1 = *(Arc::LoggerFormat **)&jarg1; 
03784   result = (Arc::LogFormat) ((arg1)->format);
03785   jresult = (jint)result; 
03786   return jresult;
03787 }
03788 
03789 
03790 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_string_1to_1level_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1) {
03791   jint jresult = 0 ;
03792   std::string *arg1 = 0 ;
03793   Arc::LogLevel result;
03794   
03795   (void)jenv;
03796   (void)jcls;
03797   if(!jarg1) {
03798     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03799     return 0;
03800   }
03801   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
03802   if (!arg1_pstr) return 0;
03803   std::string arg1_str(arg1_pstr);
03804   arg1 = &arg1_str;
03805   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
03806   result = (Arc::LogLevel)Arc::string_to_level((std::string const &)*arg1);
03807   jresult = (jint)result; 
03808   return jresult;
03809 }
03810 
03811 
03812 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_istring_1to_1level(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2) {
03813   jboolean jresult = 0 ;
03814   std::string *arg1 = 0 ;
03815   Arc::LogLevel *arg2 = 0 ;
03816   bool result;
03817   
03818   (void)jenv;
03819   (void)jcls;
03820   if(!jarg1) {
03821     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03822     return 0;
03823   }
03824   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
03825   if (!arg1_pstr) return 0;
03826   std::string arg1_str(arg1_pstr);
03827   arg1 = &arg1_str;
03828   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
03829   arg2 = *(Arc::LogLevel **)&jarg2;
03830   if(!arg2) {
03831     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::LogLevel & reference is null");
03832     return 0;
03833   } 
03834   result = (bool)Arc::istring_to_level((std::string const &)*arg1,*arg2);
03835   jresult = (jboolean)result; 
03836   return jresult;
03837 }
03838 
03839 
03840 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_string_1to_1level_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2) {
03841   jboolean jresult = 0 ;
03842   std::string *arg1 = 0 ;
03843   Arc::LogLevel *arg2 = 0 ;
03844   bool result;
03845   
03846   (void)jenv;
03847   (void)jcls;
03848   if(!jarg1) {
03849     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03850     return 0;
03851   }
03852   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
03853   if (!arg1_pstr) return 0;
03854   std::string arg1_str(arg1_pstr);
03855   arg1 = &arg1_str;
03856   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
03857   arg2 = *(Arc::LogLevel **)&jarg2;
03858   if(!arg2) {
03859     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::LogLevel & reference is null");
03860     return 0;
03861   } 
03862   result = (bool)Arc::string_to_level((std::string const &)*arg1,*arg2);
03863   jresult = (jboolean)result; 
03864   return jresult;
03865 }
03866 
03867 
03868 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_level_1to_1string(JNIEnv *jenv, jclass jcls, jint jarg1) {
03869   jstring jresult = 0 ;
03870   Arc::LogLevel *arg1 = 0 ;
03871   Arc::LogLevel temp1 ;
03872   std::string result;
03873   
03874   (void)jenv;
03875   (void)jcls;
03876   temp1 = (Arc::LogLevel)jarg1; 
03877   arg1 = &temp1; 
03878   result = Arc::level_to_string((enum Arc::LogLevel const &)*arg1);
03879   jresult = jenv->NewStringUTF((&result)->c_str()); 
03880   return jresult;
03881 }
03882 
03883 
03884 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1LogMessage_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1, jlong jarg2, jobject jarg2_) {
03885   jlong jresult = 0 ;
03886   Arc::LogLevel arg1 ;
03887   Arc::IString *arg2 = 0 ;
03888   Arc::LogMessage *result = 0 ;
03889   
03890   (void)jenv;
03891   (void)jcls;
03892   (void)jarg2_;
03893   arg1 = (Arc::LogLevel)jarg1; 
03894   arg2 = *(Arc::IString **)&jarg2;
03895   if(!arg2) {
03896     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::IString const & reference is null");
03897     return 0;
03898   } 
03899   result = (Arc::LogMessage *)new Arc::LogMessage(arg1,(Arc::IString const &)*arg2);
03900   *(Arc::LogMessage **)&jresult = result; 
03901   return jresult;
03902 }
03903 
03904 
03905 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1LogMessage_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jint jarg1, jlong jarg2, jobject jarg2_, jstring jarg3) {
03906   jlong jresult = 0 ;
03907   Arc::LogLevel arg1 ;
03908   Arc::IString *arg2 = 0 ;
03909   std::string *arg3 = 0 ;
03910   Arc::LogMessage *result = 0 ;
03911   
03912   (void)jenv;
03913   (void)jcls;
03914   (void)jarg2_;
03915   arg1 = (Arc::LogLevel)jarg1; 
03916   arg2 = *(Arc::IString **)&jarg2;
03917   if(!arg2) {
03918     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::IString const & reference is null");
03919     return 0;
03920   } 
03921   if(!jarg3) {
03922     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
03923     return 0;
03924   }
03925   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
03926   if (!arg3_pstr) return 0;
03927   std::string arg3_str(arg3_pstr);
03928   arg3 = &arg3_str;
03929   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
03930   result = (Arc::LogMessage *)new Arc::LogMessage(arg1,(Arc::IString const &)*arg2,(std::string const &)*arg3);
03931   *(Arc::LogMessage **)&jresult = result; 
03932   return jresult;
03933 }
03934 
03935 
03936 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_LogMessage_1getLevel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
03937   jint jresult = 0 ;
03938   Arc::LogMessage *arg1 = (Arc::LogMessage *) 0 ;
03939   Arc::LogLevel result;
03940   
03941   (void)jenv;
03942   (void)jcls;
03943   (void)jarg1_;
03944   arg1 = *(Arc::LogMessage **)&jarg1; 
03945   result = (Arc::LogLevel)((Arc::LogMessage const *)arg1)->getLevel();
03946   jresult = (jint)result; 
03947   return jresult;
03948 }
03949 
03950 
03951 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_LogDestination_1log(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
03952   Arc::LogDestination *arg1 = (Arc::LogDestination *) 0 ;
03953   Arc::LogMessage *arg2 = 0 ;
03954   
03955   (void)jenv;
03956   (void)jcls;
03957   (void)jarg1_;
03958   (void)jarg2_;
03959   arg1 = *(Arc::LogDestination **)&jarg1; 
03960   arg2 = *(Arc::LogMessage **)&jarg2;
03961   if(!arg2) {
03962     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::LogMessage const & reference is null");
03963     return ;
03964   } 
03965   (arg1)->log((Arc::LogMessage const &)*arg2);
03966 }
03967 
03968 
03969 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1LogDestination(JNIEnv *jenv, jclass jcls, jlong jarg1) {
03970   Arc::LogDestination *arg1 = (Arc::LogDestination *) 0 ;
03971   
03972   (void)jenv;
03973   (void)jcls;
03974   arg1 = *(Arc::LogDestination **)&jarg1; 
03975   delete arg1;
03976 }
03977 
03978 
03979 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_LogDestination_1setFormat(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
03980   Arc::LogDestination *arg1 = (Arc::LogDestination *) 0 ;
03981   Arc::LogFormat *arg2 = 0 ;
03982   Arc::LogFormat temp2 ;
03983   
03984   (void)jenv;
03985   (void)jcls;
03986   (void)jarg1_;
03987   arg1 = *(Arc::LogDestination **)&jarg1; 
03988   temp2 = (Arc::LogFormat)jarg2; 
03989   arg2 = &temp2; 
03990   (arg1)->setFormat((Arc::LogFormat const &)*arg2);
03991 }
03992 
03993 
03994 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1LogStream_1ostream_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1) {
03995   jlong jresult = 0 ;
03996   std::ostream *arg1 = 0 ;
03997   Arc::LogStream *result = 0 ;
03998   
03999   (void)jenv;
04000   (void)jcls;
04001   arg1 = *(std::ostream **)&jarg1;
04002   if(!arg1) {
04003     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::ostream & reference is null");
04004     return 0;
04005   } 
04006   result = (Arc::LogStream *)new Arc::LogStream(*arg1);
04007   *(Arc::LogStream **)&jresult = result; 
04008   return jresult;
04009 }
04010 
04011 
04012 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1LogStream_1ostream_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
04013   jlong jresult = 0 ;
04014   std::ostream *arg1 = 0 ;
04015   std::string *arg2 = 0 ;
04016   Arc::LogStream *result = 0 ;
04017   
04018   (void)jenv;
04019   (void)jcls;
04020   arg1 = *(std::ostream **)&jarg1;
04021   if(!arg1) {
04022     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::ostream & reference is null");
04023     return 0;
04024   } 
04025   if(!jarg2) {
04026     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04027     return 0;
04028   }
04029   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
04030   if (!arg2_pstr) return 0;
04031   std::string arg2_str(arg2_pstr);
04032   arg2 = &arg2_str;
04033   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
04034   result = (Arc::LogStream *)new Arc::LogStream(*arg1,(std::string const &)*arg2);
04035   *(Arc::LogStream **)&jresult = result; 
04036   return jresult;
04037 }
04038 
04039 
04040 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_LogStream_1ostream_1log(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
04041   Arc::LogStream *arg1 = (Arc::LogStream *) 0 ;
04042   Arc::LogMessage *arg2 = 0 ;
04043   
04044   (void)jenv;
04045   (void)jcls;
04046   (void)jarg1_;
04047   (void)jarg2_;
04048   arg1 = *(Arc::LogStream **)&jarg1; 
04049   arg2 = *(Arc::LogMessage **)&jarg2;
04050   if(!arg2) {
04051     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::LogMessage const & reference is null");
04052     return ;
04053   } 
04054   (arg1)->log((Arc::LogMessage const &)*arg2);
04055 }
04056 
04057 
04058 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1LogFile_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1) {
04059   jlong jresult = 0 ;
04060   std::string *arg1 = 0 ;
04061   Arc::LogFile *result = 0 ;
04062   
04063   (void)jenv;
04064   (void)jcls;
04065   if(!jarg1) {
04066     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04067     return 0;
04068   }
04069   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
04070   if (!arg1_pstr) return 0;
04071   std::string arg1_str(arg1_pstr);
04072   arg1 = &arg1_str;
04073   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
04074   result = (Arc::LogFile *)new Arc::LogFile((std::string const &)*arg1);
04075   *(Arc::LogFile **)&jresult = result; 
04076   return jresult;
04077 }
04078 
04079 
04080 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1LogFile_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
04081   jlong jresult = 0 ;
04082   std::string *arg1 = 0 ;
04083   std::string *arg2 = 0 ;
04084   Arc::LogFile *result = 0 ;
04085   
04086   (void)jenv;
04087   (void)jcls;
04088   if(!jarg1) {
04089     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04090     return 0;
04091   }
04092   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
04093   if (!arg1_pstr) return 0;
04094   std::string arg1_str(arg1_pstr);
04095   arg1 = &arg1_str;
04096   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
04097   if(!jarg2) {
04098     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04099     return 0;
04100   }
04101   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
04102   if (!arg2_pstr) return 0;
04103   std::string arg2_str(arg2_pstr);
04104   arg2 = &arg2_str;
04105   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
04106   result = (Arc::LogFile *)new Arc::LogFile((std::string const &)*arg1,(std::string const &)*arg2);
04107   *(Arc::LogFile **)&jresult = result; 
04108   return jresult;
04109 }
04110 
04111 
04112 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_LogFile_1setMaxSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
04113   Arc::LogFile *arg1 = (Arc::LogFile *) 0 ;
04114   int arg2 ;
04115   
04116   (void)jenv;
04117   (void)jcls;
04118   (void)jarg1_;
04119   arg1 = *(Arc::LogFile **)&jarg1; 
04120   arg2 = (int)jarg2; 
04121   (arg1)->setMaxSize(arg2);
04122 }
04123 
04124 
04125 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_LogFile_1setBackups(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
04126   Arc::LogFile *arg1 = (Arc::LogFile *) 0 ;
04127   int arg2 ;
04128   
04129   (void)jenv;
04130   (void)jcls;
04131   (void)jarg1_;
04132   arg1 = *(Arc::LogFile **)&jarg1; 
04133   arg2 = (int)jarg2; 
04134   (arg1)->setBackups(arg2);
04135 }
04136 
04137 
04138 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_LogFile_1toBool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04139   jboolean jresult = 0 ;
04140   Arc::LogFile *arg1 = (Arc::LogFile *) 0 ;
04141   bool result;
04142   
04143   (void)jenv;
04144   (void)jcls;
04145   (void)jarg1_;
04146   arg1 = *(Arc::LogFile **)&jarg1; 
04147   result = (bool)(arg1)->operator bool();
04148   jresult = (jboolean)result; 
04149   return jresult;
04150 }
04151 
04152 
04153 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_LogFile_1log(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
04154   Arc::LogFile *arg1 = (Arc::LogFile *) 0 ;
04155   Arc::LogMessage *arg2 = 0 ;
04156   
04157   (void)jenv;
04158   (void)jcls;
04159   (void)jarg1_;
04160   (void)jarg2_;
04161   arg1 = *(Arc::LogFile **)&jarg1; 
04162   arg2 = *(Arc::LogMessage **)&jarg2;
04163   if(!arg2) {
04164     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::LogMessage const & reference is null");
04165     return ;
04166   } 
04167   (arg1)->log((Arc::LogMessage const &)*arg2);
04168 }
04169 
04170 
04171 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_Logger_1getRootLogger(JNIEnv *jenv, jclass jcls) {
04172   jlong jresult = 0 ;
04173   Arc::Logger *result = 0 ;
04174   
04175   (void)jenv;
04176   (void)jcls;
04177   {
04178     Arc::Logger &_result_ref = Arc::Logger::getRootLogger();
04179     result = (Arc::Logger *) &_result_ref;
04180   }
04181   *(Arc::Logger **)&jresult = result; 
04182   return jresult;
04183 }
04184 
04185 
04186 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Logger_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
04187   jlong jresult = 0 ;
04188   Arc::Logger *arg1 = 0 ;
04189   std::string *arg2 = 0 ;
04190   Arc::Logger *result = 0 ;
04191   
04192   (void)jenv;
04193   (void)jcls;
04194   (void)jarg1_;
04195   arg1 = *(Arc::Logger **)&jarg1;
04196   if(!arg1) {
04197     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::Logger & reference is null");
04198     return 0;
04199   } 
04200   if(!jarg2) {
04201     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04202     return 0;
04203   }
04204   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
04205   if (!arg2_pstr) return 0;
04206   std::string arg2_str(arg2_pstr);
04207   arg2 = &arg2_str;
04208   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
04209   result = (Arc::Logger *)new Arc::Logger(*arg1,(std::string const &)*arg2);
04210   *(Arc::Logger **)&jresult = result; 
04211   return jresult;
04212 }
04213 
04214 
04215 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Logger_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
04216   jlong jresult = 0 ;
04217   Arc::Logger *arg1 = 0 ;
04218   std::string *arg2 = 0 ;
04219   Arc::LogLevel arg3 ;
04220   Arc::Logger *result = 0 ;
04221   
04222   (void)jenv;
04223   (void)jcls;
04224   (void)jarg1_;
04225   arg1 = *(Arc::Logger **)&jarg1;
04226   if(!arg1) {
04227     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::Logger & reference is null");
04228     return 0;
04229   } 
04230   if(!jarg2) {
04231     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04232     return 0;
04233   }
04234   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
04235   if (!arg2_pstr) return 0;
04236   std::string arg2_str(arg2_pstr);
04237   arg2 = &arg2_str;
04238   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
04239   arg3 = (Arc::LogLevel)jarg3; 
04240   result = (Arc::Logger *)new Arc::Logger(*arg1,(std::string const &)*arg2,arg3);
04241   *(Arc::Logger **)&jresult = result; 
04242   return jresult;
04243 }
04244 
04245 
04246 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1Logger(JNIEnv *jenv, jclass jcls, jlong jarg1) {
04247   Arc::Logger *arg1 = (Arc::Logger *) 0 ;
04248   
04249   (void)jenv;
04250   (void)jcls;
04251   arg1 = *(Arc::Logger **)&jarg1; 
04252   delete arg1;
04253 }
04254 
04255 
04256 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Logger_1addDestination(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
04257   Arc::Logger *arg1 = (Arc::Logger *) 0 ;
04258   Arc::LogDestination *arg2 = 0 ;
04259   
04260   (void)jenv;
04261   (void)jcls;
04262   (void)jarg1_;
04263   (void)jarg2_;
04264   arg1 = *(Arc::Logger **)&jarg1; 
04265   arg2 = *(Arc::LogDestination **)&jarg2;
04266   if(!arg2) {
04267     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::LogDestination & reference is null");
04268     return ;
04269   } 
04270   (arg1)->addDestination(*arg2);
04271 }
04272 
04273 
04274 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Logger_1removeDestinations(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04275   Arc::Logger *arg1 = (Arc::Logger *) 0 ;
04276   
04277   (void)jenv;
04278   (void)jcls;
04279   (void)jarg1_;
04280   arg1 = *(Arc::Logger **)&jarg1; 
04281   (arg1)->removeDestinations();
04282 }
04283 
04284 
04285 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Logger_1setThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
04286   Arc::Logger *arg1 = (Arc::Logger *) 0 ;
04287   Arc::LogLevel arg2 ;
04288   
04289   (void)jenv;
04290   (void)jcls;
04291   (void)jarg1_;
04292   arg1 = *(Arc::Logger **)&jarg1; 
04293   arg2 = (Arc::LogLevel)jarg2; 
04294   (arg1)->setThreshold(arg2);
04295 }
04296 
04297 
04298 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_Logger_1getThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04299   jint jresult = 0 ;
04300   Arc::Logger *arg1 = (Arc::Logger *) 0 ;
04301   Arc::LogLevel result;
04302   
04303   (void)jenv;
04304   (void)jcls;
04305   (void)jarg1_;
04306   arg1 = *(Arc::Logger **)&jarg1; 
04307   result = (Arc::LogLevel)((Arc::Logger const *)arg1)->getThreshold();
04308   jresult = (jint)result; 
04309   return jresult;
04310 }
04311 
04312 
04313 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Logger_1msg_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
04314   Arc::Logger *arg1 = (Arc::Logger *) 0 ;
04315   SwigValueWrapper< Arc::LogMessage > arg2 ;
04316   Arc::LogMessage *argp2 ;
04317   
04318   (void)jenv;
04319   (void)jcls;
04320   (void)jarg1_;
04321   (void)jarg2_;
04322   arg1 = *(Arc::Logger **)&jarg1; 
04323   argp2 = *(Arc::LogMessage **)&jarg2; 
04324   if (!argp2) {
04325     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::LogMessage");
04326     return ;
04327   }
04328   arg2 = *argp2; 
04329   (arg1)->msg(arg2);
04330 }
04331 
04332 
04333 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Logger_1msg_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3) {
04334   Arc::Logger *arg1 = (Arc::Logger *) 0 ;
04335   Arc::LogLevel arg2 ;
04336   std::string *arg3 = 0 ;
04337   
04338   (void)jenv;
04339   (void)jcls;
04340   (void)jarg1_;
04341   arg1 = *(Arc::Logger **)&jarg1; 
04342   arg2 = (Arc::LogLevel)jarg2; 
04343   if(!jarg3) {
04344     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04345     return ;
04346   }
04347   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
04348   if (!arg3_pstr) return ;
04349   std::string arg3_str(arg3_pstr);
04350   arg3 = &arg3_str;
04351   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
04352   (arg1)->msg(arg2,(std::string const &)*arg3);
04353 }
04354 
04355 
04356 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Period_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
04357   jlong jresult = 0 ;
04358   Arc::Period *result = 0 ;
04359   
04360   (void)jenv;
04361   (void)jcls;
04362   result = (Arc::Period *)new Arc::Period();
04363   *(Arc::Period **)&jresult = result; 
04364   return jresult;
04365 }
04366 
04367 
04368 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Period_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
04369   jlong jresult = 0 ;
04370   time_t *arg1 = 0 ;
04371   Arc::Period *result = 0 ;
04372   
04373   (void)jenv;
04374   (void)jcls;
04375   arg1 = *(time_t **)&jarg1;
04376   if(!arg1) {
04377     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "time_t const & reference is null");
04378     return 0;
04379   } 
04380   result = (Arc::Period *)new Arc::Period((time_t const &)*arg1);
04381   *(Arc::Period **)&jresult = result; 
04382   return jresult;
04383 }
04384 
04385 
04386 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Period_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
04387   jlong jresult = 0 ;
04388   std::string *arg1 = 0 ;
04389   Arc::PeriodBase arg2 ;
04390   Arc::Period *result = 0 ;
04391   
04392   (void)jenv;
04393   (void)jcls;
04394   if(!jarg1) {
04395     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04396     return 0;
04397   }
04398   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
04399   if (!arg1_pstr) return 0;
04400   std::string arg1_str(arg1_pstr);
04401   arg1 = &arg1_str;
04402   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
04403   arg2 = (Arc::PeriodBase)jarg2; 
04404   result = (Arc::Period *)new Arc::Period((std::string const &)*arg1,arg2);
04405   *(Arc::Period **)&jresult = result; 
04406   return jresult;
04407 }
04408 
04409 
04410 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Period_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1) {
04411   jlong jresult = 0 ;
04412   std::string *arg1 = 0 ;
04413   Arc::Period *result = 0 ;
04414   
04415   (void)jenv;
04416   (void)jcls;
04417   if(!jarg1) {
04418     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04419     return 0;
04420   }
04421   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
04422   if (!arg1_pstr) return 0;
04423   std::string arg1_str(arg1_pstr);
04424   arg1 = &arg1_str;
04425   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
04426   result = (Arc::Period *)new Arc::Period((std::string const &)*arg1);
04427   *(Arc::Period **)&jresult = result; 
04428   return jresult;
04429 }
04430 
04431 
04432 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Period_1SetPeriod(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
04433   Arc::Period *arg1 = (Arc::Period *) 0 ;
04434   time_t *arg2 = 0 ;
04435   
04436   (void)jenv;
04437   (void)jcls;
04438   (void)jarg1_;
04439   arg1 = *(Arc::Period **)&jarg1; 
04440   arg2 = *(time_t **)&jarg2;
04441   if(!arg2) {
04442     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "time_t const & reference is null");
04443     return ;
04444   } 
04445   (arg1)->SetPeriod((time_t const &)*arg2);
04446 }
04447 
04448 
04449 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_Period_1GetPeriod(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04450   jlong jresult = 0 ;
04451   Arc::Period *arg1 = (Arc::Period *) 0 ;
04452   time_t result;
04453   
04454   (void)jenv;
04455   (void)jcls;
04456   (void)jarg1_;
04457   arg1 = *(Arc::Period **)&jarg1; 
04458   result = ((Arc::Period const *)arg1)->GetPeriod();
04459   *(time_t **)&jresult = new time_t((const time_t &)result); 
04460   return jresult;
04461 }
04462 
04463 
04464 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_Period_1istr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04465   jlong jresult = 0 ;
04466   Arc::Period *arg1 = (Arc::Period *) 0 ;
04467   sigc::slot< char const * > *result = 0 ;
04468   
04469   (void)jenv;
04470   (void)jcls;
04471   (void)jarg1_;
04472   arg1 = *(Arc::Period **)&jarg1; 
04473   result = (sigc::slot< char const * > *)((Arc::Period const *)arg1)->istr();
04474   *(sigc::slot< char const * > **)&jresult = result; 
04475   return jresult;
04476 }
04477 
04478 
04479 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_Period_1toString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04480   jstring jresult = 0 ;
04481   Arc::Period *arg1 = (Arc::Period *) 0 ;
04482   std::string result;
04483   
04484   (void)jenv;
04485   (void)jcls;
04486   (void)jarg1_;
04487   arg1 = *(Arc::Period **)&jarg1; 
04488   result = ((Arc::Period const *)arg1)->operator std::string();
04489   jresult = jenv->NewStringUTF((&result)->c_str()); 
04490   return jresult;
04491 }
04492 
04493 
04494 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Time_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
04495   jlong jresult = 0 ;
04496   Arc::Time *result = 0 ;
04497   
04498   (void)jenv;
04499   (void)jcls;
04500   result = (Arc::Time *)new Arc::Time();
04501   *(Arc::Time **)&jresult = result; 
04502   return jresult;
04503 }
04504 
04505 
04506 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Time_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
04507   jlong jresult = 0 ;
04508   time_t *arg1 = 0 ;
04509   Arc::Time *result = 0 ;
04510   
04511   (void)jenv;
04512   (void)jcls;
04513   arg1 = *(time_t **)&jarg1;
04514   if(!arg1) {
04515     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "time_t const & reference is null");
04516     return 0;
04517   } 
04518   result = (Arc::Time *)new Arc::Time((time_t const &)*arg1);
04519   *(Arc::Time **)&jresult = result; 
04520   return jresult;
04521 }
04522 
04523 
04524 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1Time_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jstring jarg1) {
04525   jlong jresult = 0 ;
04526   std::string *arg1 = 0 ;
04527   Arc::Time *result = 0 ;
04528   
04529   (void)jenv;
04530   (void)jcls;
04531   if(!jarg1) {
04532     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04533     return 0;
04534   }
04535   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
04536   if (!arg1_pstr) return 0;
04537   std::string arg1_str(arg1_pstr);
04538   arg1 = &arg1_str;
04539   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
04540   result = (Arc::Time *)new Arc::Time((std::string const &)*arg1);
04541   *(Arc::Time **)&jresult = result; 
04542   return jresult;
04543 }
04544 
04545 
04546 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Time_1SetTime(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
04547   Arc::Time *arg1 = (Arc::Time *) 0 ;
04548   time_t *arg2 = 0 ;
04549   
04550   (void)jenv;
04551   (void)jcls;
04552   (void)jarg1_;
04553   arg1 = *(Arc::Time **)&jarg1; 
04554   arg2 = *(time_t **)&jarg2;
04555   if(!arg2) {
04556     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "time_t const & reference is null");
04557     return ;
04558   } 
04559   (arg1)->SetTime((time_t const &)*arg2);
04560 }
04561 
04562 
04563 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_Time_1GetTime(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04564   jlong jresult = 0 ;
04565   Arc::Time *arg1 = (Arc::Time *) 0 ;
04566   time_t result;
04567   
04568   (void)jenv;
04569   (void)jcls;
04570   (void)jarg1_;
04571   arg1 = *(Arc::Time **)&jarg1; 
04572   result = ((Arc::Time const *)arg1)->GetTime();
04573   *(time_t **)&jresult = new time_t((const time_t &)result); 
04574   return jresult;
04575 }
04576 
04577 
04578 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_Time_1toString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04579   jstring jresult = 0 ;
04580   Arc::Time *arg1 = (Arc::Time *) 0 ;
04581   std::string result;
04582   
04583   (void)jenv;
04584   (void)jcls;
04585   (void)jarg1_;
04586   arg1 = *(Arc::Time **)&jarg1; 
04587   result = ((Arc::Time const *)arg1)->operator std::string();
04588   jresult = jenv->NewStringUTF((&result)->c_str()); 
04589   return jresult;
04590 }
04591 
04592 
04593 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_Time_1str_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
04594   jstring jresult = 0 ;
04595   Arc::Time *arg1 = (Arc::Time *) 0 ;
04596   Arc::TimeFormat *arg2 = 0 ;
04597   Arc::TimeFormat temp2 ;
04598   std::string result;
04599   
04600   (void)jenv;
04601   (void)jcls;
04602   (void)jarg1_;
04603   arg1 = *(Arc::Time **)&jarg1; 
04604   temp2 = (Arc::TimeFormat)jarg2; 
04605   arg2 = &temp2; 
04606   result = ((Arc::Time const *)arg1)->str((Arc::TimeFormat const &)*arg2);
04607   jresult = jenv->NewStringUTF((&result)->c_str()); 
04608   return jresult;
04609 }
04610 
04611 
04612 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_Time_1str_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04613   jstring jresult = 0 ;
04614   Arc::Time *arg1 = (Arc::Time *) 0 ;
04615   std::string result;
04616   
04617   (void)jenv;
04618   (void)jcls;
04619   (void)jarg1_;
04620   arg1 = *(Arc::Time **)&jarg1; 
04621   result = ((Arc::Time const *)arg1)->str();
04622   jresult = jenv->NewStringUTF((&result)->c_str()); 
04623   return jresult;
04624 }
04625 
04626 
04627 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_Time_1SetFormat(JNIEnv *jenv, jclass jcls, jint jarg1) {
04628   Arc::TimeFormat *arg1 = 0 ;
04629   Arc::TimeFormat temp1 ;
04630   
04631   (void)jenv;
04632   (void)jcls;
04633   temp1 = (Arc::TimeFormat)jarg1; 
04634   arg1 = &temp1; 
04635   Arc::Time::SetFormat((enum Arc::TimeFormat const &)*arg1);
04636 }
04637 
04638 
04639 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_Time_1GetFormat(JNIEnv *jenv, jclass jcls) {
04640   jint jresult = 0 ;
04641   Arc::TimeFormat result;
04642   
04643   (void)jenv;
04644   (void)jcls;
04645   result = (Arc::TimeFormat)Arc::Time::GetFormat();
04646   jresult = (jint)result; 
04647   return jresult;
04648 }
04649 
04650 
04651 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_Time_1YEAR_1get(JNIEnv *jenv, jclass jcls) {
04652   jint jresult = 0 ;
04653   int result;
04654   
04655   (void)jenv;
04656   (void)jcls;
04657   result = (int)Arc::Time::YEAR;
04658   jresult = (jint)result; 
04659   return jresult;
04660 }
04661 
04662 
04663 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_Time_1MONTH_1get(JNIEnv *jenv, jclass jcls) {
04664   jint jresult = 0 ;
04665   int result;
04666   
04667   (void)jenv;
04668   (void)jcls;
04669   result = (int)Arc::Time::MONTH;
04670   jresult = (jint)result; 
04671   return jresult;
04672 }
04673 
04674 
04675 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_Time_1WEEK_1get(JNIEnv *jenv, jclass jcls) {
04676   jint jresult = 0 ;
04677   int result;
04678   
04679   (void)jenv;
04680   (void)jcls;
04681   result = (int)Arc::Time::WEEK;
04682   jresult = (jint)result; 
04683   return jresult;
04684 }
04685 
04686 
04687 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_Time_1DAY_1get(JNIEnv *jenv, jclass jcls) {
04688   jint jresult = 0 ;
04689   int result;
04690   
04691   (void)jenv;
04692   (void)jcls;
04693   result = (int)Arc::Time::DAY;
04694   jresult = (jint)result; 
04695   return jresult;
04696 }
04697 
04698 
04699 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_Time_1HOUR_1get(JNIEnv *jenv, jclass jcls) {
04700   jint jresult = 0 ;
04701   int result;
04702   
04703   (void)jenv;
04704   (void)jcls;
04705   result = (int)Arc::Time::HOUR;
04706   jresult = (jint)result; 
04707   return jresult;
04708 }
04709 
04710 
04711 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_TimeStamp_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1) {
04712   jstring jresult = 0 ;
04713   Arc::TimeFormat *arg1 = 0 ;
04714   Arc::TimeFormat temp1 ;
04715   std::string result;
04716   
04717   (void)jenv;
04718   (void)jcls;
04719   temp1 = (Arc::TimeFormat)jarg1; 
04720   arg1 = &temp1; 
04721   result = Arc::TimeStamp((enum Arc::TimeFormat const &)*arg1);
04722   jresult = jenv->NewStringUTF((&result)->c_str()); 
04723   return jresult;
04724 }
04725 
04726 
04727 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_TimeStamp_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
04728   jstring jresult = 0 ;
04729   std::string result;
04730   
04731   (void)jenv;
04732   (void)jcls;
04733   result = Arc::TimeStamp();
04734   jresult = jenv->NewStringUTF((&result)->c_str()); 
04735   return jresult;
04736 }
04737 
04738 
04739 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_TimeStamp_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
04740   jstring jresult = 0 ;
04741   Arc::Time arg1 ;
04742   Arc::TimeFormat *arg2 = 0 ;
04743   Arc::Time *argp1 ;
04744   Arc::TimeFormat temp2 ;
04745   std::string result;
04746   
04747   (void)jenv;
04748   (void)jcls;
04749   (void)jarg1_;
04750   argp1 = *(Arc::Time **)&jarg1; 
04751   if (!argp1) {
04752     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::Time");
04753     return 0;
04754   }
04755   arg1 = *argp1; 
04756   temp2 = (Arc::TimeFormat)jarg2; 
04757   arg2 = &temp2; 
04758   result = Arc::TimeStamp(arg1,(enum Arc::TimeFormat const &)*arg2);
04759   jresult = jenv->NewStringUTF((&result)->c_str()); 
04760   return jresult;
04761 }
04762 
04763 
04764 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_TimeStamp_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04765   jstring jresult = 0 ;
04766   Arc::Time arg1 ;
04767   Arc::Time *argp1 ;
04768   std::string result;
04769   
04770   (void)jenv;
04771   (void)jcls;
04772   (void)jarg1_;
04773   argp1 = *(Arc::Time **)&jarg1; 
04774   if (!argp1) {
04775     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::Time");
04776     return 0;
04777   }
04778   arg1 = *argp1; 
04779   result = Arc::TimeStamp(arg1);
04780   jresult = jenv->NewStringUTF((&result)->c_str()); 
04781   return jresult;
04782 }
04783 
04784 
04785 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_RC_1DEFAULT_1PORT_1get(JNIEnv *jenv, jclass jcls) {
04786   jint jresult = 0 ;
04787   int result;
04788   
04789   (void)jenv;
04790   (void)jcls;
04791   result = (int) 389;
04792   jresult = (jint)result; 
04793   return jresult;
04794 }
04795 
04796 
04797 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_RLS_1DEFAULT_1PORT_1get(JNIEnv *jenv, jclass jcls) {
04798   jint jresult = 0 ;
04799   int result;
04800   
04801   (void)jenv;
04802   (void)jcls;
04803   result = (int) 39281;
04804   jresult = (jint)result; 
04805   return jresult;
04806 }
04807 
04808 
04809 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_HTTP_1DEFAULT_1PORT_1get(JNIEnv *jenv, jclass jcls) {
04810   jint jresult = 0 ;
04811   int result;
04812   
04813   (void)jenv;
04814   (void)jcls;
04815   result = (int) 80;
04816   jresult = (jint)result; 
04817   return jresult;
04818 }
04819 
04820 
04821 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_HTTPS_1DEFAULT_1PORT_1get(JNIEnv *jenv, jclass jcls) {
04822   jint jresult = 0 ;
04823   int result;
04824   
04825   (void)jenv;
04826   (void)jcls;
04827   result = (int) 443;
04828   jresult = (jint)result; 
04829   return jresult;
04830 }
04831 
04832 
04833 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_HTTPG_1DEFAULT_1PORT_1get(JNIEnv *jenv, jclass jcls) {
04834   jint jresult = 0 ;
04835   int result;
04836   
04837   (void)jenv;
04838   (void)jcls;
04839   result = (int) 8443;
04840   jresult = (jint)result; 
04841   return jresult;
04842 }
04843 
04844 
04845 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_SRM_1DEFAULT_1PORT_1get(JNIEnv *jenv, jclass jcls) {
04846   jint jresult = 0 ;
04847   int result;
04848   
04849   (void)jenv;
04850   (void)jcls;
04851   result = (int) 8443;
04852   jresult = (jint)result; 
04853   return jresult;
04854 }
04855 
04856 
04857 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_LDAP_1DEFAULT_1PORT_1get(JNIEnv *jenv, jclass jcls) {
04858   jint jresult = 0 ;
04859   int result;
04860   
04861   (void)jenv;
04862   (void)jcls;
04863   result = (int) 389;
04864   jresult = (jint)result; 
04865   return jresult;
04866 }
04867 
04868 
04869 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_FTP_1DEFAULT_1PORT_1get(JNIEnv *jenv, jclass jcls) {
04870   jint jresult = 0 ;
04871   int result;
04872   
04873   (void)jenv;
04874   (void)jcls;
04875   result = (int) 21;
04876   jresult = (jint)result; 
04877   return jresult;
04878 }
04879 
04880 
04881 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_GSIFTP_1DEFAULT_1PORT_1get(JNIEnv *jenv, jclass jcls) {
04882   jint jresult = 0 ;
04883   int result;
04884   
04885   (void)jenv;
04886   (void)jcls;
04887   result = (int) 2811;
04888   jresult = (jint)result; 
04889   return jresult;
04890 }
04891 
04892 
04893 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_LFC_1DEFAULT_1PORT_1get(JNIEnv *jenv, jclass jcls) {
04894   jint jresult = 0 ;
04895   int result;
04896   
04897   (void)jenv;
04898   (void)jcls;
04899   result = (int) 5010;
04900   jresult = (jint)result; 
04901   return jresult;
04902 }
04903 
04904 
04905 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URL_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
04906   jlong jresult = 0 ;
04907   Arc::URL *result = 0 ;
04908   
04909   (void)jenv;
04910   (void)jcls;
04911   result = (Arc::URL *)new Arc::URL();
04912   *(Arc::URL **)&jresult = result; 
04913   return jresult;
04914 }
04915 
04916 
04917 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URL_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
04918   jlong jresult = 0 ;
04919   std::string *arg1 = 0 ;
04920   Arc::URL *result = 0 ;
04921   
04922   (void)jenv;
04923   (void)jcls;
04924   if(!jarg1) {
04925     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04926     return 0;
04927   }
04928   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
04929   if (!arg1_pstr) return 0;
04930   std::string arg1_str(arg1_pstr);
04931   arg1 = &arg1_str;
04932   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
04933   result = (Arc::URL *)new Arc::URL((std::string const &)*arg1);
04934   *(Arc::URL **)&jresult = result; 
04935   return jresult;
04936 }
04937 
04938 
04939 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1URL(JNIEnv *jenv, jclass jcls, jlong jarg1) {
04940   Arc::URL *arg1 = (Arc::URL *) 0 ;
04941   
04942   (void)jenv;
04943   (void)jcls;
04944   arg1 = *(Arc::URL **)&jarg1; 
04945   delete arg1;
04946 }
04947 
04948 
04949 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1Protocol(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04950   jstring jresult = 0 ;
04951   Arc::URL *arg1 = (Arc::URL *) 0 ;
04952   std::string *result = 0 ;
04953   
04954   (void)jenv;
04955   (void)jcls;
04956   (void)jarg1_;
04957   arg1 = *(Arc::URL **)&jarg1; 
04958   {
04959     std::string const &_result_ref = ((Arc::URL const *)arg1)->Protocol();
04960     result = (std::string *) &_result_ref;
04961   }
04962   jresult = jenv->NewStringUTF(result->c_str()); 
04963   return jresult;
04964 }
04965 
04966 
04967 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URL_1ChangeProtocol(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
04968   Arc::URL *arg1 = (Arc::URL *) 0 ;
04969   std::string *arg2 = 0 ;
04970   
04971   (void)jenv;
04972   (void)jcls;
04973   (void)jarg1_;
04974   arg1 = *(Arc::URL **)&jarg1; 
04975   if(!jarg2) {
04976     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
04977     return ;
04978   }
04979   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
04980   if (!arg2_pstr) return ;
04981   std::string arg2_str(arg2_pstr);
04982   arg2 = &arg2_str;
04983   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
04984   (arg1)->ChangeProtocol((std::string const &)*arg2);
04985 }
04986 
04987 
04988 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_URL_1IsSecureProtocol(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
04989   jboolean jresult = 0 ;
04990   Arc::URL *arg1 = (Arc::URL *) 0 ;
04991   bool result;
04992   
04993   (void)jenv;
04994   (void)jcls;
04995   (void)jarg1_;
04996   arg1 = *(Arc::URL **)&jarg1; 
04997   result = (bool)((Arc::URL const *)arg1)->IsSecureProtocol();
04998   jresult = (jboolean)result; 
04999   return jresult;
05000 }
05001 
05002 
05003 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1Username(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05004   jstring jresult = 0 ;
05005   Arc::URL *arg1 = (Arc::URL *) 0 ;
05006   std::string *result = 0 ;
05007   
05008   (void)jenv;
05009   (void)jcls;
05010   (void)jarg1_;
05011   arg1 = *(Arc::URL **)&jarg1; 
05012   {
05013     std::string const &_result_ref = ((Arc::URL const *)arg1)->Username();
05014     result = (std::string *) &_result_ref;
05015   }
05016   jresult = jenv->NewStringUTF(result->c_str()); 
05017   return jresult;
05018 }
05019 
05020 
05021 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1Passwd(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05022   jstring jresult = 0 ;
05023   Arc::URL *arg1 = (Arc::URL *) 0 ;
05024   std::string *result = 0 ;
05025   
05026   (void)jenv;
05027   (void)jcls;
05028   (void)jarg1_;
05029   arg1 = *(Arc::URL **)&jarg1; 
05030   {
05031     std::string const &_result_ref = ((Arc::URL const *)arg1)->Passwd();
05032     result = (std::string *) &_result_ref;
05033   }
05034   jresult = jenv->NewStringUTF(result->c_str()); 
05035   return jresult;
05036 }
05037 
05038 
05039 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1Host(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05040   jstring jresult = 0 ;
05041   Arc::URL *arg1 = (Arc::URL *) 0 ;
05042   std::string *result = 0 ;
05043   
05044   (void)jenv;
05045   (void)jcls;
05046   (void)jarg1_;
05047   arg1 = *(Arc::URL **)&jarg1; 
05048   {
05049     std::string const &_result_ref = ((Arc::URL const *)arg1)->Host();
05050     result = (std::string *) &_result_ref;
05051   }
05052   jresult = jenv->NewStringUTF(result->c_str()); 
05053   return jresult;
05054 }
05055 
05056 
05057 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URL_1ChangeHost(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
05058   Arc::URL *arg1 = (Arc::URL *) 0 ;
05059   std::string *arg2 = 0 ;
05060   
05061   (void)jenv;
05062   (void)jcls;
05063   (void)jarg1_;
05064   arg1 = *(Arc::URL **)&jarg1; 
05065   if(!jarg2) {
05066     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05067     return ;
05068   }
05069   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05070   if (!arg2_pstr) return ;
05071   std::string arg2_str(arg2_pstr);
05072   arg2 = &arg2_str;
05073   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05074   (arg1)->ChangeHost((std::string const &)*arg2);
05075 }
05076 
05077 
05078 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_URL_1Port(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05079   jint jresult = 0 ;
05080   Arc::URL *arg1 = (Arc::URL *) 0 ;
05081   int result;
05082   
05083   (void)jenv;
05084   (void)jcls;
05085   (void)jarg1_;
05086   arg1 = *(Arc::URL **)&jarg1; 
05087   result = (int)((Arc::URL const *)arg1)->Port();
05088   jresult = (jint)result; 
05089   return jresult;
05090 }
05091 
05092 
05093 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URL_1ChangePort(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
05094   Arc::URL *arg1 = (Arc::URL *) 0 ;
05095   int arg2 ;
05096   
05097   (void)jenv;
05098   (void)jcls;
05099   (void)jarg1_;
05100   arg1 = *(Arc::URL **)&jarg1; 
05101   arg2 = (int)jarg2; 
05102   (arg1)->ChangePort(arg2);
05103 }
05104 
05105 
05106 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1Path(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05107   jstring jresult = 0 ;
05108   Arc::URL *arg1 = (Arc::URL *) 0 ;
05109   std::string *result = 0 ;
05110   
05111   (void)jenv;
05112   (void)jcls;
05113   (void)jarg1_;
05114   arg1 = *(Arc::URL **)&jarg1; 
05115   {
05116     std::string const &_result_ref = ((Arc::URL const *)arg1)->Path();
05117     result = (std::string *) &_result_ref;
05118   }
05119   jresult = jenv->NewStringUTF(result->c_str()); 
05120   return jresult;
05121 }
05122 
05123 
05124 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1FullPath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05125   jstring jresult = 0 ;
05126   Arc::URL *arg1 = (Arc::URL *) 0 ;
05127   std::string result;
05128   
05129   (void)jenv;
05130   (void)jcls;
05131   (void)jarg1_;
05132   arg1 = *(Arc::URL **)&jarg1; 
05133   result = ((Arc::URL const *)arg1)->FullPath();
05134   jresult = jenv->NewStringUTF((&result)->c_str()); 
05135   return jresult;
05136 }
05137 
05138 
05139 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URL_1ChangePath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
05140   Arc::URL *arg1 = (Arc::URL *) 0 ;
05141   std::string *arg2 = 0 ;
05142   
05143   (void)jenv;
05144   (void)jcls;
05145   (void)jarg1_;
05146   arg1 = *(Arc::URL **)&jarg1; 
05147   if(!jarg2) {
05148     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05149     return ;
05150   }
05151   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05152   if (!arg2_pstr) return ;
05153   std::string arg2_str(arg2_pstr);
05154   arg2 = &arg2_str;
05155   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05156   (arg1)->ChangePath((std::string const &)*arg2);
05157 }
05158 
05159 
05160 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URL_1HTTPOptions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05161   jlong jresult = 0 ;
05162   Arc::URL *arg1 = (Arc::URL *) 0 ;
05163   std::map< std::string,std::string > *result = 0 ;
05164   
05165   (void)jenv;
05166   (void)jcls;
05167   (void)jarg1_;
05168   arg1 = *(Arc::URL **)&jarg1; 
05169   {
05170     std::map< std::string,std::string > const &_result_ref = ((Arc::URL const *)arg1)->HTTPOptions();
05171     result = (std::map< std::string,std::string > *) &_result_ref;
05172   }
05173   *(std::map< std::string,std::string > **)&jresult = result; 
05174   return jresult;
05175 }
05176 
05177 
05178 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1HTTPOption_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
05179   jstring jresult = 0 ;
05180   Arc::URL *arg1 = (Arc::URL *) 0 ;
05181   std::string *arg2 = 0 ;
05182   std::string *arg3 = 0 ;
05183   std::string *result = 0 ;
05184   
05185   (void)jenv;
05186   (void)jcls;
05187   (void)jarg1_;
05188   arg1 = *(Arc::URL **)&jarg1; 
05189   if(!jarg2) {
05190     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05191     return 0;
05192   }
05193   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05194   if (!arg2_pstr) return 0;
05195   std::string arg2_str(arg2_pstr);
05196   arg2 = &arg2_str;
05197   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05198   if(!jarg3) {
05199     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05200     return 0;
05201   }
05202   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
05203   if (!arg3_pstr) return 0;
05204   std::string arg3_str(arg3_pstr);
05205   arg3 = &arg3_str;
05206   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
05207   {
05208     std::string const &_result_ref = ((Arc::URL const *)arg1)->HTTPOption((std::string const &)*arg2,(std::string const &)*arg3);
05209     result = (std::string *) &_result_ref;
05210   }
05211   jresult = jenv->NewStringUTF(result->c_str()); 
05212   return jresult;
05213 }
05214 
05215 
05216 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1HTTPOption_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
05217   jstring jresult = 0 ;
05218   Arc::URL *arg1 = (Arc::URL *) 0 ;
05219   std::string *arg2 = 0 ;
05220   std::string *result = 0 ;
05221   
05222   (void)jenv;
05223   (void)jcls;
05224   (void)jarg1_;
05225   arg1 = *(Arc::URL **)&jarg1; 
05226   if(!jarg2) {
05227     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05228     return 0;
05229   }
05230   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05231   if (!arg2_pstr) return 0;
05232   std::string arg2_str(arg2_pstr);
05233   arg2 = &arg2_str;
05234   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05235   {
05236     std::string const &_result_ref = ((Arc::URL const *)arg1)->HTTPOption((std::string const &)*arg2);
05237     result = (std::string *) &_result_ref;
05238   }
05239   jresult = jenv->NewStringUTF(result->c_str()); 
05240   return jresult;
05241 }
05242 
05243 
05244 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URL_1LDAPAttributes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05245   jlong jresult = 0 ;
05246   Arc::URL *arg1 = (Arc::URL *) 0 ;
05247   std::list< std::string > *result = 0 ;
05248   
05249   (void)jenv;
05250   (void)jcls;
05251   (void)jarg1_;
05252   arg1 = *(Arc::URL **)&jarg1; 
05253   {
05254     std::list< std::string > const &_result_ref = ((Arc::URL const *)arg1)->LDAPAttributes();
05255     result = (std::list< std::string > *) &_result_ref;
05256   }
05257   *(std::list< std::string > **)&jresult = result; 
05258   return jresult;
05259 }
05260 
05261 
05262 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URL_1AddLDAPAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
05263   Arc::URL *arg1 = (Arc::URL *) 0 ;
05264   std::string *arg2 = 0 ;
05265   
05266   (void)jenv;
05267   (void)jcls;
05268   (void)jarg1_;
05269   arg1 = *(Arc::URL **)&jarg1; 
05270   if(!jarg2) {
05271     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05272     return ;
05273   }
05274   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05275   if (!arg2_pstr) return ;
05276   std::string arg2_str(arg2_pstr);
05277   arg2 = &arg2_str;
05278   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05279   (arg1)->AddLDAPAttribute((std::string const &)*arg2);
05280 }
05281 
05282 
05283 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_URL_1LDAPScope(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05284   jint jresult = 0 ;
05285   Arc::URL *arg1 = (Arc::URL *) 0 ;
05286   Arc::URL::Scope result;
05287   
05288   (void)jenv;
05289   (void)jcls;
05290   (void)jarg1_;
05291   arg1 = *(Arc::URL **)&jarg1; 
05292   result = (Arc::URL::Scope)((Arc::URL const *)arg1)->LDAPScope();
05293   jresult = (jint)result; 
05294   return jresult;
05295 }
05296 
05297 
05298 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URL_1ChangeLDAPScope(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
05299   Arc::URL *arg1 = (Arc::URL *) 0 ;
05300   Arc::URL::Scope arg2 ;
05301   
05302   (void)jenv;
05303   (void)jcls;
05304   (void)jarg1_;
05305   arg1 = *(Arc::URL **)&jarg1; 
05306   arg2 = (Arc::URL::Scope)jarg2; 
05307   (arg1)->ChangeLDAPScope(arg2);
05308 }
05309 
05310 
05311 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1LDAPFilter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05312   jstring jresult = 0 ;
05313   Arc::URL *arg1 = (Arc::URL *) 0 ;
05314   std::string *result = 0 ;
05315   
05316   (void)jenv;
05317   (void)jcls;
05318   (void)jarg1_;
05319   arg1 = *(Arc::URL **)&jarg1; 
05320   {
05321     std::string const &_result_ref = ((Arc::URL const *)arg1)->LDAPFilter();
05322     result = (std::string *) &_result_ref;
05323   }
05324   jresult = jenv->NewStringUTF(result->c_str()); 
05325   return jresult;
05326 }
05327 
05328 
05329 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URL_1ChangeLDAPFilter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
05330   Arc::URL *arg1 = (Arc::URL *) 0 ;
05331   std::string *arg2 = 0 ;
05332   
05333   (void)jenv;
05334   (void)jcls;
05335   (void)jarg1_;
05336   arg1 = *(Arc::URL **)&jarg1; 
05337   if(!jarg2) {
05338     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05339     return ;
05340   }
05341   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05342   if (!arg2_pstr) return ;
05343   std::string arg2_str(arg2_pstr);
05344   arg2 = &arg2_str;
05345   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05346   (arg1)->ChangeLDAPFilter((std::string const &)*arg2);
05347 }
05348 
05349 
05350 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URL_1Options(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05351   jlong jresult = 0 ;
05352   Arc::URL *arg1 = (Arc::URL *) 0 ;
05353   std::map< std::string,std::string > *result = 0 ;
05354   
05355   (void)jenv;
05356   (void)jcls;
05357   (void)jarg1_;
05358   arg1 = *(Arc::URL **)&jarg1; 
05359   {
05360     std::map< std::string,std::string > const &_result_ref = ((Arc::URL const *)arg1)->Options();
05361     result = (std::map< std::string,std::string > *) &_result_ref;
05362   }
05363   *(std::map< std::string,std::string > **)&jresult = result; 
05364   return jresult;
05365 }
05366 
05367 
05368 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1Option_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
05369   jstring jresult = 0 ;
05370   Arc::URL *arg1 = (Arc::URL *) 0 ;
05371   std::string *arg2 = 0 ;
05372   std::string *arg3 = 0 ;
05373   std::string *result = 0 ;
05374   
05375   (void)jenv;
05376   (void)jcls;
05377   (void)jarg1_;
05378   arg1 = *(Arc::URL **)&jarg1; 
05379   if(!jarg2) {
05380     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05381     return 0;
05382   }
05383   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05384   if (!arg2_pstr) return 0;
05385   std::string arg2_str(arg2_pstr);
05386   arg2 = &arg2_str;
05387   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05388   if(!jarg3) {
05389     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05390     return 0;
05391   }
05392   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
05393   if (!arg3_pstr) return 0;
05394   std::string arg3_str(arg3_pstr);
05395   arg3 = &arg3_str;
05396   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
05397   {
05398     std::string const &_result_ref = ((Arc::URL const *)arg1)->Option((std::string const &)*arg2,(std::string const &)*arg3);
05399     result = (std::string *) &_result_ref;
05400   }
05401   jresult = jenv->NewStringUTF(result->c_str()); 
05402   return jresult;
05403 }
05404 
05405 
05406 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1Option_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
05407   jstring jresult = 0 ;
05408   Arc::URL *arg1 = (Arc::URL *) 0 ;
05409   std::string *arg2 = 0 ;
05410   std::string *result = 0 ;
05411   
05412   (void)jenv;
05413   (void)jcls;
05414   (void)jarg1_;
05415   arg1 = *(Arc::URL **)&jarg1; 
05416   if(!jarg2) {
05417     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05418     return 0;
05419   }
05420   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05421   if (!arg2_pstr) return 0;
05422   std::string arg2_str(arg2_pstr);
05423   arg2 = &arg2_str;
05424   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05425   {
05426     std::string const &_result_ref = ((Arc::URL const *)arg1)->Option((std::string const &)*arg2);
05427     result = (std::string *) &_result_ref;
05428   }
05429   jresult = jenv->NewStringUTF(result->c_str()); 
05430   return jresult;
05431 }
05432 
05433 
05434 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URL_1MetaDataOptions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05435   jlong jresult = 0 ;
05436   Arc::URL *arg1 = (Arc::URL *) 0 ;
05437   std::map< std::string,std::string > *result = 0 ;
05438   
05439   (void)jenv;
05440   (void)jcls;
05441   (void)jarg1_;
05442   arg1 = *(Arc::URL **)&jarg1; 
05443   {
05444     std::map< std::string,std::string > const &_result_ref = ((Arc::URL const *)arg1)->MetaDataOptions();
05445     result = (std::map< std::string,std::string > *) &_result_ref;
05446   }
05447   *(std::map< std::string,std::string > **)&jresult = result; 
05448   return jresult;
05449 }
05450 
05451 
05452 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1MetaDataOption_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
05453   jstring jresult = 0 ;
05454   Arc::URL *arg1 = (Arc::URL *) 0 ;
05455   std::string *arg2 = 0 ;
05456   std::string *arg3 = 0 ;
05457   std::string *result = 0 ;
05458   
05459   (void)jenv;
05460   (void)jcls;
05461   (void)jarg1_;
05462   arg1 = *(Arc::URL **)&jarg1; 
05463   if(!jarg2) {
05464     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05465     return 0;
05466   }
05467   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05468   if (!arg2_pstr) return 0;
05469   std::string arg2_str(arg2_pstr);
05470   arg2 = &arg2_str;
05471   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05472   if(!jarg3) {
05473     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05474     return 0;
05475   }
05476   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
05477   if (!arg3_pstr) return 0;
05478   std::string arg3_str(arg3_pstr);
05479   arg3 = &arg3_str;
05480   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
05481   {
05482     std::string const &_result_ref = ((Arc::URL const *)arg1)->MetaDataOption((std::string const &)*arg2,(std::string const &)*arg3);
05483     result = (std::string *) &_result_ref;
05484   }
05485   jresult = jenv->NewStringUTF(result->c_str()); 
05486   return jresult;
05487 }
05488 
05489 
05490 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1MetaDataOption_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
05491   jstring jresult = 0 ;
05492   Arc::URL *arg1 = (Arc::URL *) 0 ;
05493   std::string *arg2 = 0 ;
05494   std::string *result = 0 ;
05495   
05496   (void)jenv;
05497   (void)jcls;
05498   (void)jarg1_;
05499   arg1 = *(Arc::URL **)&jarg1; 
05500   if(!jarg2) {
05501     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05502     return 0;
05503   }
05504   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05505   if (!arg2_pstr) return 0;
05506   std::string arg2_str(arg2_pstr);
05507   arg2 = &arg2_str;
05508   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05509   {
05510     std::string const &_result_ref = ((Arc::URL const *)arg1)->MetaDataOption((std::string const &)*arg2);
05511     result = (std::string *) &_result_ref;
05512   }
05513   jresult = jenv->NewStringUTF(result->c_str()); 
05514   return jresult;
05515 }
05516 
05517 
05518 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URL_1AddOption_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jboolean jarg4) {
05519   Arc::URL *arg1 = (Arc::URL *) 0 ;
05520   std::string *arg2 = 0 ;
05521   std::string *arg3 = 0 ;
05522   bool arg4 ;
05523   
05524   (void)jenv;
05525   (void)jcls;
05526   (void)jarg1_;
05527   arg1 = *(Arc::URL **)&jarg1; 
05528   if(!jarg2) {
05529     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05530     return ;
05531   }
05532   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05533   if (!arg2_pstr) return ;
05534   std::string arg2_str(arg2_pstr);
05535   arg2 = &arg2_str;
05536   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05537   if(!jarg3) {
05538     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05539     return ;
05540   }
05541   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
05542   if (!arg3_pstr) return ;
05543   std::string arg3_str(arg3_pstr);
05544   arg3 = &arg3_str;
05545   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
05546   arg4 = jarg4 ? true : false; 
05547   (arg1)->AddOption((std::string const &)*arg2,(std::string const &)*arg3,arg4);
05548 }
05549 
05550 
05551 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_URL_1AddOption_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
05552   Arc::URL *arg1 = (Arc::URL *) 0 ;
05553   std::string *arg2 = 0 ;
05554   std::string *arg3 = 0 ;
05555   
05556   (void)jenv;
05557   (void)jcls;
05558   (void)jarg1_;
05559   arg1 = *(Arc::URL **)&jarg1; 
05560   if(!jarg2) {
05561     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05562     return ;
05563   }
05564   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05565   if (!arg2_pstr) return ;
05566   std::string arg2_str(arg2_pstr);
05567   arg2 = &arg2_str;
05568   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05569   if(!jarg3) {
05570     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05571     return ;
05572   }
05573   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
05574   if (!arg3_pstr) return ;
05575   std::string arg3_str(arg3_pstr);
05576   arg3 = &arg3_str;
05577   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
05578   (arg1)->AddOption((std::string const &)*arg2,(std::string const &)*arg3);
05579 }
05580 
05581 
05582 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URL_1Locations(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05583   jlong jresult = 0 ;
05584   Arc::URL *arg1 = (Arc::URL *) 0 ;
05585   std::list< Arc::URLLocation > *result = 0 ;
05586   
05587   (void)jenv;
05588   (void)jcls;
05589   (void)jarg1_;
05590   arg1 = *(Arc::URL **)&jarg1; 
05591   {
05592     std::list< Arc::URLLocation > const &_result_ref = ((Arc::URL const *)arg1)->Locations();
05593     result = (std::list< Arc::URLLocation > *) &_result_ref;
05594   }
05595   *(std::list< Arc::URLLocation > **)&jresult = result; 
05596   return jresult;
05597 }
05598 
05599 
05600 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URL_1CommonLocOptions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05601   jlong jresult = 0 ;
05602   Arc::URL *arg1 = (Arc::URL *) 0 ;
05603   std::map< std::string,std::string > *result = 0 ;
05604   
05605   (void)jenv;
05606   (void)jcls;
05607   (void)jarg1_;
05608   arg1 = *(Arc::URL **)&jarg1; 
05609   {
05610     std::map< std::string,std::string > const &_result_ref = ((Arc::URL const *)arg1)->CommonLocOptions();
05611     result = (std::map< std::string,std::string > *) &_result_ref;
05612   }
05613   *(std::map< std::string,std::string > **)&jresult = result; 
05614   return jresult;
05615 }
05616 
05617 
05618 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1CommonLocOption_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
05619   jstring jresult = 0 ;
05620   Arc::URL *arg1 = (Arc::URL *) 0 ;
05621   std::string *arg2 = 0 ;
05622   std::string *arg3 = 0 ;
05623   std::string *result = 0 ;
05624   
05625   (void)jenv;
05626   (void)jcls;
05627   (void)jarg1_;
05628   arg1 = *(Arc::URL **)&jarg1; 
05629   if(!jarg2) {
05630     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05631     return 0;
05632   }
05633   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05634   if (!arg2_pstr) return 0;
05635   std::string arg2_str(arg2_pstr);
05636   arg2 = &arg2_str;
05637   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05638   if(!jarg3) {
05639     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05640     return 0;
05641   }
05642   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
05643   if (!arg3_pstr) return 0;
05644   std::string arg3_str(arg3_pstr);
05645   arg3 = &arg3_str;
05646   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
05647   {
05648     std::string const &_result_ref = ((Arc::URL const *)arg1)->CommonLocOption((std::string const &)*arg2,(std::string const &)*arg3);
05649     result = (std::string *) &_result_ref;
05650   }
05651   jresult = jenv->NewStringUTF(result->c_str()); 
05652   return jresult;
05653 }
05654 
05655 
05656 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1CommonLocOption_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
05657   jstring jresult = 0 ;
05658   Arc::URL *arg1 = (Arc::URL *) 0 ;
05659   std::string *arg2 = 0 ;
05660   std::string *result = 0 ;
05661   
05662   (void)jenv;
05663   (void)jcls;
05664   (void)jarg1_;
05665   arg1 = *(Arc::URL **)&jarg1; 
05666   if(!jarg2) {
05667     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05668     return 0;
05669   }
05670   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05671   if (!arg2_pstr) return 0;
05672   std::string arg2_str(arg2_pstr);
05673   arg2 = &arg2_str;
05674   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05675   {
05676     std::string const &_result_ref = ((Arc::URL const *)arg1)->CommonLocOption((std::string const &)*arg2);
05677     result = (std::string *) &_result_ref;
05678   }
05679   jresult = jenv->NewStringUTF(result->c_str()); 
05680   return jresult;
05681 }
05682 
05683 
05684 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05685   jstring jresult = 0 ;
05686   Arc::URL *arg1 = (Arc::URL *) 0 ;
05687   std::string result;
05688   
05689   (void)jenv;
05690   (void)jcls;
05691   (void)jarg1_;
05692   arg1 = *(Arc::URL **)&jarg1; 
05693   result = ((Arc::URL const *)arg1)->str();
05694   jresult = jenv->NewStringUTF((&result)->c_str()); 
05695   return jresult;
05696 }
05697 
05698 
05699 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1fullstr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05700   jstring jresult = 0 ;
05701   Arc::URL *arg1 = (Arc::URL *) 0 ;
05702   std::string result;
05703   
05704   (void)jenv;
05705   (void)jcls;
05706   (void)jarg1_;
05707   arg1 = *(Arc::URL **)&jarg1; 
05708   result = ((Arc::URL const *)arg1)->fullstr();
05709   jresult = jenv->NewStringUTF((&result)->c_str()); 
05710   return jresult;
05711 }
05712 
05713 
05714 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1ConnectionURL(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05715   jstring jresult = 0 ;
05716   Arc::URL *arg1 = (Arc::URL *) 0 ;
05717   std::string result;
05718   
05719   (void)jenv;
05720   (void)jcls;
05721   (void)jarg1_;
05722   arg1 = *(Arc::URL **)&jarg1; 
05723   result = ((Arc::URL const *)arg1)->ConnectionURL();
05724   jresult = jenv->NewStringUTF((&result)->c_str()); 
05725   return jresult;
05726 }
05727 
05728 
05729 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_URL_1toBool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05730   jboolean jresult = 0 ;
05731   Arc::URL *arg1 = (Arc::URL *) 0 ;
05732   bool result;
05733   
05734   (void)jenv;
05735   (void)jcls;
05736   (void)jarg1_;
05737   arg1 = *(Arc::URL **)&jarg1; 
05738   result = (bool)((Arc::URL const *)arg1)->operator bool();
05739   jresult = (jboolean)result; 
05740   return jresult;
05741 }
05742 
05743 
05744 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_URL_1ParseOptions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jchar jarg3) {
05745   jlong jresult = 0 ;
05746   Arc::URL *arg1 = (Arc::URL *) 0 ;
05747   std::string *arg2 = 0 ;
05748   char arg3 ;
05749   std::map< std::string,std::string > result;
05750   
05751   (void)jenv;
05752   (void)jcls;
05753   (void)jarg1_;
05754   arg1 = *(Arc::URL **)&jarg1; 
05755   if(!jarg2) {
05756     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05757     return 0;
05758   }
05759   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05760   if (!arg2_pstr) return 0;
05761   std::string arg2_str(arg2_pstr);
05762   arg2 = &arg2_str;
05763   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05764   arg3 = (char)jarg3; 
05765   result = (arg1)->ParseOptions((std::string const &)*arg2,arg3);
05766   *(std::map< std::string,std::string > **)&jresult = new std::map< std::string,std::string >((const std::map< std::string,std::string > &)result); 
05767   return jresult;
05768 }
05769 
05770 
05771 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URL_1OptionString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jchar jarg2) {
05772   jstring jresult = 0 ;
05773   std::map< std::string,std::string > *arg1 = 0 ;
05774   char arg2 ;
05775   std::string result;
05776   
05777   (void)jenv;
05778   (void)jcls;
05779   (void)jarg1_;
05780   arg1 = *(std::map< std::string,std::string > **)&jarg1;
05781   if(!arg1) {
05782     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< std::string,std::string > const & reference is null");
05783     return 0;
05784   } 
05785   arg2 = (char)jarg2; 
05786   result = Arc::URL::OptionString((std::map< std::string,std::string > const &)*arg1,arg2);
05787   jresult = jenv->NewStringUTF((&result)->c_str()); 
05788   return jresult;
05789 }
05790 
05791 
05792 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URLLocation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1) {
05793   jlong jresult = 0 ;
05794   std::string *arg1 = 0 ;
05795   Arc::URLLocation *result = 0 ;
05796   
05797   (void)jenv;
05798   (void)jcls;
05799   if(!jarg1) {
05800     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05801     return 0;
05802   }
05803   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
05804   if (!arg1_pstr) return 0;
05805   std::string arg1_str(arg1_pstr);
05806   arg1 = &arg1_str;
05807   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
05808   result = (Arc::URLLocation *)new Arc::URLLocation((std::string const &)*arg1);
05809   *(Arc::URLLocation **)&jresult = result; 
05810   return jresult;
05811 }
05812 
05813 
05814 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URLLocation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
05815   jlong jresult = 0 ;
05816   std::string *arg1 = 0 ;
05817   std::string *arg2 = 0 ;
05818   Arc::URLLocation *result = 0 ;
05819   
05820   (void)jenv;
05821   (void)jcls;
05822   if(!jarg1) {
05823     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05824     return 0;
05825   }
05826   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
05827   if (!arg1_pstr) return 0;
05828   std::string arg1_str(arg1_pstr);
05829   arg1 = &arg1_str;
05830   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
05831   if(!jarg2) {
05832     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05833     return 0;
05834   }
05835   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05836   if (!arg2_pstr) return 0;
05837   std::string arg2_str(arg2_pstr);
05838   arg2 = &arg2_str;
05839   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05840   result = (Arc::URLLocation *)new Arc::URLLocation((std::string const &)*arg1,(std::string const &)*arg2);
05841   *(Arc::URLLocation **)&jresult = result; 
05842   return jresult;
05843 }
05844 
05845 
05846 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URLLocation_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05847   jlong jresult = 0 ;
05848   Arc::URL *arg1 = 0 ;
05849   Arc::URLLocation *result = 0 ;
05850   
05851   (void)jenv;
05852   (void)jcls;
05853   (void)jarg1_;
05854   arg1 = *(Arc::URL **)&jarg1;
05855   if(!arg1) {
05856     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::URL const & reference is null");
05857     return 0;
05858   } 
05859   result = (Arc::URLLocation *)new Arc::URLLocation((Arc::URL const &)*arg1);
05860   *(Arc::URLLocation **)&jresult = result; 
05861   return jresult;
05862 }
05863 
05864 
05865 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URLLocation_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
05866   jlong jresult = 0 ;
05867   Arc::URL *arg1 = 0 ;
05868   std::string *arg2 = 0 ;
05869   Arc::URLLocation *result = 0 ;
05870   
05871   (void)jenv;
05872   (void)jcls;
05873   (void)jarg1_;
05874   arg1 = *(Arc::URL **)&jarg1;
05875   if(!arg1) {
05876     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::URL const & reference is null");
05877     return 0;
05878   } 
05879   if(!jarg2) {
05880     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05881     return 0;
05882   }
05883   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05884   if (!arg2_pstr) return 0;
05885   std::string arg2_str(arg2_pstr);
05886   arg2 = &arg2_str;
05887   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05888   result = (Arc::URLLocation *)new Arc::URLLocation((Arc::URL const &)*arg1,(std::string const &)*arg2);
05889   *(Arc::URLLocation **)&jresult = result; 
05890   return jresult;
05891 }
05892 
05893 
05894 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1URLLocation_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
05895   jlong jresult = 0 ;
05896   std::map< std::string,std::string > *arg1 = 0 ;
05897   std::string *arg2 = 0 ;
05898   Arc::URLLocation *result = 0 ;
05899   
05900   (void)jenv;
05901   (void)jcls;
05902   (void)jarg1_;
05903   arg1 = *(std::map< std::string,std::string > **)&jarg1;
05904   if(!arg1) {
05905     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::map< std::string,std::string > const & reference is null");
05906     return 0;
05907   } 
05908   if(!jarg2) {
05909     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05910     return 0;
05911   }
05912   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
05913   if (!arg2_pstr) return 0;
05914   std::string arg2_str(arg2_pstr);
05915   arg2 = &arg2_str;
05916   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
05917   result = (Arc::URLLocation *)new Arc::URLLocation((std::map< std::string,std::string > const &)*arg1,(std::string const &)*arg2);
05918   *(Arc::URLLocation **)&jresult = result; 
05919   return jresult;
05920 }
05921 
05922 
05923 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1URLLocation(JNIEnv *jenv, jclass jcls, jlong jarg1) {
05924   Arc::URLLocation *arg1 = (Arc::URLLocation *) 0 ;
05925   
05926   (void)jenv;
05927   (void)jcls;
05928   arg1 = *(Arc::URLLocation **)&jarg1; 
05929   delete arg1;
05930 }
05931 
05932 
05933 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URLLocation_1Name(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05934   jstring jresult = 0 ;
05935   Arc::URLLocation *arg1 = (Arc::URLLocation *) 0 ;
05936   std::string *result = 0 ;
05937   
05938   (void)jenv;
05939   (void)jcls;
05940   (void)jarg1_;
05941   arg1 = *(Arc::URLLocation **)&jarg1; 
05942   {
05943     std::string const &_result_ref = ((Arc::URLLocation const *)arg1)->Name();
05944     result = (std::string *) &_result_ref;
05945   }
05946   jresult = jenv->NewStringUTF(result->c_str()); 
05947   return jresult;
05948 }
05949 
05950 
05951 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URLLocation_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05952   jstring jresult = 0 ;
05953   Arc::URLLocation *arg1 = (Arc::URLLocation *) 0 ;
05954   std::string result;
05955   
05956   (void)jenv;
05957   (void)jcls;
05958   (void)jarg1_;
05959   arg1 = *(Arc::URLLocation **)&jarg1; 
05960   result = ((Arc::URLLocation const *)arg1)->str();
05961   jresult = jenv->NewStringUTF((&result)->c_str()); 
05962   return jresult;
05963 }
05964 
05965 
05966 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_URLLocation_1fullstr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
05967   jstring jresult = 0 ;
05968   Arc::URLLocation *arg1 = (Arc::URLLocation *) 0 ;
05969   std::string result;
05970   
05971   (void)jenv;
05972   (void)jcls;
05973   (void)jarg1_;
05974   arg1 = *(Arc::URLLocation **)&jarg1; 
05975   result = ((Arc::URLLocation const *)arg1)->fullstr();
05976   jresult = jenv->NewStringUTF((&result)->c_str()); 
05977   return jresult;
05978 }
05979 
05980 
05981 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1PathIterator_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jboolean jarg2) {
05982   jlong jresult = 0 ;
05983   std::string *arg1 = 0 ;
05984   bool arg2 ;
05985   Arc::PathIterator *result = 0 ;
05986   
05987   (void)jenv;
05988   (void)jcls;
05989   if(!jarg1) {
05990     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
05991     return 0;
05992   }
05993   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
05994   if (!arg1_pstr) return 0;
05995   std::string arg1_str(arg1_pstr);
05996   arg1 = &arg1_str;
05997   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
05998   arg2 = jarg2 ? true : false; 
05999   result = (Arc::PathIterator *)new Arc::PathIterator((std::string const &)*arg1,arg2);
06000   *(Arc::PathIterator **)&jresult = result; 
06001   return jresult;
06002 }
06003 
06004 
06005 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1PathIterator_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
06006   jlong jresult = 0 ;
06007   std::string *arg1 = 0 ;
06008   Arc::PathIterator *result = 0 ;
06009   
06010   (void)jenv;
06011   (void)jcls;
06012   if(!jarg1) {
06013     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06014     return 0;
06015   }
06016   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
06017   if (!arg1_pstr) return 0;
06018   std::string arg1_str(arg1_pstr);
06019   arg1 = &arg1_str;
06020   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
06021   result = (Arc::PathIterator *)new Arc::PathIterator((std::string const &)*arg1);
06022   *(Arc::PathIterator **)&jresult = result; 
06023   return jresult;
06024 }
06025 
06026 
06027 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1PathIterator(JNIEnv *jenv, jclass jcls, jlong jarg1) {
06028   Arc::PathIterator *arg1 = (Arc::PathIterator *) 0 ;
06029   
06030   (void)jenv;
06031   (void)jcls;
06032   arg1 = *(Arc::PathIterator **)&jarg1; 
06033   delete arg1;
06034 }
06035 
06036 
06037 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_PathIterator_1toBool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06038   jboolean jresult = 0 ;
06039   Arc::PathIterator *arg1 = (Arc::PathIterator *) 0 ;
06040   bool result;
06041   
06042   (void)jenv;
06043   (void)jcls;
06044   (void)jarg1_;
06045   arg1 = *(Arc::PathIterator **)&jarg1; 
06046   result = (bool)((Arc::PathIterator const *)arg1)->operator bool();
06047   jresult = (jboolean)result; 
06048   return jresult;
06049 }
06050 
06051 
06052 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_PathIterator_1_1_1ref_1_1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06053   jstring jresult = 0 ;
06054   Arc::PathIterator *arg1 = (Arc::PathIterator *) 0 ;
06055   std::string result;
06056   
06057   (void)jenv;
06058   (void)jcls;
06059   (void)jarg1_;
06060   arg1 = *(Arc::PathIterator **)&jarg1; 
06061   result = ((Arc::PathIterator const *)arg1)->operator *();
06062   jresult = jenv->NewStringUTF((&result)->c_str()); 
06063   return jresult;
06064 }
06065 
06066 
06067 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_PathIterator_1Rest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06068   jstring jresult = 0 ;
06069   Arc::PathIterator *arg1 = (Arc::PathIterator *) 0 ;
06070   std::string result;
06071   
06072   (void)jenv;
06073   (void)jcls;
06074   (void)jarg1_;
06075   arg1 = *(Arc::PathIterator **)&jarg1; 
06076   result = ((Arc::PathIterator const *)arg1)->Rest();
06077   jresult = jenv->NewStringUTF((&result)->c_str()); 
06078   return jresult;
06079 }
06080 
06081 
06082 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_ReadURLList(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06083   jlong jresult = 0 ;
06084   Arc::URL *arg1 = 0 ;
06085   std::list< Arc::URL > result;
06086   
06087   (void)jenv;
06088   (void)jcls;
06089   (void)jarg1_;
06090   arg1 = *(Arc::URL **)&jarg1;
06091   if(!arg1) {
06092     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::URL const & reference is null");
06093     return 0;
06094   } 
06095   result = Arc::ReadURLList((Arc::URL const &)*arg1);
06096   *(std::list< Arc::URL > **)&jresult = new std::list< Arc::URL >((const std::list< Arc::URL > &)result); 
06097   return jresult;
06098 }
06099 
06100 
06101 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_tostring(JNIEnv *jenv, jclass jcls, jint jarg1) {
06102   jstring jresult = 0 ;
06103   Arc::ServiceType arg1 ;
06104   std::string result;
06105   
06106   (void)jenv;
06107   (void)jcls;
06108   arg1 = (Arc::ServiceType)jarg1; 
06109   result = Arc::tostring(arg1);
06110   jresult = jenv->NewStringUTF((&result)->c_str()); 
06111   return jresult;
06112 }
06113 
06114 
06115 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1initializeCredentialsType_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
06116   jlong jresult = 0 ;
06117   Arc::initializeCredentialsType *result = 0 ;
06118   
06119   (void)jenv;
06120   (void)jcls;
06121   result = (Arc::initializeCredentialsType *)new Arc::initializeCredentialsType();
06122   *(Arc::initializeCredentialsType **)&jresult = result; 
06123   return jresult;
06124 }
06125 
06126 
06127 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1initializeCredentialsType_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jint jarg1) {
06128   jlong jresult = 0 ;
06129   Arc::initializeCredentialsType::initializeType arg1 ;
06130   Arc::initializeCredentialsType *result = 0 ;
06131   
06132   (void)jenv;
06133   (void)jcls;
06134   arg1 = (Arc::initializeCredentialsType::initializeType)jarg1; 
06135   result = (Arc::initializeCredentialsType *)new Arc::initializeCredentialsType(arg1);
06136   *(Arc::initializeCredentialsType **)&jresult = result; 
06137   return jresult;
06138 }
06139 
06140 
06141 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1UserConfig_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06142   jlong jresult = 0 ;
06143   Arc::initializeCredentialsType arg1 ;
06144   Arc::initializeCredentialsType *argp1 ;
06145   Arc::UserConfig *result = 0 ;
06146   
06147   (void)jenv;
06148   (void)jcls;
06149   (void)jarg1_;
06150   argp1 = *(Arc::initializeCredentialsType **)&jarg1; 
06151   if (!argp1) {
06152     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::initializeCredentialsType");
06153     return 0;
06154   }
06155   arg1 = *argp1; 
06156   result = (Arc::UserConfig *)new Arc::UserConfig(arg1);
06157   *(Arc::UserConfig **)&jresult = result; 
06158   return jresult;
06159 }
06160 
06161 
06162 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1UserConfig_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
06163   jlong jresult = 0 ;
06164   Arc::UserConfig *result = 0 ;
06165   
06166   (void)jenv;
06167   (void)jcls;
06168   result = (Arc::UserConfig *)new Arc::UserConfig();
06169   *(Arc::UserConfig **)&jresult = result; 
06170   return jresult;
06171 }
06172 
06173 
06174 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1UserConfig_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jobject jarg2_, jboolean jarg3) {
06175   jlong jresult = 0 ;
06176   std::string *arg1 = 0 ;
06177   Arc::initializeCredentialsType arg2 ;
06178   bool arg3 ;
06179   Arc::initializeCredentialsType *argp2 ;
06180   Arc::UserConfig *result = 0 ;
06181   
06182   (void)jenv;
06183   (void)jcls;
06184   (void)jarg2_;
06185   if(!jarg1) {
06186     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06187     return 0;
06188   }
06189   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
06190   if (!arg1_pstr) return 0;
06191   std::string arg1_str(arg1_pstr);
06192   arg1 = &arg1_str;
06193   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
06194   argp2 = *(Arc::initializeCredentialsType **)&jarg2; 
06195   if (!argp2) {
06196     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::initializeCredentialsType");
06197     return 0;
06198   }
06199   arg2 = *argp2; 
06200   arg3 = jarg3 ? true : false; 
06201   result = (Arc::UserConfig *)new Arc::UserConfig((std::string const &)*arg1,arg2,arg3);
06202   *(Arc::UserConfig **)&jresult = result; 
06203   return jresult;
06204 }
06205 
06206 
06207 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1UserConfig_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jobject jarg2_) {
06208   jlong jresult = 0 ;
06209   std::string *arg1 = 0 ;
06210   Arc::initializeCredentialsType arg2 ;
06211   Arc::initializeCredentialsType *argp2 ;
06212   Arc::UserConfig *result = 0 ;
06213   
06214   (void)jenv;
06215   (void)jcls;
06216   (void)jarg2_;
06217   if(!jarg1) {
06218     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06219     return 0;
06220   }
06221   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
06222   if (!arg1_pstr) return 0;
06223   std::string arg1_str(arg1_pstr);
06224   arg1 = &arg1_str;
06225   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
06226   argp2 = *(Arc::initializeCredentialsType **)&jarg2; 
06227   if (!argp2) {
06228     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::initializeCredentialsType");
06229     return 0;
06230   }
06231   arg2 = *argp2; 
06232   result = (Arc::UserConfig *)new Arc::UserConfig((std::string const &)*arg1,arg2);
06233   *(Arc::UserConfig **)&jresult = result; 
06234   return jresult;
06235 }
06236 
06237 
06238 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1UserConfig_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jstring jarg1) {
06239   jlong jresult = 0 ;
06240   std::string *arg1 = 0 ;
06241   Arc::UserConfig *result = 0 ;
06242   
06243   (void)jenv;
06244   (void)jcls;
06245   if(!jarg1) {
06246     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06247     return 0;
06248   }
06249   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
06250   if (!arg1_pstr) return 0;
06251   std::string arg1_str(arg1_pstr);
06252   arg1 = &arg1_str;
06253   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
06254   result = (Arc::UserConfig *)new Arc::UserConfig((std::string const &)*arg1);
06255   *(Arc::UserConfig **)&jresult = result; 
06256   return jresult;
06257 }
06258 
06259 
06260 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1UserConfig_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jlong jarg3, jobject jarg3_, jboolean jarg4) {
06261   jlong jresult = 0 ;
06262   std::string *arg1 = 0 ;
06263   std::string *arg2 = 0 ;
06264   Arc::initializeCredentialsType arg3 ;
06265   bool arg4 ;
06266   Arc::initializeCredentialsType *argp3 ;
06267   Arc::UserConfig *result = 0 ;
06268   
06269   (void)jenv;
06270   (void)jcls;
06271   (void)jarg3_;
06272   if(!jarg1) {
06273     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06274     return 0;
06275   }
06276   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
06277   if (!arg1_pstr) return 0;
06278   std::string arg1_str(arg1_pstr);
06279   arg1 = &arg1_str;
06280   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
06281   if(!jarg2) {
06282     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06283     return 0;
06284   }
06285   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06286   if (!arg2_pstr) return 0;
06287   std::string arg2_str(arg2_pstr);
06288   arg2 = &arg2_str;
06289   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06290   argp3 = *(Arc::initializeCredentialsType **)&jarg3; 
06291   if (!argp3) {
06292     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::initializeCredentialsType");
06293     return 0;
06294   }
06295   arg3 = *argp3; 
06296   arg4 = jarg4 ? true : false; 
06297   result = (Arc::UserConfig *)new Arc::UserConfig((std::string const &)*arg1,(std::string const &)*arg2,arg3,arg4);
06298   *(Arc::UserConfig **)&jresult = result; 
06299   return jresult;
06300 }
06301 
06302 
06303 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1UserConfig_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jlong jarg3, jobject jarg3_) {
06304   jlong jresult = 0 ;
06305   std::string *arg1 = 0 ;
06306   std::string *arg2 = 0 ;
06307   Arc::initializeCredentialsType arg3 ;
06308   Arc::initializeCredentialsType *argp3 ;
06309   Arc::UserConfig *result = 0 ;
06310   
06311   (void)jenv;
06312   (void)jcls;
06313   (void)jarg3_;
06314   if(!jarg1) {
06315     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06316     return 0;
06317   }
06318   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
06319   if (!arg1_pstr) return 0;
06320   std::string arg1_str(arg1_pstr);
06321   arg1 = &arg1_str;
06322   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
06323   if(!jarg2) {
06324     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06325     return 0;
06326   }
06327   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06328   if (!arg2_pstr) return 0;
06329   std::string arg2_str(arg2_pstr);
06330   arg2 = &arg2_str;
06331   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06332   argp3 = *(Arc::initializeCredentialsType **)&jarg3; 
06333   if (!argp3) {
06334     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::initializeCredentialsType");
06335     return 0;
06336   }
06337   arg3 = *argp3; 
06338   result = (Arc::UserConfig *)new Arc::UserConfig((std::string const &)*arg1,(std::string const &)*arg2,arg3);
06339   *(Arc::UserConfig **)&jresult = result; 
06340   return jresult;
06341 }
06342 
06343 
06344 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1UserConfig_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
06345   jlong jresult = 0 ;
06346   std::string *arg1 = 0 ;
06347   std::string *arg2 = 0 ;
06348   Arc::UserConfig *result = 0 ;
06349   
06350   (void)jenv;
06351   (void)jcls;
06352   if(!jarg1) {
06353     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06354     return 0;
06355   }
06356   const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
06357   if (!arg1_pstr) return 0;
06358   std::string arg1_str(arg1_pstr);
06359   arg1 = &arg1_str;
06360   jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
06361   if(!jarg2) {
06362     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06363     return 0;
06364   }
06365   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06366   if (!arg2_pstr) return 0;
06367   std::string arg2_str(arg2_pstr);
06368   arg2 = &arg2_str;
06369   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06370   result = (Arc::UserConfig *)new Arc::UserConfig((std::string const &)*arg1,(std::string const &)*arg2);
06371   *(Arc::UserConfig **)&jresult = result; 
06372   return jresult;
06373 }
06374 
06375 
06376 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1UserConfig_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jint jarg1) {
06377   jlong jresult = 0 ;
06378   long *arg1 = 0 ;
06379   long temp1 ;
06380   Arc::UserConfig *result = 0 ;
06381   
06382   (void)jenv;
06383   (void)jcls;
06384   temp1 = (long)jarg1; 
06385   arg1 = &temp1; 
06386   result = (Arc::UserConfig *)new Arc::UserConfig((long const &)*arg1);
06387   *(Arc::UserConfig **)&jresult = result; 
06388   return jresult;
06389 }
06390 
06391 
06392 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1UserConfig(JNIEnv *jenv, jclass jcls, jlong jarg1) {
06393   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06394   
06395   (void)jenv;
06396   (void)jcls;
06397   arg1 = *(Arc::UserConfig **)&jarg1; 
06398   delete arg1;
06399 }
06400 
06401 
06402 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1InitializeCredentials(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06403   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06404   
06405   (void)jenv;
06406   (void)jcls;
06407   (void)jarg1_;
06408   arg1 = *(Arc::UserConfig **)&jarg1; 
06409   (arg1)->InitializeCredentials();
06410 }
06411 
06412 
06413 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1CredentialsFound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06414   jboolean jresult = 0 ;
06415   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06416   bool result;
06417   
06418   (void)jenv;
06419   (void)jcls;
06420   (void)jarg1_;
06421   arg1 = *(Arc::UserConfig **)&jarg1; 
06422   result = (bool)((Arc::UserConfig const *)arg1)->CredentialsFound();
06423   jresult = (jboolean)result; 
06424   return jresult;
06425 }
06426 
06427 
06428 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1LoadConfigurationFile_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jboolean jarg3) {
06429   jboolean jresult = 0 ;
06430   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06431   std::string *arg2 = 0 ;
06432   bool arg3 ;
06433   bool result;
06434   
06435   (void)jenv;
06436   (void)jcls;
06437   (void)jarg1_;
06438   arg1 = *(Arc::UserConfig **)&jarg1; 
06439   if(!jarg2) {
06440     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06441     return 0;
06442   }
06443   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06444   if (!arg2_pstr) return 0;
06445   std::string arg2_str(arg2_pstr);
06446   arg2 = &arg2_str;
06447   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06448   arg3 = jarg3 ? true : false; 
06449   result = (bool)(arg1)->LoadConfigurationFile((std::string const &)*arg2,arg3);
06450   jresult = (jboolean)result; 
06451   return jresult;
06452 }
06453 
06454 
06455 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1LoadConfigurationFile_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
06456   jboolean jresult = 0 ;
06457   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06458   std::string *arg2 = 0 ;
06459   bool result;
06460   
06461   (void)jenv;
06462   (void)jcls;
06463   (void)jarg1_;
06464   arg1 = *(Arc::UserConfig **)&jarg1; 
06465   if(!jarg2) {
06466     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06467     return 0;
06468   }
06469   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06470   if (!arg2_pstr) return 0;
06471   std::string arg2_str(arg2_pstr);
06472   arg2 = &arg2_str;
06473   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06474   result = (bool)(arg1)->LoadConfigurationFile((std::string const &)*arg2);
06475   jresult = (jboolean)result; 
06476   return jresult;
06477 }
06478 
06479 
06480 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1SaveToFile(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
06481   jboolean jresult = 0 ;
06482   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06483   std::string *arg2 = 0 ;
06484   bool result;
06485   
06486   (void)jenv;
06487   (void)jcls;
06488   (void)jarg1_;
06489   arg1 = *(Arc::UserConfig **)&jarg1; 
06490   if(!jarg2) {
06491     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06492     return 0;
06493   }
06494   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06495   if (!arg2_pstr) return 0;
06496   std::string arg2_str(arg2_pstr);
06497   arg2 = &arg2_str;
06498   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06499   result = (bool)((Arc::UserConfig const *)arg1)->SaveToFile((std::string const &)*arg2);
06500   jresult = (jboolean)result; 
06501   return jresult;
06502 }
06503 
06504 
06505 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1ApplyToConfig(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
06506   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06507   Arc::BaseConfig *arg2 = 0 ;
06508   
06509   (void)jenv;
06510   (void)jcls;
06511   (void)jarg1_;
06512   (void)jarg2_;
06513   arg1 = *(Arc::UserConfig **)&jarg1; 
06514   arg2 = *(Arc::BaseConfig **)&jarg2;
06515   if(!arg2) {
06516     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::BaseConfig & reference is null");
06517     return ;
06518   } 
06519   ((Arc::UserConfig const *)arg1)->ApplyToConfig(*arg2);
06520 }
06521 
06522 
06523 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1toBool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06524   jboolean jresult = 0 ;
06525   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06526   bool result;
06527   
06528   (void)jenv;
06529   (void)jcls;
06530   (void)jarg1_;
06531   arg1 = *(Arc::UserConfig **)&jarg1; 
06532   result = (bool)((Arc::UserConfig const *)arg1)->operator bool();
06533   jresult = (jboolean)result; 
06534   return jresult;
06535 }
06536 
06537 
06538 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1JobListFile_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
06539   jboolean jresult = 0 ;
06540   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06541   std::string *arg2 = 0 ;
06542   bool result;
06543   
06544   (void)jenv;
06545   (void)jcls;
06546   (void)jarg1_;
06547   arg1 = *(Arc::UserConfig **)&jarg1; 
06548   if(!jarg2) {
06549     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06550     return 0;
06551   }
06552   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06553   if (!arg2_pstr) return 0;
06554   std::string arg2_str(arg2_pstr);
06555   arg2 = &arg2_str;
06556   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06557   result = (bool)(arg1)->JobListFile((std::string const &)*arg2);
06558   jresult = (jboolean)result; 
06559   return jresult;
06560 }
06561 
06562 
06563 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1JobListFile_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06564   jstring jresult = 0 ;
06565   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06566   std::string *result = 0 ;
06567   
06568   (void)jenv;
06569   (void)jcls;
06570   (void)jarg1_;
06571   arg1 = *(Arc::UserConfig **)&jarg1; 
06572   {
06573     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->JobListFile();
06574     result = (std::string *) &_result_ref;
06575   }
06576   jresult = jenv->NewStringUTF(result->c_str()); 
06577   return jresult;
06578 }
06579 
06580 
06581 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1AddServices_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
06582   jboolean jresult = 0 ;
06583   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06584   std::list< std::string > *arg2 = 0 ;
06585   Arc::ServiceType arg3 ;
06586   bool result;
06587   
06588   (void)jenv;
06589   (void)jcls;
06590   (void)jarg1_;
06591   (void)jarg2_;
06592   arg1 = *(Arc::UserConfig **)&jarg1; 
06593   arg2 = *(std::list< std::string > **)&jarg2;
06594   if(!arg2) {
06595     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::list< std::string > const & reference is null");
06596     return 0;
06597   } 
06598   arg3 = (Arc::ServiceType)jarg3; 
06599   result = (bool)(arg1)->AddServices((std::list< std::string > const &)*arg2,arg3);
06600   jresult = (jboolean)result; 
06601   return jresult;
06602 }
06603 
06604 
06605 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1AddServices_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jint jarg4) {
06606   jboolean jresult = 0 ;
06607   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06608   std::list< std::string > *arg2 = 0 ;
06609   std::list< std::string > *arg3 = 0 ;
06610   Arc::ServiceType arg4 ;
06611   bool result;
06612   
06613   (void)jenv;
06614   (void)jcls;
06615   (void)jarg1_;
06616   (void)jarg2_;
06617   (void)jarg3_;
06618   arg1 = *(Arc::UserConfig **)&jarg1; 
06619   arg2 = *(std::list< std::string > **)&jarg2;
06620   if(!arg2) {
06621     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::list< std::string > const & reference is null");
06622     return 0;
06623   } 
06624   arg3 = *(std::list< std::string > **)&jarg3;
06625   if(!arg3) {
06626     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::list< std::string > const & reference is null");
06627     return 0;
06628   } 
06629   arg4 = (Arc::ServiceType)jarg4; 
06630   result = (bool)(arg1)->AddServices((std::list< std::string > const &)*arg2,(std::list< std::string > const &)*arg3,arg4);
06631   jresult = (jboolean)result; 
06632   return jresult;
06633 }
06634 
06635 
06636 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1GetSelectedServices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
06637   jlong jresult = 0 ;
06638   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06639   Arc::ServiceType arg2 ;
06640   Arc::URLListMap *result = 0 ;
06641   
06642   (void)jenv;
06643   (void)jcls;
06644   (void)jarg1_;
06645   arg1 = *(Arc::UserConfig **)&jarg1; 
06646   arg2 = (Arc::ServiceType)jarg2; 
06647   {
06648     Arc::URLListMap const &_result_ref = ((Arc::UserConfig const *)arg1)->GetSelectedServices(arg2);
06649     result = (Arc::URLListMap *) &_result_ref;
06650   }
06651   *(Arc::URLListMap **)&jresult = result; 
06652   return jresult;
06653 }
06654 
06655 
06656 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1GetRejectedServices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
06657   jlong jresult = 0 ;
06658   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06659   Arc::ServiceType arg2 ;
06660   Arc::URLListMap *result = 0 ;
06661   
06662   (void)jenv;
06663   (void)jcls;
06664   (void)jarg1_;
06665   arg1 = *(Arc::UserConfig **)&jarg1; 
06666   arg2 = (Arc::ServiceType)jarg2; 
06667   {
06668     Arc::URLListMap const &_result_ref = ((Arc::UserConfig const *)arg1)->GetRejectedServices(arg2);
06669     result = (Arc::URLListMap *) &_result_ref;
06670   }
06671   *(Arc::URLListMap **)&jresult = result; 
06672   return jresult;
06673 }
06674 
06675 
06676 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1ClearSelectedServices_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06677   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06678   
06679   (void)jenv;
06680   (void)jcls;
06681   (void)jarg1_;
06682   arg1 = *(Arc::UserConfig **)&jarg1; 
06683   (arg1)->ClearSelectedServices();
06684 }
06685 
06686 
06687 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1ClearSelectedServices_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
06688   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06689   Arc::ServiceType arg2 ;
06690   
06691   (void)jenv;
06692   (void)jcls;
06693   (void)jarg1_;
06694   arg1 = *(Arc::UserConfig **)&jarg1; 
06695   arg2 = (Arc::ServiceType)jarg2; 
06696   (arg1)->ClearSelectedServices(arg2);
06697 }
06698 
06699 
06700 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1ClearRejectedServices_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06701   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06702   
06703   (void)jenv;
06704   (void)jcls;
06705   (void)jarg1_;
06706   arg1 = *(Arc::UserConfig **)&jarg1; 
06707   (arg1)->ClearRejectedServices();
06708 }
06709 
06710 
06711 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1ClearRejectedServices_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
06712   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06713   Arc::ServiceType arg2 ;
06714   
06715   (void)jenv;
06716   (void)jcls;
06717   (void)jarg1_;
06718   arg1 = *(Arc::UserConfig **)&jarg1; 
06719   arg2 = (Arc::ServiceType)jarg2; 
06720   (arg1)->ClearRejectedServices(arg2);
06721 }
06722 
06723 
06724 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1Timeout_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
06725   jboolean jresult = 0 ;
06726   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06727   int arg2 ;
06728   bool result;
06729   
06730   (void)jenv;
06731   (void)jcls;
06732   (void)jarg1_;
06733   arg1 = *(Arc::UserConfig **)&jarg1; 
06734   arg2 = (int)jarg2; 
06735   result = (bool)(arg1)->Timeout(arg2);
06736   jresult = (jboolean)result; 
06737   return jresult;
06738 }
06739 
06740 
06741 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1Timeout_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06742   jint jresult = 0 ;
06743   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06744   int result;
06745   
06746   (void)jenv;
06747   (void)jcls;
06748   (void)jarg1_;
06749   arg1 = *(Arc::UserConfig **)&jarg1; 
06750   result = (int)((Arc::UserConfig const *)arg1)->Timeout();
06751   jresult = (jint)result; 
06752   return jresult;
06753 }
06754 
06755 
06756 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1Verbosity_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
06757   jboolean jresult = 0 ;
06758   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06759   std::string *arg2 = 0 ;
06760   bool result;
06761   
06762   (void)jenv;
06763   (void)jcls;
06764   (void)jarg1_;
06765   arg1 = *(Arc::UserConfig **)&jarg1; 
06766   if(!jarg2) {
06767     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06768     return 0;
06769   }
06770   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06771   if (!arg2_pstr) return 0;
06772   std::string arg2_str(arg2_pstr);
06773   arg2 = &arg2_str;
06774   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06775   result = (bool)(arg1)->Verbosity((std::string const &)*arg2);
06776   jresult = (jboolean)result; 
06777   return jresult;
06778 }
06779 
06780 
06781 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1Verbosity_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06782   jstring jresult = 0 ;
06783   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06784   std::string *result = 0 ;
06785   
06786   (void)jenv;
06787   (void)jcls;
06788   (void)jarg1_;
06789   arg1 = *(Arc::UserConfig **)&jarg1; 
06790   {
06791     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->Verbosity();
06792     result = (std::string *) &_result_ref;
06793   }
06794   jresult = jenv->NewStringUTF(result->c_str()); 
06795   return jresult;
06796 }
06797 
06798 
06799 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1Broker_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
06800   jboolean jresult = 0 ;
06801   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06802   std::string *arg2 = 0 ;
06803   bool result;
06804   
06805   (void)jenv;
06806   (void)jcls;
06807   (void)jarg1_;
06808   arg1 = *(Arc::UserConfig **)&jarg1; 
06809   if(!jarg2) {
06810     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06811     return 0;
06812   }
06813   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06814   if (!arg2_pstr) return 0;
06815   std::string arg2_str(arg2_pstr);
06816   arg2 = &arg2_str;
06817   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06818   result = (bool)(arg1)->Broker((std::string const &)*arg2);
06819   jresult = (jboolean)result; 
06820   return jresult;
06821 }
06822 
06823 
06824 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1Broker_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
06825   jboolean jresult = 0 ;
06826   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06827   std::string *arg2 = 0 ;
06828   std::string *arg3 = 0 ;
06829   bool result;
06830   
06831   (void)jenv;
06832   (void)jcls;
06833   (void)jarg1_;
06834   arg1 = *(Arc::UserConfig **)&jarg1; 
06835   if(!jarg2) {
06836     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06837     return 0;
06838   }
06839   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06840   if (!arg2_pstr) return 0;
06841   std::string arg2_str(arg2_pstr);
06842   arg2 = &arg2_str;
06843   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06844   if(!jarg3) {
06845     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06846     return 0;
06847   }
06848   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
06849   if (!arg3_pstr) return 0;
06850   std::string arg3_str(arg3_pstr);
06851   arg3 = &arg3_str;
06852   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
06853   result = (bool)(arg1)->Broker((std::string const &)*arg2,(std::string const &)*arg3);
06854   jresult = (jboolean)result; 
06855   return jresult;
06856 }
06857 
06858 
06859 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1Broker_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06860   jlong jresult = 0 ;
06861   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06862   std::pair< std::string,std::string > *result = 0 ;
06863   
06864   (void)jenv;
06865   (void)jcls;
06866   (void)jarg1_;
06867   arg1 = *(Arc::UserConfig **)&jarg1; 
06868   {
06869     std::pair< std::string,std::string > const &_result_ref = ((Arc::UserConfig const *)arg1)->Broker();
06870     result = (std::pair< std::string,std::string > *) &_result_ref;
06871   }
06872   *(std::pair< std::string,std::string > **)&jresult = result; 
06873   return jresult;
06874 }
06875 
06876 
06877 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1Bartender_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
06878   jboolean jresult = 0 ;
06879   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06880   std::vector< Arc::URL > *arg2 = 0 ;
06881   bool result;
06882   
06883   (void)jenv;
06884   (void)jcls;
06885   (void)jarg1_;
06886   (void)jarg2_;
06887   arg1 = *(Arc::UserConfig **)&jarg1; 
06888   arg2 = *(std::vector< Arc::URL > **)&jarg2;
06889   if(!arg2) {
06890     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::vector< Arc::URL > const & reference is null");
06891     return 0;
06892   } 
06893   result = (bool)(arg1)->Bartender((std::vector< Arc::URL > const &)*arg2);
06894   jresult = (jboolean)result; 
06895   return jresult;
06896 }
06897 
06898 
06899 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1AddBartender(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
06900   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06901   Arc::URL *arg2 = 0 ;
06902   
06903   (void)jenv;
06904   (void)jcls;
06905   (void)jarg1_;
06906   (void)jarg2_;
06907   arg1 = *(Arc::UserConfig **)&jarg1; 
06908   arg2 = *(Arc::URL **)&jarg2;
06909   if(!arg2) {
06910     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::URL const & reference is null");
06911     return ;
06912   } 
06913   (arg1)->AddBartender((Arc::URL const &)*arg2);
06914 }
06915 
06916 
06917 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1Bartender_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06918   jlong jresult = 0 ;
06919   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06920   std::vector< Arc::URL > *result = 0 ;
06921   
06922   (void)jenv;
06923   (void)jcls;
06924   (void)jarg1_;
06925   arg1 = *(Arc::UserConfig **)&jarg1; 
06926   {
06927     std::vector< Arc::URL > const &_result_ref = ((Arc::UserConfig const *)arg1)->Bartender();
06928     result = (std::vector< Arc::URL > *) &_result_ref;
06929   }
06930   *(std::vector< Arc::URL > **)&jresult = result; 
06931   return jresult;
06932 }
06933 
06934 
06935 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1VOMSServerPath_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
06936   jboolean jresult = 0 ;
06937   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06938   std::string *arg2 = 0 ;
06939   bool result;
06940   
06941   (void)jenv;
06942   (void)jcls;
06943   (void)jarg1_;
06944   arg1 = *(Arc::UserConfig **)&jarg1; 
06945   if(!jarg2) {
06946     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06947     return 0;
06948   }
06949   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06950   if (!arg2_pstr) return 0;
06951   std::string arg2_str(arg2_pstr);
06952   arg2 = &arg2_str;
06953   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06954   result = (bool)(arg1)->VOMSServerPath((std::string const &)*arg2);
06955   jresult = (jboolean)result; 
06956   return jresult;
06957 }
06958 
06959 
06960 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1VOMSServerPath_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
06961   jstring jresult = 0 ;
06962   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06963   std::string *result = 0 ;
06964   
06965   (void)jenv;
06966   (void)jcls;
06967   (void)jarg1_;
06968   arg1 = *(Arc::UserConfig **)&jarg1; 
06969   {
06970     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->VOMSServerPath();
06971     result = (std::string *) &_result_ref;
06972   }
06973   jresult = jenv->NewStringUTF(result->c_str()); 
06974   return jresult;
06975 }
06976 
06977 
06978 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1UserName_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
06979   jboolean jresult = 0 ;
06980   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
06981   std::string *arg2 = 0 ;
06982   bool result;
06983   
06984   (void)jenv;
06985   (void)jcls;
06986   (void)jarg1_;
06987   arg1 = *(Arc::UserConfig **)&jarg1; 
06988   if(!jarg2) {
06989     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
06990     return 0;
06991   }
06992   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
06993   if (!arg2_pstr) return 0;
06994   std::string arg2_str(arg2_pstr);
06995   arg2 = &arg2_str;
06996   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
06997   result = (bool)(arg1)->UserName((std::string const &)*arg2);
06998   jresult = (jboolean)result; 
06999   return jresult;
07000 }
07001 
07002 
07003 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1UserName_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07004   jstring jresult = 0 ;
07005   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07006   std::string *result = 0 ;
07007   
07008   (void)jenv;
07009   (void)jcls;
07010   (void)jarg1_;
07011   arg1 = *(Arc::UserConfig **)&jarg1; 
07012   {
07013     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->UserName();
07014     result = (std::string *) &_result_ref;
07015   }
07016   jresult = jenv->NewStringUTF(result->c_str()); 
07017   return jresult;
07018 }
07019 
07020 
07021 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1Password_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
07022   jboolean jresult = 0 ;
07023   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07024   std::string *arg2 = 0 ;
07025   bool result;
07026   
07027   (void)jenv;
07028   (void)jcls;
07029   (void)jarg1_;
07030   arg1 = *(Arc::UserConfig **)&jarg1; 
07031   if(!jarg2) {
07032     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07033     return 0;
07034   }
07035   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07036   if (!arg2_pstr) return 0;
07037   std::string arg2_str(arg2_pstr);
07038   arg2 = &arg2_str;
07039   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07040   result = (bool)(arg1)->Password((std::string const &)*arg2);
07041   jresult = (jboolean)result; 
07042   return jresult;
07043 }
07044 
07045 
07046 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1Password_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07047   jstring jresult = 0 ;
07048   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07049   std::string *result = 0 ;
07050   
07051   (void)jenv;
07052   (void)jcls;
07053   (void)jarg1_;
07054   arg1 = *(Arc::UserConfig **)&jarg1; 
07055   {
07056     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->Password();
07057     result = (std::string *) &_result_ref;
07058   }
07059   jresult = jenv->NewStringUTF(result->c_str()); 
07060   return jresult;
07061 }
07062 
07063 
07064 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1ProxyPath_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
07065   jboolean jresult = 0 ;
07066   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07067   std::string *arg2 = 0 ;
07068   bool result;
07069   
07070   (void)jenv;
07071   (void)jcls;
07072   (void)jarg1_;
07073   arg1 = *(Arc::UserConfig **)&jarg1; 
07074   if(!jarg2) {
07075     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07076     return 0;
07077   }
07078   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07079   if (!arg2_pstr) return 0;
07080   std::string arg2_str(arg2_pstr);
07081   arg2 = &arg2_str;
07082   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07083   result = (bool)(arg1)->ProxyPath((std::string const &)*arg2);
07084   jresult = (jboolean)result; 
07085   return jresult;
07086 }
07087 
07088 
07089 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1ProxyPath_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07090   jstring jresult = 0 ;
07091   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07092   std::string *result = 0 ;
07093   
07094   (void)jenv;
07095   (void)jcls;
07096   (void)jarg1_;
07097   arg1 = *(Arc::UserConfig **)&jarg1; 
07098   {
07099     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->ProxyPath();
07100     result = (std::string *) &_result_ref;
07101   }
07102   jresult = jenv->NewStringUTF(result->c_str()); 
07103   return jresult;
07104 }
07105 
07106 
07107 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1CertificatePath_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
07108   jboolean jresult = 0 ;
07109   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07110   std::string *arg2 = 0 ;
07111   bool result;
07112   
07113   (void)jenv;
07114   (void)jcls;
07115   (void)jarg1_;
07116   arg1 = *(Arc::UserConfig **)&jarg1; 
07117   if(!jarg2) {
07118     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07119     return 0;
07120   }
07121   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07122   if (!arg2_pstr) return 0;
07123   std::string arg2_str(arg2_pstr);
07124   arg2 = &arg2_str;
07125   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07126   result = (bool)(arg1)->CertificatePath((std::string const &)*arg2);
07127   jresult = (jboolean)result; 
07128   return jresult;
07129 }
07130 
07131 
07132 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1CertificatePath_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07133   jstring jresult = 0 ;
07134   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07135   std::string *result = 0 ;
07136   
07137   (void)jenv;
07138   (void)jcls;
07139   (void)jarg1_;
07140   arg1 = *(Arc::UserConfig **)&jarg1; 
07141   {
07142     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->CertificatePath();
07143     result = (std::string *) &_result_ref;
07144   }
07145   jresult = jenv->NewStringUTF(result->c_str()); 
07146   return jresult;
07147 }
07148 
07149 
07150 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1KeyPath_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
07151   jboolean jresult = 0 ;
07152   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07153   std::string *arg2 = 0 ;
07154   bool result;
07155   
07156   (void)jenv;
07157   (void)jcls;
07158   (void)jarg1_;
07159   arg1 = *(Arc::UserConfig **)&jarg1; 
07160   if(!jarg2) {
07161     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07162     return 0;
07163   }
07164   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07165   if (!arg2_pstr) return 0;
07166   std::string arg2_str(arg2_pstr);
07167   arg2 = &arg2_str;
07168   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07169   result = (bool)(arg1)->KeyPath((std::string const &)*arg2);
07170   jresult = (jboolean)result; 
07171   return jresult;
07172 }
07173 
07174 
07175 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1KeyPath_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07176   jstring jresult = 0 ;
07177   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07178   std::string *result = 0 ;
07179   
07180   (void)jenv;
07181   (void)jcls;
07182   (void)jarg1_;
07183   arg1 = *(Arc::UserConfig **)&jarg1; 
07184   {
07185     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->KeyPath();
07186     result = (std::string *) &_result_ref;
07187   }
07188   jresult = jenv->NewStringUTF(result->c_str()); 
07189   return jresult;
07190 }
07191 
07192 
07193 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1KeyPassword_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
07194   jboolean jresult = 0 ;
07195   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07196   std::string *arg2 = 0 ;
07197   bool result;
07198   
07199   (void)jenv;
07200   (void)jcls;
07201   (void)jarg1_;
07202   arg1 = *(Arc::UserConfig **)&jarg1; 
07203   if(!jarg2) {
07204     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07205     return 0;
07206   }
07207   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07208   if (!arg2_pstr) return 0;
07209   std::string arg2_str(arg2_pstr);
07210   arg2 = &arg2_str;
07211   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07212   result = (bool)(arg1)->KeyPassword((std::string const &)*arg2);
07213   jresult = (jboolean)result; 
07214   return jresult;
07215 }
07216 
07217 
07218 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1KeyPassword_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07219   jstring jresult = 0 ;
07220   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07221   std::string *result = 0 ;
07222   
07223   (void)jenv;
07224   (void)jcls;
07225   (void)jarg1_;
07226   arg1 = *(Arc::UserConfig **)&jarg1; 
07227   {
07228     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->KeyPassword();
07229     result = (std::string *) &_result_ref;
07230   }
07231   jresult = jenv->NewStringUTF(result->c_str()); 
07232   return jresult;
07233 }
07234 
07235 
07236 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1KeySize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
07237   jboolean jresult = 0 ;
07238   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07239   int arg2 ;
07240   bool result;
07241   
07242   (void)jenv;
07243   (void)jcls;
07244   (void)jarg1_;
07245   arg1 = *(Arc::UserConfig **)&jarg1; 
07246   arg2 = (int)jarg2; 
07247   result = (bool)(arg1)->KeySize(arg2);
07248   jresult = (jboolean)result; 
07249   return jresult;
07250 }
07251 
07252 
07253 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1KeySize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07254   jint jresult = 0 ;
07255   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07256   int result;
07257   
07258   (void)jenv;
07259   (void)jcls;
07260   (void)jarg1_;
07261   arg1 = *(Arc::UserConfig **)&jarg1; 
07262   result = (int)((Arc::UserConfig const *)arg1)->KeySize();
07263   jresult = (jint)result; 
07264   return jresult;
07265 }
07266 
07267 
07268 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1CACertificatePath_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
07269   jboolean jresult = 0 ;
07270   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07271   std::string *arg2 = 0 ;
07272   bool result;
07273   
07274   (void)jenv;
07275   (void)jcls;
07276   (void)jarg1_;
07277   arg1 = *(Arc::UserConfig **)&jarg1; 
07278   if(!jarg2) {
07279     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07280     return 0;
07281   }
07282   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07283   if (!arg2_pstr) return 0;
07284   std::string arg2_str(arg2_pstr);
07285   arg2 = &arg2_str;
07286   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07287   result = (bool)(arg1)->CACertificatePath((std::string const &)*arg2);
07288   jresult = (jboolean)result; 
07289   return jresult;
07290 }
07291 
07292 
07293 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1CACertificatePath_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07294   jstring jresult = 0 ;
07295   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07296   std::string *result = 0 ;
07297   
07298   (void)jenv;
07299   (void)jcls;
07300   (void)jarg1_;
07301   arg1 = *(Arc::UserConfig **)&jarg1; 
07302   {
07303     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->CACertificatePath();
07304     result = (std::string *) &_result_ref;
07305   }
07306   jresult = jenv->NewStringUTF(result->c_str()); 
07307   return jresult;
07308 }
07309 
07310 
07311 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1CACertificatesDirectory_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
07312   jboolean jresult = 0 ;
07313   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07314   std::string *arg2 = 0 ;
07315   bool result;
07316   
07317   (void)jenv;
07318   (void)jcls;
07319   (void)jarg1_;
07320   arg1 = *(Arc::UserConfig **)&jarg1; 
07321   if(!jarg2) {
07322     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07323     return 0;
07324   }
07325   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07326   if (!arg2_pstr) return 0;
07327   std::string arg2_str(arg2_pstr);
07328   arg2 = &arg2_str;
07329   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07330   result = (bool)(arg1)->CACertificatesDirectory((std::string const &)*arg2);
07331   jresult = (jboolean)result; 
07332   return jresult;
07333 }
07334 
07335 
07336 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1CACertificatesDirectory_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07337   jstring jresult = 0 ;
07338   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07339   std::string *result = 0 ;
07340   
07341   (void)jenv;
07342   (void)jcls;
07343   (void)jarg1_;
07344   arg1 = *(Arc::UserConfig **)&jarg1; 
07345   {
07346     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->CACertificatesDirectory();
07347     result = (std::string *) &_result_ref;
07348   }
07349   jresult = jenv->NewStringUTF(result->c_str()); 
07350   return jresult;
07351 }
07352 
07353 
07354 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1CertificateLifeTime_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
07355   jboolean jresult = 0 ;
07356   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07357   Arc::Period *arg2 = 0 ;
07358   bool result;
07359   
07360   (void)jenv;
07361   (void)jcls;
07362   (void)jarg1_;
07363   (void)jarg2_;
07364   arg1 = *(Arc::UserConfig **)&jarg1; 
07365   arg2 = *(Arc::Period **)&jarg2;
07366   if(!arg2) {
07367     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::Period const & reference is null");
07368     return 0;
07369   } 
07370   result = (bool)(arg1)->CertificateLifeTime((Arc::Period const &)*arg2);
07371   jresult = (jboolean)result; 
07372   return jresult;
07373 }
07374 
07375 
07376 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1CertificateLifeTime_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07377   jlong jresult = 0 ;
07378   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07379   Arc::Period *result = 0 ;
07380   
07381   (void)jenv;
07382   (void)jcls;
07383   (void)jarg1_;
07384   arg1 = *(Arc::UserConfig **)&jarg1; 
07385   {
07386     Arc::Period const &_result_ref = ((Arc::UserConfig const *)arg1)->CertificateLifeTime();
07387     result = (Arc::Period *) &_result_ref;
07388   }
07389   *(Arc::Period **)&jresult = result; 
07390   return jresult;
07391 }
07392 
07393 
07394 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1SLCS_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
07395   jboolean jresult = 0 ;
07396   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07397   Arc::URL *arg2 = 0 ;
07398   bool result;
07399   
07400   (void)jenv;
07401   (void)jcls;
07402   (void)jarg1_;
07403   (void)jarg2_;
07404   arg1 = *(Arc::UserConfig **)&jarg1; 
07405   arg2 = *(Arc::URL **)&jarg2;
07406   if(!arg2) {
07407     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::URL const & reference is null");
07408     return 0;
07409   } 
07410   result = (bool)(arg1)->SLCS((Arc::URL const &)*arg2);
07411   jresult = (jboolean)result; 
07412   return jresult;
07413 }
07414 
07415 
07416 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1SLCS_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07417   jlong jresult = 0 ;
07418   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07419   Arc::URL *result = 0 ;
07420   
07421   (void)jenv;
07422   (void)jcls;
07423   (void)jarg1_;
07424   arg1 = *(Arc::UserConfig **)&jarg1; 
07425   {
07426     Arc::URL const &_result_ref = ((Arc::UserConfig const *)arg1)->SLCS();
07427     result = (Arc::URL *) &_result_ref;
07428   }
07429   *(Arc::URL **)&jresult = result; 
07430   return jresult;
07431 }
07432 
07433 
07434 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1StoreDirectory_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
07435   jboolean jresult = 0 ;
07436   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07437   std::string *arg2 = 0 ;
07438   bool result;
07439   
07440   (void)jenv;
07441   (void)jcls;
07442   (void)jarg1_;
07443   arg1 = *(Arc::UserConfig **)&jarg1; 
07444   if(!jarg2) {
07445     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07446     return 0;
07447   }
07448   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07449   if (!arg2_pstr) return 0;
07450   std::string arg2_str(arg2_pstr);
07451   arg2 = &arg2_str;
07452   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07453   result = (bool)(arg1)->StoreDirectory((std::string const &)*arg2);
07454   jresult = (jboolean)result; 
07455   return jresult;
07456 }
07457 
07458 
07459 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1StoreDirectory_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07460   jstring jresult = 0 ;
07461   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07462   std::string *result = 0 ;
07463   
07464   (void)jenv;
07465   (void)jcls;
07466   (void)jarg1_;
07467   arg1 = *(Arc::UserConfig **)&jarg1; 
07468   {
07469     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->StoreDirectory();
07470     result = (std::string *) &_result_ref;
07471   }
07472   jresult = jenv->NewStringUTF(result->c_str()); 
07473   return jresult;
07474 }
07475 
07476 
07477 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1IdPName_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
07478   jboolean jresult = 0 ;
07479   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07480   std::string *arg2 = 0 ;
07481   bool result;
07482   
07483   (void)jenv;
07484   (void)jcls;
07485   (void)jarg1_;
07486   arg1 = *(Arc::UserConfig **)&jarg1; 
07487   if(!jarg2) {
07488     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07489     return 0;
07490   }
07491   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07492   if (!arg2_pstr) return 0;
07493   std::string arg2_str(arg2_pstr);
07494   arg2 = &arg2_str;
07495   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07496   result = (bool)(arg1)->IdPName((std::string const &)*arg2);
07497   jresult = (jboolean)result; 
07498   return jresult;
07499 }
07500 
07501 
07502 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1IdPName_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07503   jstring jresult = 0 ;
07504   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07505   std::string *result = 0 ;
07506   
07507   (void)jenv;
07508   (void)jcls;
07509   (void)jarg1_;
07510   arg1 = *(Arc::UserConfig **)&jarg1; 
07511   {
07512     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->IdPName();
07513     result = (std::string *) &_result_ref;
07514   }
07515   jresult = jenv->NewStringUTF(result->c_str()); 
07516   return jresult;
07517 }
07518 
07519 
07520 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1OverlayFile_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
07521   jboolean jresult = 0 ;
07522   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07523   std::string *arg2 = 0 ;
07524   bool result;
07525   
07526   (void)jenv;
07527   (void)jcls;
07528   (void)jarg1_;
07529   arg1 = *(Arc::UserConfig **)&jarg1; 
07530   if(!jarg2) {
07531     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07532     return 0;
07533   }
07534   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07535   if (!arg2_pstr) return 0;
07536   std::string arg2_str(arg2_pstr);
07537   arg2 = &arg2_str;
07538   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07539   result = (bool)(arg1)->OverlayFile((std::string const &)*arg2);
07540   jresult = (jboolean)result; 
07541   return jresult;
07542 }
07543 
07544 
07545 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1OverlayFile_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07546   jstring jresult = 0 ;
07547   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07548   std::string *result = 0 ;
07549   
07550   (void)jenv;
07551   (void)jcls;
07552   (void)jarg1_;
07553   arg1 = *(Arc::UserConfig **)&jarg1; 
07554   {
07555     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->OverlayFile();
07556     result = (std::string *) &_result_ref;
07557   }
07558   jresult = jenv->NewStringUTF(result->c_str()); 
07559   return jresult;
07560 }
07561 
07562 
07563 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1UtilsDirPath_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
07564   jboolean jresult = 0 ;
07565   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07566   std::string *arg2 = 0 ;
07567   bool result;
07568   
07569   (void)jenv;
07570   (void)jcls;
07571   (void)jarg1_;
07572   arg1 = *(Arc::UserConfig **)&jarg1; 
07573   if(!jarg2) {
07574     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07575     return 0;
07576   }
07577   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07578   if (!arg2_pstr) return 0;
07579   std::string arg2_str(arg2_pstr);
07580   arg2 = &arg2_str;
07581   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07582   result = (bool)(arg1)->UtilsDirPath((std::string const &)*arg2);
07583   jresult = (jboolean)result; 
07584   return jresult;
07585 }
07586 
07587 
07588 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1UtilsDirPath_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07589   jstring jresult = 0 ;
07590   Arc::UserConfig *arg1 = (Arc::UserConfig *) 0 ;
07591   std::string *result = 0 ;
07592   
07593   (void)jenv;
07594   (void)jcls;
07595   (void)jarg1_;
07596   arg1 = *(Arc::UserConfig **)&jarg1; 
07597   {
07598     std::string const &_result_ref = ((Arc::UserConfig const *)arg1)->UtilsDirPath();
07599     result = (std::string *) &_result_ref;
07600   }
07601   jresult = jenv->NewStringUTF(result->c_str()); 
07602   return jresult;
07603 }
07604 
07605 
07606 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1ARCUSERDIRECTORY_1get(JNIEnv *jenv, jclass jcls) {
07607   jstring jresult = 0 ;
07608   std::string *result = 0 ;
07609   
07610   (void)jenv;
07611   (void)jcls;
07612   {
07613     std::string const &_result_ref = Arc::UserConfig::ARCUSERDIRECTORY;
07614     result = (std::string *) &_result_ref;
07615   }
07616   jresult = jenv->NewStringUTF(result->c_str()); 
07617   return jresult;
07618 }
07619 
07620 
07621 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1SYSCONFIG_1get(JNIEnv *jenv, jclass jcls) {
07622   jstring jresult = 0 ;
07623   std::string *result = 0 ;
07624   
07625   (void)jenv;
07626   (void)jcls;
07627   {
07628     std::string const &_result_ref = Arc::UserConfig::SYSCONFIG;
07629     result = (std::string *) &_result_ref;
07630   }
07631   jresult = jenv->NewStringUTF(result->c_str()); 
07632   return jresult;
07633 }
07634 
07635 
07636 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1DEFAULTCONFIG_1get(JNIEnv *jenv, jclass jcls) {
07637   jstring jresult = 0 ;
07638   std::string *result = 0 ;
07639   
07640   (void)jenv;
07641   (void)jcls;
07642   {
07643     std::string const &_result_ref = Arc::UserConfig::DEFAULTCONFIG;
07644     result = (std::string *) &_result_ref;
07645   }
07646   jresult = jenv->NewStringUTF(result->c_str()); 
07647   return jresult;
07648 }
07649 
07650 
07651 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1EXAMPLECONFIG_1get(JNIEnv *jenv, jclass jcls) {
07652   jstring jresult = 0 ;
07653   std::string *result = 0 ;
07654   
07655   (void)jenv;
07656   (void)jcls;
07657   {
07658     std::string const &_result_ref = Arc::UserConfig::EXAMPLECONFIG;
07659     result = (std::string *) &_result_ref;
07660   }
07661   jresult = jenv->NewStringUTF(result->c_str()); 
07662   return jresult;
07663 }
07664 
07665 
07666 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1DEFAULT_1TIMEOUT_1get(JNIEnv *jenv, jclass jcls) {
07667   jint jresult = 0 ;
07668   int result;
07669   
07670   (void)jenv;
07671   (void)jcls;
07672   result = (int)Arc::UserConfig::DEFAULT_TIMEOUT;
07673   jresult = (jint)result; 
07674   return jresult;
07675 }
07676 
07677 
07678 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UserConfig_1DEFAULT_1BROKER_1get(JNIEnv *jenv, jclass jcls) {
07679   jstring jresult = 0 ;
07680   std::string *result = 0 ;
07681   
07682   (void)jenv;
07683   (void)jcls;
07684   {
07685     std::string const &_result_ref = Arc::UserConfig::DEFAULT_BROKER;
07686     result = (std::string *) &_result_ref;
07687   }
07688   jresult = jenv->NewStringUTF(result->c_str()); 
07689   return jresult;
07690 }
07691 
07692 
07693 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_GUID(JNIEnv *jenv, jclass jcls, jlong jarg1) {
07694   std::string *arg1 = 0 ;
07695   
07696   (void)jenv;
07697   (void)jcls;
07698   arg1 = *(std::string **)&jarg1;
07699   if(!arg1) {
07700     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::string & reference is null");
07701     return ;
07702   } 
07703   Arc::GUID(*arg1);
07704 }
07705 
07706 
07707 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_UUID(JNIEnv *jenv, jclass jcls) {
07708   jstring jresult = 0 ;
07709   std::string result;
07710   
07711   (void)jenv;
07712   (void)jcls;
07713   result = Arc::UUID();
07714   jresult = jenv->NewStringUTF((&result)->c_str()); 
07715   return jresult;
07716 }
07717 
07718 
07719 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_STATUS_1UNDEFINED_1get(JNIEnv *jenv, jclass jcls) {
07720   jint jresult = 0 ;
07721   Arc::StatusKind result;
07722   
07723   (void)jenv;
07724   (void)jcls;
07725   result = (Arc::StatusKind)Arc::STATUS_UNDEFINED;
07726   jresult = (jint)result; 
07727   return jresult;
07728 }
07729 
07730 
07731 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_STATUS_1OK_1get(JNIEnv *jenv, jclass jcls) {
07732   jint jresult = 0 ;
07733   Arc::StatusKind result;
07734   
07735   (void)jenv;
07736   (void)jcls;
07737   result = (Arc::StatusKind)Arc::STATUS_OK;
07738   jresult = (jint)result; 
07739   return jresult;
07740 }
07741 
07742 
07743 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_GENERIC_1ERROR_1get(JNIEnv *jenv, jclass jcls) {
07744   jint jresult = 0 ;
07745   Arc::StatusKind result;
07746   
07747   (void)jenv;
07748   (void)jcls;
07749   result = (Arc::StatusKind)Arc::GENERIC_ERROR;
07750   jresult = (jint)result; 
07751   return jresult;
07752 }
07753 
07754 
07755 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_PARSING_1ERROR_1get(JNIEnv *jenv, jclass jcls) {
07756   jint jresult = 0 ;
07757   Arc::StatusKind result;
07758   
07759   (void)jenv;
07760   (void)jcls;
07761   result = (Arc::StatusKind)Arc::PARSING_ERROR;
07762   jresult = (jint)result; 
07763   return jresult;
07764 }
07765 
07766 
07767 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_PROTOCOL_1RECOGNIZED_1ERROR_1get(JNIEnv *jenv, jclass jcls) {
07768   jint jresult = 0 ;
07769   Arc::StatusKind result;
07770   
07771   (void)jenv;
07772   (void)jcls;
07773   result = (Arc::StatusKind)Arc::PROTOCOL_RECOGNIZED_ERROR;
07774   jresult = (jint)result; 
07775   return jresult;
07776 }
07777 
07778 
07779 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_UNKNOWN_1SERVICE_1ERROR_1get(JNIEnv *jenv, jclass jcls) {
07780   jint jresult = 0 ;
07781   Arc::StatusKind result;
07782   
07783   (void)jenv;
07784   (void)jcls;
07785   result = (Arc::StatusKind)Arc::UNKNOWN_SERVICE_ERROR;
07786   jresult = (jint)result; 
07787   return jresult;
07788 }
07789 
07790 
07791 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_BUSY_1ERROR_1get(JNIEnv *jenv, jclass jcls) {
07792   jint jresult = 0 ;
07793   Arc::StatusKind result;
07794   
07795   (void)jenv;
07796   (void)jcls;
07797   result = (Arc::StatusKind)Arc::BUSY_ERROR;
07798   jresult = (jint)result; 
07799   return jresult;
07800 }
07801 
07802 
07803 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_SESSION_1CLOSE_1get(JNIEnv *jenv, jclass jcls) {
07804   jint jresult = 0 ;
07805   Arc::StatusKind result;
07806   
07807   (void)jenv;
07808   (void)jcls;
07809   result = (Arc::StatusKind)Arc::SESSION_CLOSE;
07810   jresult = (jint)result; 
07811   return jresult;
07812 }
07813 
07814 
07815 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_string(JNIEnv *jenv, jclass jcls, jint jarg1) {
07816   jstring jresult = 0 ;
07817   Arc::StatusKind arg1 ;
07818   std::string result;
07819   
07820   (void)jenv;
07821   (void)jcls;
07822   arg1 = (Arc::StatusKind)jarg1; 
07823   result = Arc::string(arg1);
07824   jresult = jenv->NewStringUTF((&result)->c_str()); 
07825   return jresult;
07826 }
07827 
07828 
07829 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1MCC_1Status_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jstring jarg3) {
07830   jlong jresult = 0 ;
07831   Arc::StatusKind arg1 ;
07832   std::string *arg2 = 0 ;
07833   std::string *arg3 = 0 ;
07834   Arc::MCC_Status *result = 0 ;
07835   
07836   (void)jenv;
07837   (void)jcls;
07838   arg1 = (Arc::StatusKind)jarg1; 
07839   if(!jarg2) {
07840     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07841     return 0;
07842   }
07843   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07844   if (!arg2_pstr) return 0;
07845   std::string arg2_str(arg2_pstr);
07846   arg2 = &arg2_str;
07847   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07848   if(!jarg3) {
07849     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07850     return 0;
07851   }
07852   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
07853   if (!arg3_pstr) return 0;
07854   std::string arg3_str(arg3_pstr);
07855   arg3 = &arg3_str;
07856   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
07857   result = (Arc::MCC_Status *)new Arc::MCC_Status(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
07858   *(Arc::MCC_Status **)&jresult = result; 
07859   return jresult;
07860 }
07861 
07862 
07863 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1MCC_1Status_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2) {
07864   jlong jresult = 0 ;
07865   Arc::StatusKind arg1 ;
07866   std::string *arg2 = 0 ;
07867   Arc::MCC_Status *result = 0 ;
07868   
07869   (void)jenv;
07870   (void)jcls;
07871   arg1 = (Arc::StatusKind)jarg1; 
07872   if(!jarg2) {
07873     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
07874     return 0;
07875   }
07876   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
07877   if (!arg2_pstr) return 0;
07878   std::string arg2_str(arg2_pstr);
07879   arg2 = &arg2_str;
07880   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
07881   result = (Arc::MCC_Status *)new Arc::MCC_Status(arg1,(std::string const &)*arg2);
07882   *(Arc::MCC_Status **)&jresult = result; 
07883   return jresult;
07884 }
07885 
07886 
07887 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1MCC_1Status_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jint jarg1) {
07888   jlong jresult = 0 ;
07889   Arc::StatusKind arg1 ;
07890   Arc::MCC_Status *result = 0 ;
07891   
07892   (void)jenv;
07893   (void)jcls;
07894   arg1 = (Arc::StatusKind)jarg1; 
07895   result = (Arc::MCC_Status *)new Arc::MCC_Status(arg1);
07896   *(Arc::MCC_Status **)&jresult = result; 
07897   return jresult;
07898 }
07899 
07900 
07901 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1MCC_1Status_1_1SWIG_13(JNIEnv *jenv, jclass jcls) {
07902   jlong jresult = 0 ;
07903   Arc::MCC_Status *result = 0 ;
07904   
07905   (void)jenv;
07906   (void)jcls;
07907   result = (Arc::MCC_Status *)new Arc::MCC_Status();
07908   *(Arc::MCC_Status **)&jresult = result; 
07909   return jresult;
07910 }
07911 
07912 
07913 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_MCC_1Status_1isOk(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07914   jboolean jresult = 0 ;
07915   Arc::MCC_Status *arg1 = (Arc::MCC_Status *) 0 ;
07916   bool result;
07917   
07918   (void)jenv;
07919   (void)jcls;
07920   (void)jarg1_;
07921   arg1 = *(Arc::MCC_Status **)&jarg1; 
07922   result = (bool)((Arc::MCC_Status const *)arg1)->isOk();
07923   jresult = (jboolean)result; 
07924   return jresult;
07925 }
07926 
07927 
07928 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_MCC_1Status_1getKind(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07929   jint jresult = 0 ;
07930   Arc::MCC_Status *arg1 = (Arc::MCC_Status *) 0 ;
07931   Arc::StatusKind result;
07932   
07933   (void)jenv;
07934   (void)jcls;
07935   (void)jarg1_;
07936   arg1 = *(Arc::MCC_Status **)&jarg1; 
07937   result = (Arc::StatusKind)((Arc::MCC_Status const *)arg1)->getKind();
07938   jresult = (jint)result; 
07939   return jresult;
07940 }
07941 
07942 
07943 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_MCC_1Status_1getOrigin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07944   jstring jresult = 0 ;
07945   Arc::MCC_Status *arg1 = (Arc::MCC_Status *) 0 ;
07946   std::string *result = 0 ;
07947   
07948   (void)jenv;
07949   (void)jcls;
07950   (void)jarg1_;
07951   arg1 = *(Arc::MCC_Status **)&jarg1; 
07952   {
07953     std::string const &_result_ref = ((Arc::MCC_Status const *)arg1)->getOrigin();
07954     result = (std::string *) &_result_ref;
07955   }
07956   jresult = jenv->NewStringUTF(result->c_str()); 
07957   return jresult;
07958 }
07959 
07960 
07961 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_MCC_1Status_1getExplanation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07962   jstring jresult = 0 ;
07963   Arc::MCC_Status *arg1 = (Arc::MCC_Status *) 0 ;
07964   std::string *result = 0 ;
07965   
07966   (void)jenv;
07967   (void)jcls;
07968   (void)jarg1_;
07969   arg1 = *(Arc::MCC_Status **)&jarg1; 
07970   {
07971     std::string const &_result_ref = ((Arc::MCC_Status const *)arg1)->getExplanation();
07972     result = (std::string *) &_result_ref;
07973   }
07974   jresult = jenv->NewStringUTF(result->c_str()); 
07975   return jresult;
07976 }
07977 
07978 
07979 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_MCC_1Status_1toString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07980   jstring jresult = 0 ;
07981   Arc::MCC_Status *arg1 = (Arc::MCC_Status *) 0 ;
07982   std::string result;
07983   
07984   (void)jenv;
07985   (void)jcls;
07986   (void)jarg1_;
07987   arg1 = *(Arc::MCC_Status **)&jarg1; 
07988   result = ((Arc::MCC_Status const *)arg1)->operator std::string();
07989   jresult = jenv->NewStringUTF((&result)->c_str()); 
07990   return jresult;
07991 }
07992 
07993 
07994 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_MCC_1Status_1toBool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
07995   jboolean jresult = 0 ;
07996   Arc::MCC_Status *arg1 = (Arc::MCC_Status *) 0 ;
07997   bool result;
07998   
07999   (void)jenv;
08000   (void)jcls;
08001   (void)jarg1_;
08002   arg1 = *(Arc::MCC_Status **)&jarg1; 
08003   result = (bool)((Arc::MCC_Status const *)arg1)->operator bool();
08004   jresult = (jboolean)result; 
08005   return jresult;
08006 }
08007 
08008 
08009 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1AttributeIterator(JNIEnv *jenv, jclass jcls) {
08010   jlong jresult = 0 ;
08011   Arc::AttributeIterator *result = 0 ;
08012   
08013   (void)jenv;
08014   (void)jcls;
08015   result = (Arc::AttributeIterator *)new Arc::AttributeIterator();
08016   *(Arc::AttributeIterator **)&jresult = result; 
08017   return jresult;
08018 }
08019 
08020 
08021 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_AttributeIterator_1_1_1ref_1_1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08022   jstring jresult = 0 ;
08023   Arc::AttributeIterator *arg1 = (Arc::AttributeIterator *) 0 ;
08024   std::string *result = 0 ;
08025   
08026   (void)jenv;
08027   (void)jcls;
08028   (void)jarg1_;
08029   arg1 = *(Arc::AttributeIterator **)&jarg1; 
08030   {
08031     std::string const &_result_ref = ((Arc::AttributeIterator const *)arg1)->operator *();
08032     result = (std::string *) &_result_ref;
08033   }
08034   jresult = jenv->NewStringUTF(result->c_str()); 
08035   return jresult;
08036 }
08037 
08038 
08039 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_AttributeIterator_1_1_1deref_1_1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08040   jlong jresult = 0 ;
08041   Arc::AttributeIterator *arg1 = (Arc::AttributeIterator *) 0 ;
08042   std::string *result = 0 ;
08043   
08044   (void)jenv;
08045   (void)jcls;
08046   (void)jarg1_;
08047   arg1 = *(Arc::AttributeIterator **)&jarg1; 
08048   result = (std::string *)((Arc::AttributeIterator const *)arg1)->operator ->();
08049   *(std::string **)&jresult = result; 
08050   return jresult;
08051 }
08052 
08053 
08054 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_AttributeIterator_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08055   jstring jresult = 0 ;
08056   Arc::AttributeIterator *arg1 = (Arc::AttributeIterator *) 0 ;
08057   std::string *result = 0 ;
08058   
08059   (void)jenv;
08060   (void)jcls;
08061   (void)jarg1_;
08062   arg1 = *(Arc::AttributeIterator **)&jarg1; 
08063   {
08064     std::string const &_result_ref = ((Arc::AttributeIterator const *)arg1)->key();
08065     result = (std::string *) &_result_ref;
08066   }
08067   jresult = jenv->NewStringUTF(result->c_str()); 
08068   return jresult;
08069 }
08070 
08071 
08072 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_AttributeIterator_1next_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08073   jlong jresult = 0 ;
08074   Arc::AttributeIterator *arg1 = (Arc::AttributeIterator *) 0 ;
08075   Arc::AttributeIterator *result = 0 ;
08076   
08077   (void)jenv;
08078   (void)jcls;
08079   (void)jarg1_;
08080   arg1 = *(Arc::AttributeIterator **)&jarg1; 
08081   {
08082     Arc::AttributeIterator const &_result_ref = (arg1)->operator ++();
08083     result = (Arc::AttributeIterator *) &_result_ref;
08084   }
08085   *(Arc::AttributeIterator **)&jresult = result; 
08086   return jresult;
08087 }
08088 
08089 
08090 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_AttributeIterator_1next_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
08091   jlong jresult = 0 ;
08092   Arc::AttributeIterator *arg1 = (Arc::AttributeIterator *) 0 ;
08093   int arg2 ;
08094   Arc::AttributeIterator result;
08095   
08096   (void)jenv;
08097   (void)jcls;
08098   (void)jarg1_;
08099   arg1 = *(Arc::AttributeIterator **)&jarg1; 
08100   arg2 = (int)jarg2; 
08101   result = (arg1)->operator ++(arg2);
08102   *(Arc::AttributeIterator **)&jresult = new Arc::AttributeIterator((const Arc::AttributeIterator &)result); 
08103   return jresult;
08104 }
08105 
08106 
08107 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_AttributeIterator_1hasMore(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08108   jboolean jresult = 0 ;
08109   Arc::AttributeIterator *arg1 = (Arc::AttributeIterator *) 0 ;
08110   bool result;
08111   
08112   (void)jenv;
08113   (void)jcls;
08114   (void)jarg1_;
08115   arg1 = *(Arc::AttributeIterator **)&jarg1; 
08116   result = (bool)((Arc::AttributeIterator const *)arg1)->hasMore();
08117   jresult = (jboolean)result; 
08118   return jresult;
08119 }
08120 
08121 
08122 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1MessageAttributes(JNIEnv *jenv, jclass jcls) {
08123   jlong jresult = 0 ;
08124   Arc::MessageAttributes *result = 0 ;
08125   
08126   (void)jenv;
08127   (void)jcls;
08128   result = (Arc::MessageAttributes *)new Arc::MessageAttributes();
08129   *(Arc::MessageAttributes **)&jresult = result; 
08130   return jresult;
08131 }
08132 
08133 
08134 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_MessageAttributes_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
08135   Arc::MessageAttributes *arg1 = (Arc::MessageAttributes *) 0 ;
08136   std::string *arg2 = 0 ;
08137   std::string *arg3 = 0 ;
08138   
08139   (void)jenv;
08140   (void)jcls;
08141   (void)jarg1_;
08142   arg1 = *(Arc::MessageAttributes **)&jarg1; 
08143   if(!jarg2) {
08144     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08145     return ;
08146   }
08147   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
08148   if (!arg2_pstr) return ;
08149   std::string arg2_str(arg2_pstr);
08150   arg2 = &arg2_str;
08151   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
08152   if(!jarg3) {
08153     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08154     return ;
08155   }
08156   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
08157   if (!arg3_pstr) return ;
08158   std::string arg3_str(arg3_pstr);
08159   arg3 = &arg3_str;
08160   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
08161   (arg1)->set((std::string const &)*arg2,(std::string const &)*arg3);
08162 }
08163 
08164 
08165 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_MessageAttributes_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
08166   Arc::MessageAttributes *arg1 = (Arc::MessageAttributes *) 0 ;
08167   std::string *arg2 = 0 ;
08168   std::string *arg3 = 0 ;
08169   
08170   (void)jenv;
08171   (void)jcls;
08172   (void)jarg1_;
08173   arg1 = *(Arc::MessageAttributes **)&jarg1; 
08174   if(!jarg2) {
08175     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08176     return ;
08177   }
08178   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
08179   if (!arg2_pstr) return ;
08180   std::string arg2_str(arg2_pstr);
08181   arg2 = &arg2_str;
08182   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
08183   if(!jarg3) {
08184     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08185     return ;
08186   }
08187   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
08188   if (!arg3_pstr) return ;
08189   std::string arg3_str(arg3_pstr);
08190   arg3 = &arg3_str;
08191   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
08192   (arg1)->add((std::string const &)*arg2,(std::string const &)*arg3);
08193 }
08194 
08195 
08196 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_MessageAttributes_1removeAll(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
08197   Arc::MessageAttributes *arg1 = (Arc::MessageAttributes *) 0 ;
08198   std::string *arg2 = 0 ;
08199   
08200   (void)jenv;
08201   (void)jcls;
08202   (void)jarg1_;
08203   arg1 = *(Arc::MessageAttributes **)&jarg1; 
08204   if(!jarg2) {
08205     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08206     return ;
08207   }
08208   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
08209   if (!arg2_pstr) return ;
08210   std::string arg2_str(arg2_pstr);
08211   arg2 = &arg2_str;
08212   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
08213   (arg1)->removeAll((std::string const &)*arg2);
08214 }
08215 
08216 
08217 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_MessageAttributes_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
08218   Arc::MessageAttributes *arg1 = (Arc::MessageAttributes *) 0 ;
08219   std::string *arg2 = 0 ;
08220   std::string *arg3 = 0 ;
08221   
08222   (void)jenv;
08223   (void)jcls;
08224   (void)jarg1_;
08225   arg1 = *(Arc::MessageAttributes **)&jarg1; 
08226   if(!jarg2) {
08227     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08228     return ;
08229   }
08230   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
08231   if (!arg2_pstr) return ;
08232   std::string arg2_str(arg2_pstr);
08233   arg2 = &arg2_str;
08234   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
08235   if(!jarg3) {
08236     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08237     return ;
08238   }
08239   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
08240   if (!arg3_pstr) return ;
08241   std::string arg3_str(arg3_pstr);
08242   arg3 = &arg3_str;
08243   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
08244   (arg1)->remove((std::string const &)*arg2,(std::string const &)*arg3);
08245 }
08246 
08247 
08248 SWIGEXPORT jint JNICALL Java_nordugrid_arc_arcJNI_MessageAttributes_1count(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
08249   jint jresult = 0 ;
08250   Arc::MessageAttributes *arg1 = (Arc::MessageAttributes *) 0 ;
08251   std::string *arg2 = 0 ;
08252   int result;
08253   
08254   (void)jenv;
08255   (void)jcls;
08256   (void)jarg1_;
08257   arg1 = *(Arc::MessageAttributes **)&jarg1; 
08258   if(!jarg2) {
08259     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08260     return 0;
08261   }
08262   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
08263   if (!arg2_pstr) return 0;
08264   std::string arg2_str(arg2_pstr);
08265   arg2 = &arg2_str;
08266   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
08267   result = (int)((Arc::MessageAttributes const *)arg1)->count((std::string const &)*arg2);
08268   jresult = (jint)result; 
08269   return jresult;
08270 }
08271 
08272 
08273 SWIGEXPORT jstring JNICALL Java_nordugrid_arc_arcJNI_MessageAttributes_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
08274   jstring jresult = 0 ;
08275   Arc::MessageAttributes *arg1 = (Arc::MessageAttributes *) 0 ;
08276   std::string *arg2 = 0 ;
08277   std::string *result = 0 ;
08278   
08279   (void)jenv;
08280   (void)jcls;
08281   (void)jarg1_;
08282   arg1 = *(Arc::MessageAttributes **)&jarg1; 
08283   if(!jarg2) {
08284     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08285     return 0;
08286   }
08287   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
08288   if (!arg2_pstr) return 0;
08289   std::string arg2_str(arg2_pstr);
08290   arg2 = &arg2_str;
08291   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
08292   {
08293     std::string const &_result_ref = ((Arc::MessageAttributes const *)arg1)->get((std::string const &)*arg2);
08294     result = (std::string *) &_result_ref;
08295   }
08296   jresult = jenv->NewStringUTF(result->c_str()); 
08297   return jresult;
08298 }
08299 
08300 
08301 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_MessageAttributes_1getAll_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
08302   jlong jresult = 0 ;
08303   Arc::MessageAttributes *arg1 = (Arc::MessageAttributes *) 0 ;
08304   std::string *arg2 = 0 ;
08305   Arc::AttributeIterator result;
08306   
08307   (void)jenv;
08308   (void)jcls;
08309   (void)jarg1_;
08310   arg1 = *(Arc::MessageAttributes **)&jarg1; 
08311   if(!jarg2) {
08312     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08313     return 0;
08314   }
08315   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
08316   if (!arg2_pstr) return 0;
08317   std::string arg2_str(arg2_pstr);
08318   arg2 = &arg2_str;
08319   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
08320   result = ((Arc::MessageAttributes const *)arg1)->getAll((std::string const &)*arg2);
08321   *(Arc::AttributeIterator **)&jresult = new Arc::AttributeIterator((const Arc::AttributeIterator &)result); 
08322   return jresult;
08323 }
08324 
08325 
08326 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_MessageAttributes_1getAll_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08327   jlong jresult = 0 ;
08328   Arc::MessageAttributes *arg1 = (Arc::MessageAttributes *) 0 ;
08329   Arc::AttributeIterator result;
08330   
08331   (void)jenv;
08332   (void)jcls;
08333   (void)jarg1_;
08334   arg1 = *(Arc::MessageAttributes **)&jarg1; 
08335   result = ((Arc::MessageAttributes const *)arg1)->getAll();
08336   *(Arc::AttributeIterator **)&jresult = new Arc::AttributeIterator((const Arc::AttributeIterator &)result); 
08337   return jresult;
08338 }
08339 
08340 
08341 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1SecAttrFormat_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08342   jlong jresult = 0 ;
08343   Arc::SecAttrFormat *arg1 = 0 ;
08344   Arc::SecAttrFormat *result = 0 ;
08345   
08346   (void)jenv;
08347   (void)jcls;
08348   (void)jarg1_;
08349   arg1 = *(Arc::SecAttrFormat **)&jarg1;
08350   if(!arg1) {
08351     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::SecAttrFormat const & reference is null");
08352     return 0;
08353   } 
08354   result = (Arc::SecAttrFormat *)new Arc::SecAttrFormat((Arc::SecAttrFormat const &)*arg1);
08355   *(Arc::SecAttrFormat **)&jresult = result; 
08356   return jresult;
08357 }
08358 
08359 
08360 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1SecAttrFormat_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
08361   jlong jresult = 0 ;
08362   char *arg1 = (char *) 0 ;
08363   Arc::SecAttrFormat *result = 0 ;
08364   
08365   (void)jenv;
08366   (void)jcls;
08367   arg1 = 0;
08368   if (jarg1) {
08369     arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
08370     if (!arg1) return 0;
08371   }
08372   result = (Arc::SecAttrFormat *)new Arc::SecAttrFormat((char const *)arg1);
08373   *(Arc::SecAttrFormat **)&jresult = result; 
08374   if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
08375   return jresult;
08376 }
08377 
08378 
08379 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1SecAttrFormat_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
08380   jlong jresult = 0 ;
08381   Arc::SecAttrFormat *result = 0 ;
08382   
08383   (void)jenv;
08384   (void)jcls;
08385   result = (Arc::SecAttrFormat *)new Arc::SecAttrFormat();
08386   *(Arc::SecAttrFormat **)&jresult = result; 
08387   return jresult;
08388 }
08389 
08390 
08391 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1UNDEFINED_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08392   Arc::SecAttrFormat *arg1 = (Arc::SecAttrFormat *) 0 ;
08393   
08394   (void)jenv;
08395   (void)jcls;
08396   (void)jarg1_;
08397   arg1 = *(Arc::SecAttrFormat **)&jarg1; 
08398   Arc::SecAttr::UNDEFINED = *arg1;
08399 }
08400 
08401 
08402 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1UNDEFINED_1get(JNIEnv *jenv, jclass jcls) {
08403   jlong jresult = 0 ;
08404   Arc::SecAttrFormat *result = 0 ;
08405   
08406   (void)jenv;
08407   (void)jcls;
08408   result = (Arc::SecAttrFormat *)&Arc::SecAttr::UNDEFINED;
08409   *(Arc::SecAttrFormat **)&jresult = result; 
08410   return jresult;
08411 }
08412 
08413 
08414 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1ARCAuth_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08415   Arc::SecAttrFormat *arg1 = (Arc::SecAttrFormat *) 0 ;
08416   
08417   (void)jenv;
08418   (void)jcls;
08419   (void)jarg1_;
08420   arg1 = *(Arc::SecAttrFormat **)&jarg1; 
08421   Arc::SecAttr::ARCAuth = *arg1;
08422 }
08423 
08424 
08425 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1ARCAuth_1get(JNIEnv *jenv, jclass jcls) {
08426   jlong jresult = 0 ;
08427   Arc::SecAttrFormat *result = 0 ;
08428   
08429   (void)jenv;
08430   (void)jcls;
08431   result = (Arc::SecAttrFormat *)&Arc::SecAttr::ARCAuth;
08432   *(Arc::SecAttrFormat **)&jresult = result; 
08433   return jresult;
08434 }
08435 
08436 
08437 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1XACML_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08438   Arc::SecAttrFormat *arg1 = (Arc::SecAttrFormat *) 0 ;
08439   
08440   (void)jenv;
08441   (void)jcls;
08442   (void)jarg1_;
08443   arg1 = *(Arc::SecAttrFormat **)&jarg1; 
08444   Arc::SecAttr::XACML = *arg1;
08445 }
08446 
08447 
08448 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1XACML_1get(JNIEnv *jenv, jclass jcls) {
08449   jlong jresult = 0 ;
08450   Arc::SecAttrFormat *result = 0 ;
08451   
08452   (void)jenv;
08453   (void)jcls;
08454   result = (Arc::SecAttrFormat *)&Arc::SecAttr::XACML;
08455   *(Arc::SecAttrFormat **)&jresult = result; 
08456   return jresult;
08457 }
08458 
08459 
08460 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1SAML_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08461   Arc::SecAttrFormat *arg1 = (Arc::SecAttrFormat *) 0 ;
08462   
08463   (void)jenv;
08464   (void)jcls;
08465   (void)jarg1_;
08466   arg1 = *(Arc::SecAttrFormat **)&jarg1; 
08467   Arc::SecAttr::SAML = *arg1;
08468 }
08469 
08470 
08471 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1SAML_1get(JNIEnv *jenv, jclass jcls) {
08472   jlong jresult = 0 ;
08473   Arc::SecAttrFormat *result = 0 ;
08474   
08475   (void)jenv;
08476   (void)jcls;
08477   result = (Arc::SecAttrFormat *)&Arc::SecAttr::SAML;
08478   *(Arc::SecAttrFormat **)&jresult = result; 
08479   return jresult;
08480 }
08481 
08482 
08483 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1GACL_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08484   Arc::SecAttrFormat *arg1 = (Arc::SecAttrFormat *) 0 ;
08485   
08486   (void)jenv;
08487   (void)jcls;
08488   (void)jarg1_;
08489   arg1 = *(Arc::SecAttrFormat **)&jarg1; 
08490   Arc::SecAttr::GACL = *arg1;
08491 }
08492 
08493 
08494 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1GACL_1get(JNIEnv *jenv, jclass jcls) {
08495   jlong jresult = 0 ;
08496   Arc::SecAttrFormat *result = 0 ;
08497   
08498   (void)jenv;
08499   (void)jcls;
08500   result = (Arc::SecAttrFormat *)&Arc::SecAttr::GACL;
08501   *(Arc::SecAttrFormat **)&jresult = result; 
08502   return jresult;
08503 }
08504 
08505 
08506 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1SecAttr(JNIEnv *jenv, jclass jcls) {
08507   jlong jresult = 0 ;
08508   Arc::SecAttr *result = 0 ;
08509   
08510   (void)jenv;
08511   (void)jcls;
08512   result = (Arc::SecAttr *)new Arc::SecAttr();
08513   *(Arc::SecAttr **)&jresult = result; 
08514   return jresult;
08515 }
08516 
08517 
08518 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1SecAttr(JNIEnv *jenv, jclass jcls, jlong jarg1) {
08519   Arc::SecAttr *arg1 = (Arc::SecAttr *) 0 ;
08520   
08521   (void)jenv;
08522   (void)jcls;
08523   arg1 = *(Arc::SecAttr **)&jarg1; 
08524   delete arg1;
08525 }
08526 
08527 
08528 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1toBool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08529   jboolean jresult = 0 ;
08530   Arc::SecAttr *arg1 = (Arc::SecAttr *) 0 ;
08531   bool result;
08532   
08533   (void)jenv;
08534   (void)jcls;
08535   (void)jarg1_;
08536   arg1 = *(Arc::SecAttr **)&jarg1; 
08537   result = (bool)((Arc::SecAttr const *)arg1)->operator bool();
08538   jresult = (jboolean)result; 
08539   return jresult;
08540 }
08541 
08542 
08543 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1Export_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3) {
08544   jboolean jresult = 0 ;
08545   Arc::SecAttr *arg1 = (Arc::SecAttr *) 0 ;
08546   Arc::SecAttrFormat arg2 ;
08547   std::string *arg3 = 0 ;
08548   Arc::SecAttrFormat *argp2 ;
08549   bool result;
08550   
08551   (void)jenv;
08552   (void)jcls;
08553   (void)jarg1_;
08554   (void)jarg2_;
08555   arg1 = *(Arc::SecAttr **)&jarg1; 
08556   argp2 = *(Arc::SecAttrFormat **)&jarg2; 
08557   if (!argp2) {
08558     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::SecAttrFormat");
08559     return 0;
08560   }
08561   arg2 = *argp2; 
08562   arg3 = *(std::string **)&jarg3;
08563   if(!arg3) {
08564     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::string & reference is null");
08565     return 0;
08566   } 
08567   result = (bool)((Arc::SecAttr const *)arg1)->Export(arg2,*arg3);
08568   jresult = (jboolean)result; 
08569   return jresult;
08570 }
08571 
08572 
08573 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1Export_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
08574   jboolean jresult = 0 ;
08575   Arc::SecAttr *arg1 = (Arc::SecAttr *) 0 ;
08576   Arc::SecAttrFormat arg2 ;
08577   Arc::XMLNode *arg3 = 0 ;
08578   Arc::SecAttrFormat *argp2 ;
08579   bool result;
08580   
08581   (void)jenv;
08582   (void)jcls;
08583   (void)jarg1_;
08584   (void)jarg2_;
08585   (void)jarg3_;
08586   arg1 = *(Arc::SecAttr **)&jarg1; 
08587   argp2 = *(Arc::SecAttrFormat **)&jarg2; 
08588   if (!argp2) {
08589     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::SecAttrFormat");
08590     return 0;
08591   }
08592   arg2 = *argp2; 
08593   arg3 = *(Arc::XMLNode **)&jarg3;
08594   if(!arg3) {
08595     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode & reference is null");
08596     return 0;
08597   } 
08598   result = (bool)((Arc::SecAttr const *)arg1)->Export(arg2,*arg3);
08599   jresult = (jboolean)result; 
08600   return jresult;
08601 }
08602 
08603 
08604 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1Import_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jstring jarg3) {
08605   jboolean jresult = 0 ;
08606   Arc::SecAttr *arg1 = (Arc::SecAttr *) 0 ;
08607   Arc::SecAttrFormat arg2 ;
08608   std::string *arg3 = 0 ;
08609   Arc::SecAttrFormat *argp2 ;
08610   bool result;
08611   
08612   (void)jenv;
08613   (void)jcls;
08614   (void)jarg1_;
08615   (void)jarg2_;
08616   arg1 = *(Arc::SecAttr **)&jarg1; 
08617   argp2 = *(Arc::SecAttrFormat **)&jarg2; 
08618   if (!argp2) {
08619     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::SecAttrFormat");
08620     return 0;
08621   }
08622   arg2 = *argp2; 
08623   if(!jarg3) {
08624     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08625     return 0;
08626   }
08627   const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
08628   if (!arg3_pstr) return 0;
08629   std::string arg3_str(arg3_pstr);
08630   arg3 = &arg3_str;
08631   jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
08632   result = (bool)(arg1)->Import(arg2,(std::string const &)*arg3);
08633   jresult = (jboolean)result; 
08634   return jresult;
08635 }
08636 
08637 
08638 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_SecAttr_1Import_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
08639   jboolean jresult = 0 ;
08640   Arc::SecAttr *arg1 = (Arc::SecAttr *) 0 ;
08641   Arc::SecAttrFormat arg2 ;
08642   Arc::XMLNode arg3 ;
08643   Arc::SecAttrFormat *argp2 ;
08644   Arc::XMLNode *argp3 ;
08645   bool result;
08646   
08647   (void)jenv;
08648   (void)jcls;
08649   (void)jarg1_;
08650   (void)jarg2_;
08651   (void)jarg3_;
08652   arg1 = *(Arc::SecAttr **)&jarg1; 
08653   argp2 = *(Arc::SecAttrFormat **)&jarg2; 
08654   if (!argp2) {
08655     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::SecAttrFormat");
08656     return 0;
08657   }
08658   arg2 = *argp2; 
08659   argp3 = *(Arc::XMLNode **)&jarg3; 
08660   if (!argp3) {
08661     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::XMLNode");
08662     return 0;
08663   }
08664   arg3 = *argp3; 
08665   result = (bool)(arg1)->Import(arg2,arg3);
08666   jresult = (jboolean)result; 
08667   return jresult;
08668 }
08669 
08670 
08671 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1MultiSecAttr(JNIEnv *jenv, jclass jcls) {
08672   jlong jresult = 0 ;
08673   Arc::MultiSecAttr *result = 0 ;
08674   
08675   (void)jenv;
08676   (void)jcls;
08677   result = (Arc::MultiSecAttr *)new Arc::MultiSecAttr();
08678   *(Arc::MultiSecAttr **)&jresult = result; 
08679   return jresult;
08680 }
08681 
08682 
08683 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1MultiSecAttr(JNIEnv *jenv, jclass jcls, jlong jarg1) {
08684   Arc::MultiSecAttr *arg1 = (Arc::MultiSecAttr *) 0 ;
08685   
08686   (void)jenv;
08687   (void)jcls;
08688   arg1 = *(Arc::MultiSecAttr **)&jarg1; 
08689   delete arg1;
08690 }
08691 
08692 
08693 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_MultiSecAttr_1toBool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
08694   jboolean jresult = 0 ;
08695   Arc::MultiSecAttr *arg1 = (Arc::MultiSecAttr *) 0 ;
08696   bool result;
08697   
08698   (void)jenv;
08699   (void)jcls;
08700   (void)jarg1_;
08701   arg1 = *(Arc::MultiSecAttr **)&jarg1; 
08702   result = (bool)((Arc::MultiSecAttr const *)arg1)->operator bool();
08703   jresult = (jboolean)result; 
08704   return jresult;
08705 }
08706 
08707 
08708 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_MultiSecAttr_1Export(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
08709   jboolean jresult = 0 ;
08710   Arc::MultiSecAttr *arg1 = (Arc::MultiSecAttr *) 0 ;
08711   Arc::SecAttrFormat arg2 ;
08712   Arc::XMLNode *arg3 = 0 ;
08713   Arc::SecAttrFormat *argp2 ;
08714   bool result;
08715   
08716   (void)jenv;
08717   (void)jcls;
08718   (void)jarg1_;
08719   (void)jarg2_;
08720   (void)jarg3_;
08721   arg1 = *(Arc::MultiSecAttr **)&jarg1; 
08722   argp2 = *(Arc::SecAttrFormat **)&jarg2; 
08723   if (!argp2) {
08724     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::SecAttrFormat");
08725     return 0;
08726   }
08727   arg2 = *argp2; 
08728   arg3 = *(Arc::XMLNode **)&jarg3;
08729   if(!arg3) {
08730     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode & reference is null");
08731     return 0;
08732   } 
08733   result = (bool)((Arc::MultiSecAttr const *)arg1)->Export(arg2,*arg3);
08734   jresult = (jboolean)result; 
08735   return jresult;
08736 }
08737 
08738 
08739 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_MultiSecAttr_1Import(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
08740   jboolean jresult = 0 ;
08741   Arc::MultiSecAttr *arg1 = (Arc::MultiSecAttr *) 0 ;
08742   Arc::SecAttrFormat arg2 ;
08743   Arc::XMLNode arg3 ;
08744   Arc::SecAttrFormat *argp2 ;
08745   Arc::XMLNode *argp3 ;
08746   bool result;
08747   
08748   (void)jenv;
08749   (void)jcls;
08750   (void)jarg1_;
08751   (void)jarg2_;
08752   (void)jarg3_;
08753   arg1 = *(Arc::MultiSecAttr **)&jarg1; 
08754   argp2 = *(Arc::SecAttrFormat **)&jarg2; 
08755   if (!argp2) {
08756     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::SecAttrFormat");
08757     return 0;
08758   }
08759   arg2 = *argp2; 
08760   argp3 = *(Arc::XMLNode **)&jarg3; 
08761   if (!argp3) {
08762     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::XMLNode");
08763     return 0;
08764   }
08765   arg3 = *argp3; 
08766   result = (bool)(arg1)->Import(arg2,arg3);
08767   jresult = (jboolean)result; 
08768   return jresult;
08769 }
08770 
08771 
08772 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1MessageAuth(JNIEnv *jenv, jclass jcls) {
08773   jlong jresult = 0 ;
08774   Arc::MessageAuth *result = 0 ;
08775   
08776   (void)jenv;
08777   (void)jcls;
08778   result = (Arc::MessageAuth *)new Arc::MessageAuth();
08779   *(Arc::MessageAuth **)&jresult = result; 
08780   return jresult;
08781 }
08782 
08783 
08784 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1MessageAuth(JNIEnv *jenv, jclass jcls, jlong jarg1) {
08785   Arc::MessageAuth *arg1 = (Arc::MessageAuth *) 0 ;
08786   
08787   (void)jenv;
08788   (void)jcls;
08789   arg1 = *(Arc::MessageAuth **)&jarg1; 
08790   delete arg1;
08791 }
08792 
08793 
08794 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_MessageAuth_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
08795   Arc::MessageAuth *arg1 = (Arc::MessageAuth *) 0 ;
08796   std::string *arg2 = 0 ;
08797   Arc::SecAttr *arg3 = (Arc::SecAttr *) 0 ;
08798   
08799   (void)jenv;
08800   (void)jcls;
08801   (void)jarg1_;
08802   (void)jarg3_;
08803   arg1 = *(Arc::MessageAuth **)&jarg1; 
08804   if(!jarg2) {
08805     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08806     return ;
08807   }
08808   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
08809   if (!arg2_pstr) return ;
08810   std::string arg2_str(arg2_pstr);
08811   arg2 = &arg2_str;
08812   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
08813   arg3 = *(Arc::SecAttr **)&jarg3; 
08814   (arg1)->set((std::string const &)*arg2,arg3);
08815 }
08816 
08817 
08818 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_MessageAuth_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
08819   Arc::MessageAuth *arg1 = (Arc::MessageAuth *) 0 ;
08820   std::string *arg2 = 0 ;
08821   
08822   (void)jenv;
08823   (void)jcls;
08824   (void)jarg1_;
08825   arg1 = *(Arc::MessageAuth **)&jarg1; 
08826   if(!jarg2) {
08827     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08828     return ;
08829   }
08830   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
08831   if (!arg2_pstr) return ;
08832   std::string arg2_str(arg2_pstr);
08833   arg2 = &arg2_str;
08834   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
08835   (arg1)->remove((std::string const &)*arg2);
08836 }
08837 
08838 
08839 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_MessageAuth_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
08840   jlong jresult = 0 ;
08841   Arc::MessageAuth *arg1 = (Arc::MessageAuth *) 0 ;
08842   std::string *arg2 = 0 ;
08843   Arc::SecAttr *result = 0 ;
08844   
08845   (void)jenv;
08846   (void)jcls;
08847   (void)jarg1_;
08848   arg1 = *(Arc::MessageAuth **)&jarg1; 
08849   if(!jarg2) {
08850     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08851     return 0;
08852   }
08853   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
08854   if (!arg2_pstr) return 0;
08855   std::string arg2_str(arg2_pstr);
08856   arg2 = &arg2_str;
08857   jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
08858   result = (Arc::SecAttr *)(arg1)->get((std::string const &)*arg2);
08859   *(Arc::SecAttr **)&jresult = result; 
08860   return jresult;
08861 }
08862 
08863 
08864 SWIGEXPORT jboolean JNICALL Java_nordugrid_arc_arcJNI_MessageAuth_1Export(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
08865   jboolean jresult = 0 ;
08866   Arc::MessageAuth *arg1 = (Arc::MessageAuth *) 0 ;
08867   Arc::SecAttrFormat arg2 ;
08868   Arc::XMLNode *arg3 = 0 ;
08869   Arc::SecAttrFormat *argp2 ;
08870   bool result;
08871   
08872   (void)jenv;
08873   (void)jcls;
08874   (void)jarg1_;
08875   (void)jarg2_;
08876   (void)jarg3_;
08877   arg1 = *(Arc::MessageAuth **)&jarg1; 
08878   argp2 = *(Arc::SecAttrFormat **)&jarg2; 
08879   if (!argp2) {
08880     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null Arc::SecAttrFormat");
08881     return 0;
08882   }
08883   arg2 = *argp2; 
08884   arg3 = *(Arc::XMLNode **)&jarg3;
08885   if(!arg3) {
08886     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Arc::XMLNode & reference is null");
08887     return 0;
08888   } 
08889   result = (bool)((Arc::MessageAuth const *)arg1)->Export(arg2,*arg3);
08890   jresult = (jboolean)result; 
08891   return jresult;
08892 }
08893 
08894 
08895 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_MessageAuth_1Filter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
08896   jlong jresult = 0 ;
08897   Arc::MessageAuth *arg1 = (Arc::MessageAuth *) 0 ;
08898   std::list< std::string > *arg2 = 0 ;
08899   std::list< std::string > *arg3 = 0 ;
08900   Arc::MessageAuth *result = 0 ;
08901   
08902   (void)jenv;
08903   (void)jcls;
08904   (void)jarg1_;
08905   (void)jarg2_;
08906   (void)jarg3_;
08907   arg1 = *(Arc::MessageAuth **)&jarg1; 
08908   arg2 = *(std::list< std::string > **)&jarg2;
08909   if(!arg2) {
08910     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::list< std::string > const & reference is null");
08911     return 0;
08912   } 
08913   arg3 = *(std::list< std::string > **)&jarg3;
08914   if(!arg3) {
08915     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::list< std::string > const & reference is null");
08916     return 0;
08917   } 
08918   result = (Arc::MessageAuth *)(arg1)->Filter((std::list< std::string > const &)*arg2,(std::list< std::string > const &)*arg3);
08919   *(Arc::MessageAuth **)&jresult = result; 
08920   return jresult;
08921 }
08922 
08923 
08924 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1MessagePayload(JNIEnv *jenv, jclass jcls, jlong jarg1) {
08925   Arc::MessagePayload *arg1 = (Arc::MessagePayload *) 0 ;
08926   
08927   (void)jenv;
08928   (void)jcls;
08929   arg1 = *(Arc::MessagePayload **)&jarg1; 
08930   delete arg1;
08931 }
08932 
08933 
08934 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1MessageContextElement(JNIEnv *jenv, jclass jcls) {
08935   jlong jresult = 0 ;
08936   Arc::MessageContextElement *result = 0 ;
08937   
08938   (void)jenv;
08939   (void)jcls;
08940   result = (Arc::MessageContextElement *)new Arc::MessageContextElement();
08941   *(Arc::MessageContextElement **)&jresult = result; 
08942   return jresult;
08943 }
08944 
08945 
08946 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1MessageContextElement(JNIEnv *jenv, jclass jcls, jlong jarg1) {
08947   Arc::MessageContextElement *arg1 = (Arc::MessageContextElement *) 0 ;
08948   
08949   (void)jenv;
08950   (void)jcls;
08951   arg1 = *(Arc::MessageContextElement **)&jarg1; 
08952   delete arg1;
08953 }
08954 
08955 
08956 SWIGEXPORT jlong JNICALL Java_nordugrid_arc_arcJNI_new_1MessageContext(JNIEnv *jenv, jclass jcls) {
08957   jlong jresult = 0 ;
08958   Arc::MessageContext *result = 0 ;
08959   
08960   (void)jenv;
08961   (void)jcls;
08962   result = (Arc::MessageContext *)new Arc::MessageContext();
08963   *(Arc::MessageContext **)&jresult = result; 
08964   return jresult;
08965 }
08966 
08967 
08968 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_delete_1MessageContext(JNIEnv *jenv, jclass jcls, jlong jarg1) {
08969   Arc::MessageContext *arg1 = (Arc::MessageContext *) 0 ;
08970   
08971   (void)jenv;
08972   (void)jcls;
08973   arg1 = *(Arc::MessageContext **)&jarg1; 
08974   delete arg1;
08975 }
08976 
08977 
08978 SWIGEXPORT void JNICALL Java_nordugrid_arc_arcJNI_MessageContext_1Add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
08979   Arc::MessageContext *arg1 = (Arc::MessageContext *) 0 ;
08980   std::string *arg2 = 0 ;
08981   Arc::MessageContextElement *arg3 = (Arc::MessageContextElement *) 0 ;
08982   
08983   (void)jenv;
08984   (void)jcls;
08985   (void)jarg1_;
08986   (void)jarg3_;
08987   arg1 = *(Arc::MessageContext **)&jarg1; 
08988   if(!jarg2) {
08989     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
08990     return ;
08991   }
08992   const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
08993