Property | Type | Description | |
---|---|---|---|
ChangeTypeXsltArgument | object | ||
ChangeTypeXsltResult | object | ||
CreateXmlType | XmlQueryType | ||
EnsureNavigator | |||
GetXmlType | XmlQueryType | ||
ParseTagName | void | ||
SyncToNavigator | |||
XmlQueryRuntime | System |
Method | Description | |
---|---|---|
AddNewIndex ( |
Add a newly built index over the specified "context" document to the existing collection of indexes.
|
|
ChangeTypeXsltArgument ( int indexType, object value, |
Forward call to ChangeTypeXsltArgument(XmlQueryType, object, Type).
|
|
ChangeTypeXsltResult ( int indexType, object value ) : object |
Forward call to ChangeTypeXsltResult(XmlQueryType, object)
|
|
ComparePosition ( |
Compare the relative positions of two navigators. Return -1 if navThis is before navThat, 1 if after, and 0 if they are positioned to the same node.
|
|
CreateCollation ( string collation ) : |
Create a collation from a string.
|
|
DebugGetGlobalNames ( ) : string[] |
Return array containing the names of all the global variables and parameters used in this query, in this format: {namespace}prefix:local-name
|
|
DebugGetGlobalValue ( string name ) : IList |
Get the value of a global value having the specified name. Always return the global value as a list of XPathItem. Return null if there is no global value having the specified name.
|
|
DebugGetXsltValue ( IList seq ) : object |
Convert sequence to it's appropriate XSLT type and return to caller.
|
|
DebugSetGlobalValue ( string name, object value ) : void |
Set the value of a global value having the specified name. If there is no such value, this method is a no-op.
|
|
DocOrderDistinct ( IList |
Get a comparer which guarantees a stable ordering among nodes, even those from different documents.
|
|
EarlyBoundFunctionExists ( string name, string namespaceUri ) : bool |
Return true if the early bound object identified by "namespaceUri" contains a method that matches "name".
|
|
EndRtfConstruction ( |
End construction of an Rtf and return it as an RtfNavigator. Return previous XmlQueryOutput object.
|
|
EndSequenceConstruction ( |
End construction of a nested sequence of items and return the items as an IList
|
|
FindIndex ( |
If an index having the specified Id has already been created over the "context" document, then return it in "index" and return true. Otherwise, create a new, empty index and return false.
|
|
GenerateId ( |
Generate a unique string identifier for the specified node. Do this by asking the navigator for an identifier that is unique within the document, and then prepend a document index.
|
|
GetAtomizedName ( int index ) : string |
Get the atomized name at the specified index in the array of names.
|
|
GetCollation ( int index ) : |
Get a collation that was statically created.
|
|
GetEarlyBoundObject ( int index ) : object |
Get the early-bound extension object identified by "index". If it does not yet exist, create an instance using the corresponding ConstructorInfo.
|
|
GetGlobalValue ( int index ) : object |
Return the value that is bound to the global variable or parameter specified by idxValue. If the value has not yet been computed, then compute it now and store it in this.globalValues.
|
|
GetNameFilter ( int index ) : |
Get the name filter at the specified index in the array of filters.
|
|
GetTypeFilter ( XPathNodeType nodeType ) : |
XPathNodeType.All: Filters all nodes XPathNodeType.Attribute: Filters attributes XPathNodeType.Namespace: Not allowed XPathNodeType.XXX: Filters all nodes *except* those having XPathNodeType.XXX
|
|
IsGlobalComputed ( int index ) : bool |
Return true if the global value specified by idxValue was previously computed.
|
|
IsQNameEqual ( |
Return true if the nav1's LocalName and NamespaceURI properties equal nav2's corresponding properties.
|
|
IsQNameEqual ( |
Return true if the specified navigator's LocalName and NamespaceURI properties equal the argument names.
|
|
MatchesXmlType ( IList |
Return true if the type of "seq" is a subtype of a singleton type identified by "code".
|
|
MatchesXmlType ( IList |
Return true if the type of every item in "seq" matches the xml type identified by "idxType".
|
|
MatchesXmlType ( |
Return true if the type of "item" is a subtype of the type identified by "code".
|
|
MatchesXmlType ( |
Return true if the type of "item" matches the xml type identified by "idxType".
|
|
ParseTagName ( string tagName, int indexPrefixMappings ) : |
Parse the specified tag name (foo:bar) and resolve the resulting prefix. If the prefix cannot be resolved, then throw an error. Return an XmlQualifiedName.
|
|
ParseTagName ( string tagName, string ns ) : |
Parse the specified tag name (foo:bar). Return an XmlQualifiedName consisting of the parsed local name and the specified namespace.
|
|
SendMessage ( string message ) : void |
Report query execution information to event handler.
|
|
SetGlobalValue ( int index, object value ) : void |
Return the value that is bound to the global variable or parameter specified by idxValue. If the value has not yet been computed, then compute it now and store it in this.globalValues.
|
|
StartRtfConstruction ( string baseUri, |
Start construction of an Rtf. Return a new XmlQueryOutput object that will be used to construct this Rtf.
|
|
StartSequenceConstruction ( |
Start construction of a nested sequence of items. Return a new XmlQueryOutput that will be used to construct this new sequence.
|
|
TextRtfConstruction ( string text, string baseUri ) : |
Construct a new RtfTextNavigator from the specified "text". This is much more efficient than calling StartNodeConstruction(), StartRtf(), WriteString(), EndRtf(), and EndNodeConstruction().
|
|
ThrowException ( string text ) : void |
Throw an Xml exception having the specified message text.
|
Method | Description | |
---|---|---|
ChangeTypeXsltArgument ( XmlQueryType xmlType, object value, |
Convert from the Clr type of "value" to Clr type "destinationType" using V1 Xslt rules. These rules include converting any Rtf values to Nodes.
|
|
ChangeTypeXsltResult ( XmlQueryType xmlType, object value ) : object |
Convert from the Clr type of "value" to the default Clr type that ILGen uses to represent the xml type, using the conversion rules of the xml type.
|
|
CreateXmlType ( |
Create an XmlQueryType that represents the type of "item".
|
|
EnsureNavigator ( object value ) : |
Ensure that "value" is a navigator and not null.
|
|
GetXmlType ( int idxType ) : XmlQueryType |
Get the Xml query type at the specified index in the array of types.
|
|
ParseTagName ( string tagName, int idxPrefixMappings, string &prefix, string &localName, string &ns ) : void |
Parse the specified tag name (foo:bar) and resolve the resulting prefix. If the prefix cannot be resolved, then throw an error. Return the prefix, localName, and namespace URI.
|
|
SyncToNavigator ( |
Position navThis to the same location as navThat.
|
|
XmlQueryRuntime ( XmlILCommand cmd, object defaultDataSource, |
This constructor is internal so that external users cannot construct it (and therefore we do not have to test it separately).
|
public AddNewIndex ( |
||
context | ||
indexId | int | |
index | ||
return | void |
public ChangeTypeXsltArgument ( int indexType, object value, |
||
indexType | int | |
value | object | |
destinationType | ||
return | object |
public ChangeTypeXsltResult ( int indexType, object value ) : object | ||
indexType | int | |
value | object | |
return | object |
public ComparePosition ( |
||
navigatorThis | ||
navigatorThat | ||
return | int |
public CreateCollation ( string collation ) : |
||
collation | string | |
return |
public DebugGetGlobalValue ( string name ) : IList | ||
name | string | |
return | IList |
public DebugGetXsltValue ( IList seq ) : object | ||
seq | IList | |
return | object |
public DebugSetGlobalValue ( string name, object value ) : void | ||
name | string | |
value | object | |
return | void |
public DocOrderDistinct ( IList |
||
seq | IList |
|
return | IList |
public EarlyBoundFunctionExists ( string name, string namespaceUri ) : bool | ||
name | string | |
namespaceUri | string | |
return | bool |
public EndRtfConstruction ( |
||
output | ||
return |
public EndSequenceConstruction ( |
||
output | ||
return | IList |
public FindIndex ( |
||
context | ||
indexId | int | |
index | ||
return | bool |
public GenerateId ( |
||
navigator | ||
return | string |
public GetAtomizedName ( int index ) : string | ||
index | int | |
return | string |
public GetCollation ( int index ) : |
||
index | int | |
return |
public GetEarlyBoundObject ( int index ) : object | ||
index | int | |
return | object |
public GetNameFilter ( int index ) : |
||
index | int | |
return |
public GetTypeFilter ( XPathNodeType nodeType ) : |
||
nodeType | XPathNodeType | |
return |
public IsQNameEqual ( |
||
n1 | ||
n2 | ||
return | bool |
public IsQNameEqual ( |
||
navigator | ||
indexLocalName | int | |
indexNamespaceUri | int | |
return | bool |
public MatchesXmlType ( IList |
||
seq | IList |
|
code | XmlTypeCode | |
return | bool |
public MatchesXmlType ( IList |
||
seq | IList |
|
indexType | int | |
return | bool |
public MatchesXmlType ( |
||
item | ||
code | XmlTypeCode | |
return | bool |
public MatchesXmlType ( |
||
item | ||
indexType | int | |
return | bool |
public ParseTagName ( string tagName, int indexPrefixMappings ) : |
||
tagName | string | |
indexPrefixMappings | int | |
return |
public ParseTagName ( string tagName, string ns ) : |
||
tagName | string | |
ns | string | |
return |
public SetGlobalValue ( int index, object value ) : void | ||
index | int | |
value | object | |
return | void |
public StartRtfConstruction ( string baseUri, |
||
baseUri | string | |
output | ||
return | void |
public StartSequenceConstruction ( |
||
output | ||
return | void |
public TextRtfConstruction ( string text, string baseUri ) : |
||
text | string | |
baseUri | string | |
return |