SharedDocumentSet ClassSharedDocumentSet ClassSharedDocumentSet Class

A document set wrapping a static document set.

Inheritance Hierarchy

Syntax

Public NotInheritable Class SharedDocumentSet _
        Inherits DocumentSet
public sealed class SharedDocumentSet : DocumentSet
public:
ref class SharedDocumentSet sealed : DocumentSet^
 
The SharedDocumentSetSharedDocumentSetSharedDocumentSet type exposes the following members.

Constructors

 ConstructorDescription
Public methodSharedDocumentSetSharedDocumentSetSharedDocumentSet Initializes a new instance of the SharedDocumentSetSharedDocumentSetSharedDocumentSet class.

Top

Methods

 MethodDescription
Public methodDocumentSet.AddCollection (AnyUri, IEnumerable<XPathItem>)DocumentSet.AddCollection (AnyUri, IEnumerable(Of XPathItem))DocumentSet::AddCollection (AnyUri^, IEnumerable<XPathItem^>^) Associates the specified items with the specified collection URI, or marks the collection URI as unavailable. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.AddCollection (AnyUri, IXPathNavigable[])DocumentSet.AddCollection (AnyUri, IXPathNavigable())DocumentSet::AddCollection (AnyUri^, array<IXPathNavigable^>^) Associates the specified nodes with the specified collection URI, or marks the collection URI as unavailable. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.AddDocument (IXPathNavigable)DocumentSet.AddDocument (IXPathNavigable)DocumentSet::AddDocument (IXPathNavigable^) Adds the document represented by the specified IXPathNavigableIXPathNavigableIXPathNavigable to the set of available documents, and associates it with its document URI. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.AddDocument (AnyUri, IXPathNavigable)DocumentSet.AddDocument (AnyUri, IXPathNavigable)DocumentSet::AddDocument (AnyUri^, IXPathNavigable^) Adds the document represented by the specified IXPathNavigableIXPathNavigableIXPathNavigable to the set of available documents, and associates it with the specified document URI, or marks a document as unavailable. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.AddDocument (AnyUri, ResolvedDocument)DocumentSet.AddDocument (AnyUri, ResolvedDocument)DocumentSet::AddDocument (AnyUri^, ResolvedDocument^) Adds the document represented by the specified ResolvedDocumentResolvedDocumentResolvedDocument to the set of available documents, and associates it with the specified document URI, or marks a document as unavailable. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.AddResourceDocumentSet.AddResourceDocumentSet::AddResource Adds the resource represented by the specified StreamStreamStream to the set of available resources, and associates it with its document URI. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodCollectionCollectionCollection Returns an IResolvedCollectionIResolvedCollectionIResolvedCollection instance representing the collection retrieved from the specified URI. (Overrides DocumentSet.CollectionDocumentSet.CollectionDocumentSet::Collection)
Public methodDocumentSet.CreateResultDocumentHandlerDocumentSet.CreateResultDocumentHandlerDocumentSet::CreateResultDocumentHandler Creates a new result document handler for the current document set. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.CreateXmlResolverDocumentSet.CreateXmlResolverDocumentSet::CreateXmlResolver Creates a new XmlResolverXmlResolverXmlResolver instance which retrieves resources from this document set. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.DocumentDocumentSet.DocumentDocumentSet::Document Returns an XPathNavigatorXPathNavigatorXPathNavigator instance representing a node in the document retrieved from the specified URI. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodObject.EqualsObject.EqualsObject::EqualsDetermines whether the specified object is equal to the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCodeServes as the default hash function. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetTypeGets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodDocumentSet.IncludeWellKnownDocumentTypeDefinitionsDocumentSet.IncludeWellKnownDocumentTypeDefinitionsDocumentSet::IncludeWellKnownDocumentTypeDefinitions Adds a collection of well known DTDs to the document set. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseCloneCreates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodDocumentSet.ProcessInputSettingsDocumentSet.ProcessInputSettingsDocumentSet::ProcessInputSettings Returns a DocumentSetDocumentSetDocumentSet which applies the specified InputSettingsInputSettingsInputSettings to the current DocumentSetDocumentSetDocumentSet. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.ReplaceDocumentDocumentSet.ReplaceDocumentDocumentSet::ReplaceDocument Replaces the document. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodResolvedDocumentResolvedDocumentResolvedDocument Returns an IXPathNavigableIXPathNavigableIXPathNavigable instance representing the document retrieved from the specified URI. (Overrides DocumentSet.ResolvedDocumentDocumentSet.ResolvedDocumentDocumentSet::ResolvedDocument)
Public methodResourceResourceResource Returns the resource with the specified URI. (Overrides DocumentSet.ResourceDocumentSet.ResourceDocumentSet::Resource)
Public methodDocumentSet.ShareDocumentSet ()DocumentSet.ShareDocumentSet ()DocumentSet::ShareDocumentSet () Returns a new SharedDocumentSetSharedDocumentSetSharedDocumentSet which wraps the current document set.. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.ShareDocumentSet (XmlNameTable)DocumentSet.ShareDocumentSet (XmlNameTable)DocumentSet::ShareDocumentSet (XmlNameTable^) Returns a new SharedDocumentSetSharedDocumentSetSharedDocumentSet which wraps the current document set and uses the specified XmlNameTableXmlNameTableXmlNameTable. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodObject.ToStringObject.ToStringObject::ToStringReturns a string that represents the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodDocumentSet.TryGetCollectionDocumentSet.TryGetCollectionDocumentSet::TryGetCollection Gets the collection with the specified URI from the DocumentSetDocumentSetDocumentSet. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.TryGetDocumentDocumentSet.TryGetDocumentDocumentSet::TryGetDocument Gets the document with the specified URI from the DocumentSetDocumentSetDocumentSet. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.TryGetResourceDocumentSet.TryGetResourceDocumentSet::TryGetResource Gets the resource with the specified URI from the DocumentSetDocumentSetDocumentSet. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodDocumentSet.TryGetUnparsedTextDocumentSet.TryGetUnparsedTextDocumentSet::TryGetUnparsedText Gets the unparsed text of the resource with the specified URI from the DocumentSetDocumentSetDocumentSet. (Inherited from XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet)
Public methodUnparsedTextUnparsedTextUnparsedText Returns a stringStringString containing the unparsed text of a resource with the specified URI. (Overrides DocumentSet.UnparsedTextDocumentSet.UnparsedTextDocumentSet::UnparsedText)

Top

Remarks

The SharedDocumentSetSharedDocumentSetSharedDocumentSet class wraps a static DocumentSetDocumentSetDocumentSet. Any documents and collections in the static document set are exposed through the SharedDocumentSetSharedDocumentSetSharedDocumentSet; but any documents added (or marked as unavailable) do not affect the underlying DocumentSetDocumentSetDocumentSet.

This allows a set of static documents and collections to be shared between XQuery programs, XSL transformations and XPath expressions, whilst documents loaded (or failed to load) will not be cached in the (static) document set.