예제 #1
0
파일: MetaData.cs 프로젝트: skitsanos/WDK9
 internal MetaData(string uri, string name, XmlValue value)
 {
     this.uri_ = uri;
     this.name_ = name;
     this.value_ = Sleepycat.DbXml.Value.Create(value);
     this.valueOwned_ = true;
 }
예제 #2
0
 internal static IntPtr getCPtr(XmlValue obj)
 {
     if (obj != null)
     {
         return(obj.swigCPtr);
     }
     return(IntPtr.Zero);
 }
예제 #3
0
파일: Value.cs 프로젝트: skitsanos/WDK9
 private Value(XmlValue v)
 {
     this.v_ = null;
     if (v == null)
     {
         throw new NullReferenceException();
     }
     this.v_ = v;
 }
예제 #4
0
        public XmlStatistics lookupStatistics(string uri, string name, string index, XmlValue value)
        {
            IntPtr cPtr = DbXmlPINVOKE.XmlContainer_lookupStatistics__SWIG_0(this.swigCPtr, uri, name, index, XmlValue.getCPtr(value));

            if (!(cPtr == IntPtr.Zero))
            {
                return(new XmlStatistics(cPtr, true));
            }
            return(null);
        }
예제 #5
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);
        }
예제 #6
0
 public static void setValue(XmlValue to, XmlValue from)
 {
     DbXmlPINVOKE.XmlValue_setValue(getCPtr(to), getCPtr(from));
 }
예제 #7
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;
 }
예제 #8
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));
 }
예제 #9
0
 public void setVariableValue(string name, XmlValue value)
 {
     DbXmlPINVOKE.XmlQueryContext_setVariableValue(this.swigCPtr, name, XmlValue.getCPtr(value));
 }
예제 #10
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)));
 }
예제 #11
0
 public void add(XmlValue value)
 {
     DbXmlPINVOKE.XmlResults_add(this.swigCPtr, XmlValue.getCPtr(value));
 }
예제 #12
0
파일: NodeImpl.cs 프로젝트: skitsanos/WDK9
 internal NodeImpl(XmlValue v)
 {
     this.v_ = v;
 }
예제 #13
0
파일: XmlValue.cs 프로젝트: skitsanos/WDK9
 internal static IntPtr getCPtr(XmlValue obj)
 {
     if (obj != null)
     {
         return obj.swigCPtr;
     }
     return IntPtr.Zero;
 }
예제 #14
0
파일: XmlValue.cs 프로젝트: skitsanos/WDK9
 public bool equals(XmlValue value)
 {
     return DbXmlPINVOKE.XmlValue_equals(this.swigCPtr, getCPtr(value));
 }
예제 #15
0
파일: XmlValue.cs 프로젝트: skitsanos/WDK9
 public static void setValue(XmlValue to, XmlValue from)
 {
     DbXmlPINVOKE.XmlValue_setValue(getCPtr(to), getCPtr(from));
 }
예제 #16
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);
        }
예제 #17
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);
        }
예제 #18
0
 internal XmlValue(XmlValue other) : this(DbXmlPINVOKE.new_XmlValue__SWIG_0(getCPtr(other)), true)
 {
 }
예제 #19
0
 public void setMetaData(string uri, string name, XmlValue value)
 {
     DbXmlPINVOKE.XmlDocument_setMetaData__SWIG_0(this.swigCPtr, uri, name, XmlValue.getCPtr(value));
 }
예제 #20
0
파일: XmlValue.cs 프로젝트: skitsanos/WDK9
 internal static IntPtr getCPtrOrThrow(XmlValue obj)
 {
     return obj.swigCPtr;
 }
예제 #21
0
 public void add(XmlValue value)
 {
     DbXmlPINVOKE.XmlResults_add(this.swigCPtr, XmlValue.getCPtr(value));
 }
예제 #22
0
파일: XmlValue.cs 프로젝트: skitsanos/WDK9
 internal XmlValue(XmlValue other)
     : this(DbXmlPINVOKE.new_XmlValue__SWIG_0(getCPtr(other)), true)
 {
 }
예제 #23
0
파일: XmlModify.cs 프로젝트: skitsanos/WDK9
 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));
 }
예제 #24
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;
 }
예제 #25
0
 public bool equals(XmlValue value)
 {
     return(DbXmlPINVOKE.XmlValue_equals(this.swigCPtr, getCPtr(value)));
 }
예제 #26
0
파일: Value.cs 프로젝트: skitsanos/WDK9
 internal static Value Create(XmlValue v)
 {
     if (v == null)
     {
         return null;
     }
     return new Value(v);
 }
예제 #27
0
 public void setVariableValue(string name, XmlValue value)
 {
     DbXmlPINVOKE.XmlQueryContext_setVariableValue(this.swigCPtr, name, XmlValue.getCPtr(value));
 }
예제 #28
0
 public void setMetaData(string uri, string name, XmlValue value)
 {
     DbXmlPINVOKE.XmlDocument_setMetaData__SWIG_0(this.swigCPtr, uri, name, XmlValue.getCPtr(value));
 }
예제 #29
0
파일: XmlModify.cs 프로젝트: skitsanos/WDK9
 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)));
 }
예제 #30
0
 public XmlStatistics lookupStatistics(string uri, string name, string index, XmlValue value)
 {
     IntPtr cPtr = DbXmlPINVOKE.XmlContainer_lookupStatistics__SWIG_0(this.swigCPtr, uri, name, index, XmlValue.getCPtr(value));
     if (!(cPtr == IntPtr.Zero))
     {
         return new XmlStatistics(cPtr, true);
     }
     return null;
 }
예제 #31
0
 internal static IntPtr getCPtrOrThrow(XmlValue obj)
 {
     return(obj.swigCPtr);
 }
예제 #32
0
파일: Node.cs 프로젝트: skitsanos/WDK9
 internal static Node CreateNode(XmlValue v)
 {
     if (v == null)
     {
         return null;
     }
     if (v.getType() != XmlValue.NODE)
     {
         throw new Exception("XmlValue is not of type XmlValue.NODE");
     }
     if (v.getNodeType() == XmlValue.DOCUMENT_NODE)
     {
         Document document = Document.Create(v.asDocument());
         v.Dispose();
         return document;
     }
     return new NodeImpl(v);
 }