C# Class Castle.Components.DictionaryAdapter.XPathContext

Inheritance: System.Xml.Xsl.XsltContext
Exibir arquivo Open project: Jarvin-Guan/CleanAOP Class Usage Examples

Public Methods

Method Description
AddFunction ( string prefix, string name, Func function ) : XPathContext
AddFunction ( string prefix, string name, IXsltContextFunction function ) : XPathContext
AddNamespace ( string namespaceUri ) : string
AddSerializer ( IXPathSerializer serializer ) : XPathContext
AddStandardNamespaces ( XPathNavigator source ) : void
AppendElement ( string name, string namespaceUri, XPathNavigator source ) : XPathNavigator
ApplyBehaviors ( XmlMetadata xmlMeta, IEnumerable behaviors ) : XPathContext
CompareDocument ( string baseUri, string nextbaseUri ) : int
CreateAttribute ( string name, string namespaceUri, XPathNavigator source ) : XPathNavigator
CreateChild ( XmlMetadata xmlMeta ) : XPathContext
CreateChild ( XmlMetadata xmlMeta, IEnumerable behaviors ) : XPathContext
CreateNamespace ( string prefix, string namespaceUri, XPathNavigator source ) : string
Evaluate ( XPathExpression xpath, XPathNavigator source, object &result ) : bool
GetEffectiveNamespace ( string namespaceUri ) : string
GetXmlType ( XPathNavigator source ) : XmlQualifiedName
HasNamespace ( string prefix ) : bool
IsNil ( XPathNavigator source ) : bool
LookupNamespace ( string prefix ) : string
LookupPrefix ( string uri ) : string
MakeNil ( XPathNavigator source ) : bool
Matches ( XPathExpression xpath, XPathNavigator source ) : bool
PreserveWhitespace ( XPathNavigator node ) : bool
ResolveFunction ( string prefix, string name, XPathResultType argTypes ) : IXsltContextFunction
ResolveVariable ( string prefix, string name ) : IXsltContextVariable
SelectSingleNode ( XPathExpression xpath, XPathNavigator source ) : XPathNavigator
SetXmlType ( string name, string namespaceUri, XPathNavigator source ) : void
XPathContext ( ) : System
XPathContext ( NameTable nameTable ) : System
XPathContext ( XPathContext parent ) : System

Private Methods

Method Description
AddRootNamespace ( string namespaceUri, string prefix ) : void
GetQualifiedName ( string prefix, string name ) : string
GetUniquePrefix ( ) : string
IsRootNamespace ( string namespaceUri, string &prefix ) : bool
SplitQualifiedName ( string qualifiedName, string &name ) : string

Method Details

AddFunction() public method

public AddFunction ( string prefix, string name, Func function ) : XPathContext
prefix string
name string
function Func
return XPathContext

AddFunction() public method

public AddFunction ( string prefix, string name, IXsltContextFunction function ) : XPathContext
prefix string
name string
function IXsltContextFunction
return XPathContext

AddNamespace() public method

public AddNamespace ( string namespaceUri ) : string
namespaceUri string
return string

AddSerializer() public method

public AddSerializer ( IXPathSerializer serializer ) : XPathContext
serializer IXPathSerializer
return XPathContext

AddStandardNamespaces() public method

public AddStandardNamespaces ( XPathNavigator source ) : void
source XPathNavigator
return void

AppendElement() public method

public AppendElement ( string name, string namespaceUri, XPathNavigator source ) : XPathNavigator
name string
namespaceUri string
source XPathNavigator
return XPathNavigator

ApplyBehaviors() public method

public ApplyBehaviors ( XmlMetadata xmlMeta, IEnumerable behaviors ) : XPathContext
xmlMeta XmlMetadata
behaviors IEnumerable
return XPathContext

CompareDocument() public method

public CompareDocument ( string baseUri, string nextbaseUri ) : int
baseUri string
nextbaseUri string
return int

CreateAttribute() public method

public CreateAttribute ( string name, string namespaceUri, XPathNavigator source ) : XPathNavigator
name string
namespaceUri string
source XPathNavigator
return XPathNavigator

CreateChild() public method

public CreateChild ( XmlMetadata xmlMeta ) : XPathContext
xmlMeta XmlMetadata
return XPathContext

CreateChild() public method

public CreateChild ( XmlMetadata xmlMeta, IEnumerable behaviors ) : XPathContext
xmlMeta XmlMetadata
behaviors IEnumerable
return XPathContext

CreateNamespace() public method

public CreateNamespace ( string prefix, string namespaceUri, XPathNavigator source ) : string
prefix string
namespaceUri string
source XPathNavigator
return string

Evaluate() public method

public Evaluate ( XPathExpression xpath, XPathNavigator source, object &result ) : bool
xpath XPathExpression
source XPathNavigator
result object
return bool

GetEffectiveNamespace() public method

public GetEffectiveNamespace ( string namespaceUri ) : string
namespaceUri string
return string

GetXmlType() public method

public GetXmlType ( XPathNavigator source ) : XmlQualifiedName
source XPathNavigator
return XmlQualifiedName

HasNamespace() public method

public HasNamespace ( string prefix ) : bool
prefix string
return bool

IsNil() public method

public IsNil ( XPathNavigator source ) : bool
source XPathNavigator
return bool

LookupNamespace() public method

public LookupNamespace ( string prefix ) : string
prefix string
return string

LookupPrefix() public method

public LookupPrefix ( string uri ) : string
uri string
return string

MakeNil() public method

public MakeNil ( XPathNavigator source ) : bool
source XPathNavigator
return bool

Matches() public method

public Matches ( XPathExpression xpath, XPathNavigator source ) : bool
xpath XPathExpression
source XPathNavigator
return bool

PreserveWhitespace() public method

public PreserveWhitespace ( XPathNavigator node ) : bool
node XPathNavigator
return bool

ResolveFunction() public method

public ResolveFunction ( string prefix, string name, XPathResultType argTypes ) : IXsltContextFunction
prefix string
name string
argTypes XPathResultType
return IXsltContextFunction

ResolveVariable() public method

public ResolveVariable ( string prefix, string name ) : IXsltContextVariable
prefix string
name string
return IXsltContextVariable

SelectSingleNode() public method

public SelectSingleNode ( XPathExpression xpath, XPathNavigator source ) : XPathNavigator
xpath XPathExpression
source XPathNavigator
return XPathNavigator

SetXmlType() public method

public SetXmlType ( string name, string namespaceUri, XPathNavigator source ) : void
name string
namespaceUri string
source XPathNavigator
return void

XPathContext() public method

public XPathContext ( ) : System
return System

XPathContext() public method

public XPathContext ( NameTable nameTable ) : System
nameTable NameTable
return System

XPathContext() public method

public XPathContext ( XPathContext parent ) : System
parent XPathContext
return System