internal MetaData(string uri, string name, XmlValue value) { this.uri_ = uri; this.name_ = name; this.value_ = Sleepycat.DbXml.Value.Create(value); this.valueOwned_ = true; }
internal static IntPtr getCPtr(XmlValue obj) { if (obj != null) { return(obj.swigCPtr); } return(IntPtr.Zero); }
private Value(XmlValue v) { this.v_ = null; if (v == null) { throw new NullReferenceException(); } this.v_ = v; }
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); }
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); }
public static void setValue(XmlValue to, XmlValue from) { DbXmlPINVOKE.XmlValue_setValue(getCPtr(to), getCPtr(from)); }
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; }
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)); }
public void setVariableValue(string name, XmlValue value) { DbXmlPINVOKE.XmlQueryContext_setVariableValue(this.swigCPtr, name, XmlValue.getCPtr(value)); }
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))); }
public void add(XmlValue value) { DbXmlPINVOKE.XmlResults_add(this.swigCPtr, XmlValue.getCPtr(value)); }
internal NodeImpl(XmlValue v) { this.v_ = v; }
internal static IntPtr getCPtr(XmlValue obj) { if (obj != null) { return obj.swigCPtr; } return IntPtr.Zero; }
public bool equals(XmlValue value) { return DbXmlPINVOKE.XmlValue_equals(this.swigCPtr, getCPtr(value)); }
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); }
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); }
internal XmlValue(XmlValue other) : this(DbXmlPINVOKE.new_XmlValue__SWIG_0(getCPtr(other)), true) { }
public void setMetaData(string uri, string name, XmlValue value) { DbXmlPINVOKE.XmlDocument_setMetaData__SWIG_0(this.swigCPtr, uri, name, XmlValue.getCPtr(value)); }
internal static IntPtr getCPtrOrThrow(XmlValue obj) { return obj.swigCPtr; }
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)); }
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; }
public bool equals(XmlValue value) { return(DbXmlPINVOKE.XmlValue_equals(this.swigCPtr, getCPtr(value))); }
internal static Value Create(XmlValue v) { if (v == null) { return null; } return new Value(v); }
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))); }
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; }
internal static IntPtr getCPtrOrThrow(XmlValue obj) { return(obj.swigCPtr); }
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); }