Example #1
0
 internal static IntPtr getCPtr(XmlTransaction obj)
 {
     if (obj != null)
     {
         return obj.swigCPtr;
     }
     return IntPtr.Zero;
 }
Example #2
0
 internal static Transaction Create(XmlTransaction v)
 {
     if (v == null)
     {
         return null;
     }
     return new Transaction(v);
 }
Example #3
0
 internal static IntPtr getCPtr(XmlTransaction obj)
 {
     if (obj != null)
     {
         return(obj.swigCPtr);
     }
     return(IntPtr.Zero);
 }
Example #4
0
 public virtual XmlInputStream resolveEntity(XmlTransaction txn, XmlManager mgr, string systemId, string publicId)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlResolver_resolveEntity(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlManager.getCPtr(mgr), systemId, publicId);
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlInputStream(cPtr, true);
     }
     return null;
 }
Example #5
0
 public virtual XmlInputStream resolveSchema(XmlTransaction txn, XmlManager mgr, string schemaLocation, string nameSpace)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlResolver_resolveSchema(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlManager.getCPtr(mgr), schemaLocation, nameSpace);
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlInputStream(cPtr, true);
     }
     return null;
 }
Example #6
0
        public virtual XmlInputStream resolveSchema(XmlTransaction txn, XmlManager mgr, string schemaLocation, string nameSpace)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlResolver_resolveSchema(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlManager.getCPtr(mgr), schemaLocation, nameSpace);

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlInputStream(cPtr, true));
            }
            return(null);
        }
Example #7
0
        public XmlQueryExpression prepare(XmlTransaction txn, string query, XmlQueryContext context)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlManager_prepare__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), query, XmlQueryContext.getCPtrOrThrow(context));

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlQueryExpression(cPtr, true));
            }
            return(null);
        }
Example #8
0
        public XmlResults execute(XmlTransaction txn, XmlValue contextItem, XmlQueryContext context, uint flags)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlQueryExpression_execute__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlValue.getCPtr(contextItem), XmlQueryContext.getCPtrOrThrow(context), flags);

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlResults(cPtr, true));
            }
            return(null);
        }
Example #9
0
        public XmlResults query(XmlTransaction txn, string query, XmlQueryContext context, uint flags)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlManager_query__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), query, XmlQueryContext.getCPtrOrThrow(context), flags);

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlResults(cPtr, true));
            }
            return(null);
        }
Example #10
0
        public XmlContainer createContainer(XmlTransaction txn, string name, uint flags, int type, int mode)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlManager_createContainer__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), name, flags, type, mode);

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlContainer(cPtr, true));
            }
            return(null);
        }
Example #11
0
        public XmlStatistics lookupStatistics(XmlTransaction txn, string uri, string name, string parent_uri, string parent_name, string index, XmlValue value)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlContainer_lookupStatistics__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), uri, name, parent_uri, parent_name, index, XmlValue.getCPtr(value));

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlStatistics(cPtr, true));
            }
            return(null);
        }
Example #12
0
        public XmlContainer openContainer(XmlTransaction txn, string name)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlManager_openContainer__SWIG_0(this.swigCPtr, XmlTransaction.getCPtr(txn), name);

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlContainer(cPtr, true));
            }
            return(null);
        }
Example #13
0
        public virtual XmlInputStream resolveEntity(XmlTransaction txn, XmlManager mgr, string systemId, string publicId)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlResolver_resolveEntity(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlManager.getCPtr(mgr), systemId, publicId);

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlInputStream(cPtr, true));
            }
            return(null);
        }
Example #14
0
        public XmlIndexSpecification getIndexSpecification(XmlTransaction txn, uint flags)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlContainer_getIndexSpecification__SWIG_2(this.swigCPtr, XmlTransaction.getCPtr(txn), flags);

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlIndexSpecification(cPtr, true));
            }
            return(null);
        }
Example #15
0
        public XmlResults lookupIndex(XmlTransaction txn, XmlQueryContext context, string uri, string name, string parent_uri, string parent_name, string index, XmlValue value, uint flags)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlContainer_lookupIndex__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlQueryContext.getCPtrOrThrow(context), uri, name, parent_uri, parent_name, index, XmlValue.getCPtr(value), flags);

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlResults(cPtr, true));
            }
            return(null);
        }
Example #16
0
        public XmlDocument getDocument(XmlTransaction txn, string name, uint flags)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlContainer_getDocument__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), name, flags);

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlDocument(cPtr, true));
            }
            return(null);
        }
Example #17
0
        public XmlResults getAllDocuments(XmlTransaction txn, uint flags)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlContainer_getAllDocuments__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), flags);

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlResults(cPtr, true));
            }
            return(null);
        }
Example #18
0
 public void putDocument(XmlTransaction txn, XmlDocument document, XmlUpdateContext context, uint flags)
 {
     DbXmlPINVOKE.XmlContainer_putDocument__SWIG_4(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlDocument.getCPtrOrThrow(document), XmlUpdateContext.getCPtrOrThrow(context), flags);
 }
Example #19
0
 public virtual bool resolveCollection(XmlTransaction txn, XmlManager mgr, string uri, XmlResults res)
 {
     return(DbXmlPINVOKE.XmlResolver_resolveCollection(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlManager.getCPtr(mgr), uri, XmlResults.getCPtrOrThrow(res)));
 }
Example #20
0
 public void addIndex(XmlTransaction txn, string uri, string name, int indexType, int syntaxType, XmlUpdateContext uc)
 {
     DbXmlPINVOKE.XmlContainer_addIndex__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), uri, name, indexType, syntaxType, XmlUpdateContext.getCPtrOrThrow(uc));
 }
Example #21
0
 private Transaction(XmlTransaction t)
 {
     this.txn_ = t;
 }
Example #22
0
 public XmlIndexSpecification getIndexSpecification(XmlTransaction txn, uint flags)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlContainer_getIndexSpecification__SWIG_2(this.swigCPtr, XmlTransaction.getCPtr(txn), flags);
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlIndexSpecification(cPtr, true);
     }
     return null;
 }
Example #23
0
 public void deleteDocument(XmlTransaction txn, XmlDocument document, XmlUpdateContext context)
 {
     DbXmlPINVOKE.XmlContainer_deleteDocument__SWIG_2(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlDocument.getCPtrOrThrow(document), XmlUpdateContext.getCPtrOrThrow(context));
 }
Example #24
0
 public XmlQueryExpression prepare(XmlTransaction txn, string query, XmlQueryContext context)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlManager_prepare__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), query, XmlQueryContext.getCPtrOrThrow(context));
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlQueryExpression(cPtr, true);
     }
     return null;
 }
Example #25
0
 public uint getNumDocuments(XmlTransaction txn)
 {
     return(DbXmlPINVOKE.XmlContainer_getNumDocuments__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn)));
 }
Example #26
0
 public XmlResults lookupIndex(XmlTransaction txn, XmlQueryContext context, string uri, string name, string parent_uri, string parent_name, string index, XmlValue value, uint flags)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlContainer_lookupIndex__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlQueryContext.getCPtrOrThrow(context), uri, name, parent_uri, parent_name, index, XmlValue.getCPtr(value), flags);
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlResults(cPtr, true);
     }
     return null;
 }
Example #27
0
 public void renameContainer(XmlTransaction txn, string oldName, string newName)
 {
     DbXmlPINVOKE.XmlManager_renameContainer__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), oldName, newName);
 }
Example #28
0
 public XmlContainer openContainer(XmlTransaction txn, string name, uint flags)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlManager_openContainer__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), name, flags);
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlContainer(cPtr, true);
     }
     return null;
 }
Example #29
0
 public void deleteDefaultIndex(XmlTransaction txn, string index, XmlUpdateContext uc)
 {
     DbXmlPINVOKE.XmlContainer_deleteDefaultIndex__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), index, XmlUpdateContext.getCPtrOrThrow(uc));
 }
Example #30
0
 public XmlResults query(XmlTransaction txn, string query, XmlQueryContext context, uint flags)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlManager_query__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), query, XmlQueryContext.getCPtrOrThrow(context), flags);
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlResults(cPtr, true);
     }
     return null;
 }
Example #31
0
 public void putDocument(XmlTransaction txn, XmlDocument document, XmlUpdateContext context, uint flags)
 {
     DbXmlPINVOKE.XmlContainer_putDocument__SWIG_4(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlDocument.getCPtrOrThrow(document), XmlUpdateContext.getCPtrOrThrow(context), flags);
 }
Example #32
0
 public XmlContainer createContainer(XmlTransaction txn, string name)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlManager_createContainer__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), name);
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlContainer(cPtr, true);
     }
     return null;
 }
Example #33
0
 public string putDocument(XmlTransaction txn, string name, string contents, XmlUpdateContext context, uint flags)
 {
     return(DbXmlPINVOKE.XmlContainer_putDocument__SWIG_5(this.swigCPtr, XmlTransaction.getCPtr(txn), name, contents, XmlUpdateContext.getCPtrOrThrow(context), flags));
 }
Example #34
0
 internal static IntPtr getCPtrOrThrow(XmlTransaction obj)
 {
     return obj.swigCPtr;
 }
Example #35
0
 public void replaceIndex(XmlTransaction txn, string uri, string name, string index, XmlUpdateContext uc)
 {
     DbXmlPINVOKE.XmlContainer_replaceIndex__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), uri, name, index, XmlUpdateContext.getCPtrOrThrow(uc));
 }
Example #36
0
 public XmlDocument getDocument(XmlTransaction txn, string name)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlContainer_getDocument__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), name);
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlDocument(cPtr, true);
     }
     return null;
 }
Example #37
0
 public void setIndexSpecification(XmlTransaction txn, XmlIndexSpecification index, XmlUpdateContext uc)
 {
     DbXmlPINVOKE.XmlContainer_setIndexSpecification__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlIndexSpecification.getCPtr(index), XmlUpdateContext.getCPtrOrThrow(uc));
 }
Example #38
0
 public void replaceDefaultIndex(XmlTransaction txn, string index, XmlUpdateContext uc)
 {
     DbXmlPINVOKE.XmlContainer_replaceDefaultIndex__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), index, XmlUpdateContext.getCPtrOrThrow(uc));
 }
Example #39
0
 public string putDocument(XmlTransaction txn, string name, string contents, XmlUpdateContext context, uint flags)
 {
     return DbXmlPINVOKE.XmlContainer_putDocument__SWIG_5(this.swigCPtr, XmlTransaction.getCPtr(txn), name, contents, XmlUpdateContext.getCPtrOrThrow(context), flags);
 }
Example #40
0
 public void renameContainer(XmlTransaction txn, string oldName, string newName)
 {
     DbXmlPINVOKE.XmlManager_renameContainer__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), oldName, newName);
 }
Example #41
0
 public void setIndexSpecification(XmlTransaction txn, XmlIndexSpecification index, XmlUpdateContext uc)
 {
     DbXmlPINVOKE.XmlContainer_setIndexSpecification__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlIndexSpecification.getCPtr(index), XmlUpdateContext.getCPtrOrThrow(uc));
 }
Example #42
0
 public uint execute(XmlTransaction txn, XmlValue toModify, XmlQueryContext context, XmlUpdateContext uc)
 {
     return DbXmlPINVOKE.XmlModify_execute__SWIG_2(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlValue.getCPtr(toModify), XmlQueryContext.getCPtrOrThrow(context), XmlUpdateContext.getCPtrOrThrow(uc));
 }
Example #43
0
 public void addIndex(XmlTransaction txn, string uri, string name, int indexType, int syntaxType, XmlUpdateContext uc)
 {
     DbXmlPINVOKE.XmlContainer_addIndex__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), uri, name, indexType, syntaxType, XmlUpdateContext.getCPtrOrThrow(uc));
 }
Example #44
0
 public virtual bool resolveDocument(XmlTransaction txn, XmlManager mgr, string uri, XmlValue res)
 {
     return(DbXmlPINVOKE.XmlResolver_resolveDocument(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlManager.getCPtr(mgr), uri, XmlValue.getCPtr(res)));
 }
Example #45
0
 public virtual bool resolveDocument(XmlTransaction txn, XmlManager mgr, string uri, XmlValue res)
 {
     return DbXmlPINVOKE.XmlResolver_resolveDocument(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlManager.getCPtr(mgr), uri, XmlValue.getCPtr(res));
 }
Example #46
0
 internal static IntPtr getCPtrOrThrow(XmlTransaction obj)
 {
     return(obj.swigCPtr);
 }
Example #47
0
 public XmlStatistics lookupStatistics(XmlTransaction txn, string uri, string name, string parent_uri, string parent_name, string index, XmlValue value)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlContainer_lookupStatistics__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), uri, name, parent_uri, parent_name, index, XmlValue.getCPtr(value));
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlStatistics(cPtr, true);
     }
     return null;
 }
Example #48
0
 public virtual bool resolveCollection(XmlTransaction txn, XmlManager mgr, string uri, XmlResults res)
 {
     return DbXmlPINVOKE.XmlResolver_resolveCollection(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlManager.getCPtr(mgr), uri, XmlResults.getCPtrOrThrow(res));
 }
Example #49
0
 public XmlResults getAllDocuments(XmlTransaction txn, uint flags)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlContainer_getAllDocuments__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), flags);
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlResults(cPtr, true);
     }
     return null;
 }
Example #50
0
 public void deleteDocument(XmlTransaction txn, XmlDocument document, XmlUpdateContext context)
 {
     DbXmlPINVOKE.XmlContainer_deleteDocument__SWIG_2(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlDocument.getCPtrOrThrow(document), XmlUpdateContext.getCPtrOrThrow(context));
 }
Example #51
0
 public uint getNumDocuments(XmlTransaction txn)
 {
     return DbXmlPINVOKE.XmlContainer_getNumDocuments__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn));
 }
Example #52
0
 public void deleteDocument(XmlTransaction txn, string name, XmlUpdateContext context)
 {
     DbXmlPINVOKE.XmlContainer_deleteDocument__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), name, XmlUpdateContext.getCPtrOrThrow(context));
 }
Example #53
0
 public void deleteIndex(XmlTransaction txn, string uri, string name, string index, XmlUpdateContext uc)
 {
     DbXmlPINVOKE.XmlContainer_deleteIndex__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), uri, name, index, XmlUpdateContext.getCPtrOrThrow(uc));
 }
Example #54
0
 public uint execute(XmlTransaction txn, XmlValue toModify, XmlQueryContext context, XmlUpdateContext uc)
 {
     return(DbXmlPINVOKE.XmlModify_execute__SWIG_2(this.swigCPtr, XmlTransaction.getCPtr(txn), XmlValue.getCPtr(toModify), XmlQueryContext.getCPtrOrThrow(context), XmlUpdateContext.getCPtrOrThrow(uc)));
 }
Example #55
0
 public void deleteDocument(XmlTransaction txn, string name, XmlUpdateContext context)
 {
     DbXmlPINVOKE.XmlContainer_deleteDocument__SWIG_3(this.swigCPtr, XmlTransaction.getCPtr(txn), name, XmlUpdateContext.getCPtrOrThrow(context));
 }