Esempio n. 1
0
 /// <summary>
 /// Resolve a custom collection external to XQuery and the Figaro XML Database containers.
 /// </summary>
 /// <param name="txn">If a transaction is in force, a reference to the <see cref="XmlTransaction"/> object; otherwise, <c>null</c>.</param>
 /// <param name="mgr">The owning <see cref="XmlManager"/> object.</param>
 /// <param name="uri">The URI of the collection to resolve.</param>
 /// <param name="collection">The <see cref="XmlResults"/> object to add collection items to.</param>
 /// <returns><c>true</c> if the collection was successfully resolved.</returns>
 public abstract bool ResolveCollection(XmlTransaction txn, XmlManager mgr, string uri, XmlResults collection);
Esempio n. 2
0
 /// <summary>
 /// Resolve the XQuery module location(s) according to the <paramref name="nameSpace"/>
 /// </summary>
 /// <param name="txn">If a transaction is in force, a reference to the <see cref="XmlTransaction"/> object; otherwise, <c>null</c>.</param>
 /// <param name="mgr">The <see cref="XmlManager"/> object associated with the operation.</param>
 /// <param name="nameSpace">The namespace of the module(s) to resolve.</param>
 /// <param name="moduleLocations">The <see cref="XmlResults"/> object to store the location(s) of the XQuery module(s).s</param>
 /// <returns><c>true</c> if the resolver resolves the location(s); otherwise, <c>false</c> is returned.</returns>
 public abstract bool ResolveModuleLocation(XmlTransaction txn, XmlManager mgr, string nameSpace, XmlResults moduleLocations);
Esempio n. 3
0
 /// <summary>
 /// Concatenate <see cref="XmlResults"/> objects together.
 /// </summary>
 /// <param name="results">The <see cref="XmlResults"/> object to concatenate.</param>
 public void ConcatResults(XmlResults results)
 {
 }
Esempio n. 4
0
 /// <summary>
 /// Create a new copy of the results.
 /// </summary>
 /// <param name="results">The <see cref="XmlResults"/> object to copy.</param>
 /// <returns>A new copy of the <see cref="XmlResults"/> object.</returns>
 public XmlResults CopyResults(XmlResults results)
 {
     return(null);
 }
 /// <summary>
 /// Creates an externally-declared XQuery variable by binding the specified
 /// <see cref="XmlResults"/> value, or sequence of
 /// values, to the specified variable name.
 /// </summary>
 /// <param name="name">The name of the variable to bind. Within the XQuery query,
 /// the variable can be referenced using the normal <c>$name</c> syntax.</param>
 /// <param name="value">A sequence of results to bind to the named variable.</param>
 /// <remarks>
 /// This method may be called at any time during the life of the application.
 /// </remarks>
 /// <seealso cref="XmlResults"/>
 public void SetVariableValue(string name, XmlResults value)
 {
 }