SeekableXPathNavigator Class

 

Provides read-only, random access to data contained in XML documents and enables efficient querying for specified nodes.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.Xml.XPath.XPathItem
    System.Xml.XPath.XPathNavigator
      System.ServiceModel.Dispatcher.SeekableXPathNavigator

public abstract class SeekableXPathNavigator : XPathNavigator

NameDescription
System_CAPS_protmethodSeekableXPathNavigator()

Initializes a new instance of the SeekableXPathNavigator class.

NameDescription
System_CAPS_pubpropertyBaseURI

When overridden in a derived class, gets the base URI for the current node.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyCanEdit

Gets a value indicating whether the XPathNavigator can edit the underlying XML data.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyCurrentPosition

When overridden in a derived class, gets or sets a value associated with the node in the data where the XPath navigator is positioned.

System_CAPS_pubpropertyHasAttributes

Gets a value indicating whether the current node has any attributes.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyHasChildren

Gets a value indicating whether the current node has any child nodes.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyInnerXml

Gets or sets the markup representing the child nodes of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyIsEmptyElement

When overridden in a derived class, gets a value indicating whether the current node is an empty element without an end element tag.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyIsNode

Gets a value indicating if the current node represents an XPath node.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyLocalName

When overridden in a derived class, gets the Name of the current node without any namespace prefix.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyName

When overridden in a derived class, gets the qualified name of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyNamespaceURI

When overridden in a derived class, gets the namespace URI of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyNameTable

When overridden in a derived class, gets the XmlNameTable of the XPathNavigator.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyNodeType

When overridden in a derived class, gets the XPathNodeType of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyOuterXml

Gets or sets the markup representing the opening and closing tags of the current node and its child nodes.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyPrefix

When overridden in a derived class, gets the namespace prefix associated with the current node.(Inherited from XPathNavigator.)

System_CAPS_pubpropertySchemaInfo

Gets the schema information that has been assigned to the current node as a result of schema validation.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyTypedValue

Gets the current node as a boxed object of the most appropriate .NET Framework type.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyUnderlyingObject

Used by XPathNavigator implementations which provide a "virtualized" XML view over a store, to provide access to underlying objects.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyValue

When overridden in a derived class, gets the string value of the item.(Inherited from XPathItem.)

System_CAPS_pubpropertyValueAsBoolean

Gets the current node's value as a Boolean.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyValueAsDateTime

Gets the current node's value as a DateTime.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyValueAsDouble

Gets the current node's value as a Double.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyValueAsInt

Gets the current node's value as an Int32.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyValueAsLong

Gets the current node's value as an Int64.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyValueType

Gets the .NET Framework Type of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyXmlLang

Gets the xml:lang scope for the current node.(Inherited from XPathNavigator.)

System_CAPS_pubpropertyXmlType

Gets the XmlSchemaType information for the current node.(Inherited from XPathNavigator.)

NameDescription
System_CAPS_pubmethodAppendChild()

Returns an XmlWriter object used to create one or more new child nodes at the end of the list of child nodes of the current node. (Inherited from XPathNavigator.)

System_CAPS_pubmethodAppendChild(String)

Creates a new child node at the end of the list of child nodes of the current node using the XML data string specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodAppendChild(XmlReader)

Creates a new child node at the end of the list of child nodes of the current node using the XML contents of the XmlReader object specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodAppendChild(XPathNavigator)

Creates a new child node at the end of the list of child nodes of the current node using the nodes in the XPathNavigator specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodAppendChildElement(String, String, String, String)

Creates a new child element node at the end of the list of child nodes of the current node using the namespace prefix, local name and namespace URI specified with the value specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodCheckValidity(XmlSchemaSet, ValidationEventHandler)

Verifies that the XML data in the XPathNavigator conforms to the XML Schema definition language (XSD) schema provided.(Inherited from XPathNavigator.)

System_CAPS_pubmethodClone()

When overridden in a derived class, creates a new XPathNavigator positioned at the same node as this XPathNavigator.(Inherited from XPathNavigator.)

System_CAPS_pubmethodComparePosition(Int64, Int64)

When overridden in a derived class, returns a value that describes the document order of the two specified positions.

System_CAPS_pubmethodComparePosition(XPathNavigator)

Compares the position of the current XPathNavigator with the position of the XPathNavigator specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodCompile(String)

Compiles a string representing an XPath expression and returns an XPathExpression object.(Inherited from XPathNavigator.)

System_CAPS_pubmethodCreateAttribute(String, String, String, String)

Creates an attribute node on the current element node using the namespace prefix, local name and namespace URI specified with the value specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodCreateAttributes()

Returns an XmlWriter object used to create new attributes on the current element.(Inherited from XPathNavigator.)

System_CAPS_pubmethodCreateNavigator()

Returns a copy of the XPathNavigator.(Inherited from XPathNavigator.)

System_CAPS_pubmethodDeleteRange(XPathNavigator)

Deletes a range of sibling nodes from the current node to the node specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodDeleteSelf()

Deletes the current node and its child nodes.(Inherited from XPathNavigator.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodEvaluate(String)

Evaluates the specified XPath expression and returns the typed result.(Inherited from XPathNavigator.)

System_CAPS_pubmethodEvaluate(String, IXmlNamespaceResolver)

Evaluates the specified XPath expression and returns the typed result, using the IXmlNamespaceResolver object specified to resolve namespace prefixes in the XPath expression.(Inherited from XPathNavigator.)

System_CAPS_pubmethodEvaluate(XPathExpression)

Evaluates the XPathExpression and returns the typed result.(Inherited from XPathNavigator.)

System_CAPS_pubmethodEvaluate(XPathExpression, XPathNodeIterator)

Uses the supplied context to evaluate the XPathExpression, and returns the typed result.(Inherited from XPathNavigator.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetAttribute(String, String)

Gets the value of the attribute with the specified local name and namespace URI.(Inherited from XPathNavigator.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLocalName(Int64)

When overridden in a derived class, returns the local name of the node at the position specified.

System_CAPS_pubmethodGetName(Int64)

When overridden in a derived class, returns the name of the node at the specified position.

System_CAPS_pubmethodGetNamespace(Int64)

When overridden in a derived class, returns the namespace of the node at the specified position.

System_CAPS_pubmethodGetNamespace(String)

Returns the value of the namespace node corresponding to the specified local name.(Inherited from XPathNavigator.)

System_CAPS_pubmethodGetNamespacesInScope(XmlNamespaceScope)

Returns the in-scope namespaces of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodGetNodeType(Int64)

When overridden in a derived class, returns the type of the node at the specified position.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetValue(Int64)

When overridden in a derived class, returns the text value of the node at the specified position.

System_CAPS_pubmethodInsertAfter()

Returns an XmlWriter object used to create a new sibling node after the currently selected node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodInsertAfter(String)

Creates a new sibling node after the currently selected node using the XML string specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodInsertAfter(XmlReader)

Creates a new sibling node after the currently selected node using the XML contents of the XmlReader object specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodInsertAfter(XPathNavigator)

Creates a new sibling node after the currently selected node using the nodes in the XPathNavigator object specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodInsertBefore()

Returns an XmlWriter object used to create a new sibling node before the currently selected node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodInsertBefore(String)

Creates a new sibling node before the currently selected node using the XML string specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodInsertBefore(XmlReader)

Creates a new sibling node before the currently selected node using the XML contents of the XmlReader object specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodInsertBefore(XPathNavigator)

Creates a new sibling node before the currently selected node using the nodes in the XPathNavigator specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodInsertElementAfter(String, String, String, String)

Creates a new sibling element after the current node using the namespace prefix, local name and namespace URI specified, with the value specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodInsertElementBefore(String, String, String, String)

Creates a new sibling element before the current node using the namespace prefix, local name, and namespace URI specified, with the value specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodIsDescendant(XPathNavigator)

Determines whether the specified XPathNavigator is a descendant of the current XPathNavigator.(Inherited from XPathNavigator.)

System_CAPS_pubmethodIsSamePosition(XPathNavigator)

When overridden in a derived class, determines whether the current XPathNavigator is at the same position as the specified XPathNavigator.(Inherited from XPathNavigator.)

System_CAPS_pubmethodLookupNamespace(String)

Gets the namespace URI for the specified prefix.(Inherited from XPathNavigator.)

System_CAPS_pubmethodLookupPrefix(String)

Gets the prefix declared for the specified namespace URI.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMatches(String)

Determines whether the current node matches the specified XPath expression.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMatches(XPathExpression)

Determines whether the current node matches the specified XPathExpression.(Inherited from XPathNavigator.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodMoveTo(XPathNavigator)

When overridden in a derived class, moves the XPathNavigator to the same position as the specified XPathNavigator.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToAttribute(String, String)

Moves the XPathNavigator to the attribute with the matching local name and namespace URI.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToChild(String, String)

Moves the XPathNavigator to the child node with the local name and namespace URI specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToChild(XPathNodeType)

Moves the XPathNavigator to the child node of the XPathNodeType specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToFirst()

Moves the XPathNavigator to the first sibling node of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToFirstAttribute()

When overridden in a derived class, moves the XPathNavigator to the first attribute of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToFirstChild()

When overridden in a derived class, moves the XPathNavigator to the first child node of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToFirstNamespace()

Moves the XPathNavigator to first namespace node of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToFirstNamespace(XPathNamespaceScope)

When overridden in a derived class, moves the XPathNavigator to the first namespace node that matches the XPathNamespaceScope specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToFollowing(String, String)

Moves the XPathNavigator to the element with the local name and namespace URI specified in document order.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToFollowing(String, String, XPathNavigator)

Moves the XPathNavigator to the element with the local name and namespace URI specified, to the boundary specified, in document order.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToFollowing(XPathNodeType)

Moves the XPathNavigator to the following element of the XPathNodeType specified in document order.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToFollowing(XPathNodeType, XPathNavigator)

Moves the XPathNavigator to the following element of the XPathNodeType specified, to the boundary specified, in document order.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToId(String)

When overridden in a derived class, moves to the node that has an attribute of type ID whose value matches the specified String.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToNamespace(String)

Moves the XPathNavigator to the namespace node with the specified namespace prefix.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToNext()

When overridden in a derived class, moves the XPathNavigator to the next sibling node of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToNext(String, String)

Moves the XPathNavigator to the next sibling node with the local name and namespace URI specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToNext(XPathNodeType)

Moves the XPathNavigator to the next sibling node of the current node that matches the XPathNodeType specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToNextAttribute()

When overridden in a derived class, moves the XPathNavigator to the next attribute.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToNextNamespace()

Moves the XPathNavigator to the next namespace node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToNextNamespace(XPathNamespaceScope)

When overridden in a derived class, moves the XPathNavigator to the next namespace node matching the XPathNamespaceScope specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToParent()

When overridden in a derived class, moves the XPathNavigator to the parent node of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToPrevious()

When overridden in a derived class, moves the XPathNavigator to the previous sibling node of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodMoveToRoot()

Moves the XPathNavigator to the root node that the current node belongs to.(Inherited from XPathNavigator.)

System_CAPS_pubmethodPrependChild()

Returns an XmlWriter object used to create a new child node at the beginning of the list of child nodes of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodPrependChild(String)

Creates a new child node at the beginning of the list of child nodes of the current node using the XML string specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodPrependChild(XmlReader)

Creates a new child node at the beginning of the list of child nodes of the current node using the XML contents of the XmlReader object specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodPrependChild(XPathNavigator)

Creates a new child node at the beginning of the list of child nodes of the current node using the nodes in the XPathNavigator object specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodPrependChildElement(String, String, String, String)

Creates a new child element at the beginning of the list of child nodes of the current node using the namespace prefix, local name, and namespace URI specified with the value specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodReadSubtree()

Returns an XmlReader object that contains the current node and its child nodes.(Inherited from XPathNavigator.)

System_CAPS_pubmethodReplaceRange(XPathNavigator)

Replaces a range of sibling nodes from the current node to the node specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodReplaceSelf(String)

Replaces the current node with the content of the string specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodReplaceSelf(XmlReader)

Replaces the current node with the contents of the XmlReader object specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodReplaceSelf(XPathNavigator)

Replaces the current node with the contents of the XPathNavigator object specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelect(String)

Selects a node set, using the specified XPath expression.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelect(String, IXmlNamespaceResolver)

Selects a node set using the specified XPath expression with the IXmlNamespaceResolver object specified to resolve namespace prefixes.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelect(XPathExpression)

Selects a node set using the specified XPathExpression.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelectAncestors(String, String, Boolean)

Selects all the ancestor nodes of the current node that have the specified local name and namespace URI.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelectAncestors(XPathNodeType, Boolean)

Selects all the ancestor nodes of the current node that have a matching XPathNodeType.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelectChildren(String, String)

Selects all the child nodes of the current node that have the local name and namespace URI specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelectChildren(XPathNodeType)

Selects all the child nodes of the current node that have the matching XPathNodeType.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelectDescendants(String, String, Boolean)

Selects all the descendant nodes of the current node with the local name and namespace URI specified.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelectDescendants(XPathNodeType, Boolean)

Selects all the descendant nodes of the current node that have a matching XPathNodeType.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelectSingleNode(String)

Selects a single node in the XPathNavigator using the specified XPath query.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelectSingleNode(String, IXmlNamespaceResolver)

Selects a single node in the XPathNavigator object using the specified XPath query with the IXmlNamespaceResolver object specified to resolve namespace prefixes.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSelectSingleNode(XPathExpression)

Selects a single node in the XPathNavigator using the specified XPathExpression object.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSetTypedValue(Object)

Sets the typed value of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodSetValue(String)

Sets the value of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodToString()

Gets the text value of the current node.(Inherited from XPathNavigator.)

System_CAPS_pubmethodValueAs(Type)

Returns the item's value as the specified type.(Inherited from XPathItem.)

System_CAPS_pubmethodValueAs(Type, IXmlNamespaceResolver)

Gets the current node's value as the Type specified, using the IXmlNamespaceResolver object specified to resolve namespace prefixes.(Inherited from XPathNavigator.)

System_CAPS_pubmethodWriteSubtree(XmlWriter)

Streams the current node and its child nodes to the XmlWriter object specified.(Inherited from XPathNavigator.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICloneable.Clone()

Creates a new copy of the XPathNavigator object.(Inherited from XPathNavigator.)

The SOAP messages passed between parts of the Windows Communication Foundation (WCF) system are handled by various components of the system that must inspect these messages to determine what actions to take in processing them. The XPath engine is a component that queries messages for this purpose and it requires a navigator to read SOAP messages and other XML documents. A navigator provides a cursor that moves from node to node tracking where the XML document is actually being read.

The XPath engine works with a SeekableXPathNavigator, which extends the XPathNavigator class by adding a CurrentPosition property. This property allows positions within the XML document to be saved and loaded quickly without having to clone the navigator, an expensive memory allocation that the XPathNavigator requires for such an operation. The XPath engine must frequently record the position of the cursor in the course of executing queries on XML documents, so the SeekableXPathNavigator provides an important optimization for message processing.

Note that the value of the CurrentPosition property is implementation-specific and may not map to node position or character position. Its value is only meaningful to the SeekableXPathNavigator implementation (and instance) that supplied it.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: