Пример #1
0
 internal static IntPtr getCPtr(XmlTransaction obj)
 {
     if (obj != null)
     {
         return obj.swigCPtr;
     }
     return IntPtr.Zero;
 }
Пример #2
0
 internal static Transaction Create(XmlTransaction v)
 {
     if (v == null)
     {
         return null;
     }
     return new Transaction(v);
 }
Пример #3
0
 internal static IntPtr getCPtr(XmlTransaction obj)
 {
     if (obj != null)
     {
         return(obj.swigCPtr);
     }
     return(IntPtr.Zero);
 }
Пример #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;
 }
Пример #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;
 }
Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
 }
Пример #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)));
 }
Пример #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));
 }
Пример #21
0
 private Transaction(XmlTransaction t)
 {
     this.txn_ = t;
 }
Пример #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;
 }
Пример #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));
 }
Пример #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;
 }
Пример #25
0
 public uint getNumDocuments(XmlTransaction txn)
 {
     return(DbXmlPINVOKE.XmlContainer_getNumDocuments__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn)));
 }
Пример #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;
 }
Пример #27
0
 public void renameContainer(XmlTransaction txn, string oldName, string newName)
 {
     DbXmlPINVOKE.XmlManager_renameContainer__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), oldName, newName);
 }
Пример #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;
 }
Пример #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));
 }
Пример #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;
 }
Пример #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);
 }
Пример #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;
 }
Пример #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));
 }
Пример #34
0
 internal static IntPtr getCPtrOrThrow(XmlTransaction obj)
 {
     return obj.swigCPtr;
 }
Пример #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));
 }
Пример #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;
 }
Пример #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));
 }
Пример #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));
 }
Пример #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);
 }
Пример #40
0
 public void renameContainer(XmlTransaction txn, string oldName, string newName)
 {
     DbXmlPINVOKE.XmlManager_renameContainer__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn), oldName, newName);
 }
Пример #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));
 }
Пример #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));
 }
Пример #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));
 }
Пример #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)));
 }
Пример #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));
 }
Пример #46
0
 internal static IntPtr getCPtrOrThrow(XmlTransaction obj)
 {
     return(obj.swigCPtr);
 }
Пример #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;
 }
Пример #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));
 }
Пример #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;
 }
Пример #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));
 }
Пример #51
0
 public uint getNumDocuments(XmlTransaction txn)
 {
     return DbXmlPINVOKE.XmlContainer_getNumDocuments__SWIG_1(this.swigCPtr, XmlTransaction.getCPtr(txn));
 }
Пример #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));
 }
Пример #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));
 }
Пример #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)));
 }
Пример #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));
 }