C# Class Monodoc.EcmaHelpSource

Inheritance: Monodoc.HelpSource
显示文件 Open project: runefs/Marvin Class Usage Examples

Public Properties

Property Type Description
ExtObject ExtensionObject

Public Methods

Method Description
AddExtensionMethodsFromHelpSource ( ArrayList extensions, EcmaHelpSource es ) : void
EcmaHelpSource ( ) : System
EcmaHelpSource ( string base_file, bool create ) : System
GetExamples ( XmlNode n, StringBuilder sb ) : void
GetIdFromUrl ( string prefix, string ns, string type ) : string
GetNiceUrl ( Monodoc.Node node ) : string
GetNodeXPath ( XPathNavigator n ) : string
GetPublicUrl ( string url ) : string
GetText ( string url, Monodoc.Node &match_node ) : string
GetTextFromNode ( XmlNode n, StringBuilder sb ) : void
GetUrlForType ( string prefix, string ns, string type, string member, Monodoc.Node &match_node ) : string
Htmlize ( IXPathNavigable ecma_xml ) : string
Htmlize ( IXPathNavigable ecma_xml, XsltArgumentList args ) : string
MakeOperatorSignature ( XmlNode n, string &nicename, string &sig ) : void
MakeSignature ( XmlNode n, string cstyleclass ) : string
PopulateIndex ( Monodoc.IndexMaker index_maker ) : void
PopulateSearchableIndex ( Mono.Lucene.Net.Index.IndexWriter writer ) : void
RenderNamespaceLookup ( string nsurl, Monodoc.Node &match_node ) : string
RenderPreviewDocs ( XmlNode newNode, XmlWriter writer ) : void
RenderTypeLookup ( string prefix, string ns, string type, string member, Monodoc.Node &match_node ) : string
ToEscapedTypeName ( string typename ) : string

Protected Methods

Method Description
CreateDocumentResolver ( ) : XmlResolver
GetNamespaceDocument ( string ns ) : XmlDocument
GetXmlFromUrl ( string url, string &rest ) : XmlDocument

Private Methods

Method Description
Count ( string s, char c ) : int
EnsureTransform ( ) : void
GetAttempts ( string ns, string type ) : MatchAttempt[]
GetDocElement ( XmlDocument d, string rest ) : XmlElement
GetDocument ( Monodoc.HelpSource hs, string fname ) : XmlDocument
GetFile ( string url, string &rest ) : string
GetKindFromCaption ( string s ) : string
GetMemberType ( string type ) : string
GetTextFromUrl ( string url ) : string
Htmlize ( IXPathNavigable ecma_xml, XsltArgumentList args, XmlWriter w ) : void
LargeName ( Monodoc.Node matched_node ) : string
MatchesNamespace ( MatchAttempt attempts, string ns, string &type ) : bool
RenderMemberLookup ( string typename, string member, Monodoc.Node &type_node ) : string
SelectCount ( XmlNode node, string xpath ) : int
SelectString ( XmlNode node, string xpath ) : string
ToEscapedMemberName ( string membername ) : string
ToEscapedName ( string name, string escape ) : string

Method Details

AddExtensionMethodsFromHelpSource() public method

public AddExtensionMethodsFromHelpSource ( ArrayList extensions, EcmaHelpSource es ) : void
extensions System.Collections.ArrayList
es EcmaHelpSource
return void

CreateDocumentResolver() protected method

protected CreateDocumentResolver ( ) : XmlResolver
return System.Xml.XmlResolver

EcmaHelpSource() public method

public EcmaHelpSource ( ) : System
return System

EcmaHelpSource() public method

public EcmaHelpSource ( string base_file, bool create ) : System
base_file string
create bool
return System

GetExamples() public method

public GetExamples ( XmlNode n, StringBuilder sb ) : void
n System.Xml.XmlNode
sb StringBuilder
return void

GetIdFromUrl() public method

public GetIdFromUrl ( string prefix, string ns, string type ) : string
prefix string
ns string
type string
return string

GetNamespaceDocument() protected method

protected GetNamespaceDocument ( string ns ) : XmlDocument
ns string
return System.Xml.XmlDocument

GetNiceUrl() public static method

public static GetNiceUrl ( Monodoc.Node node ) : string
node Monodoc.Node
return string

GetNodeXPath() public method

public GetNodeXPath ( XPathNavigator n ) : string
n System.Xml.XPath.XPathNavigator
return string

GetPublicUrl() public method

public GetPublicUrl ( string url ) : string
url string
return string

GetText() public method

public GetText ( string url, Monodoc.Node &match_node ) : string
url string
match_node Monodoc.Node
return string

GetTextFromNode() public method

public GetTextFromNode ( XmlNode n, StringBuilder sb ) : void
n System.Xml.XmlNode
sb StringBuilder
return void

GetUrlForType() public method

public GetUrlForType ( string prefix, string ns, string type, string member, Monodoc.Node &match_node ) : string
prefix string
ns string
type string
member string
match_node Monodoc.Node
return string

GetXmlFromUrl() protected method

protected GetXmlFromUrl ( string url, string &rest ) : XmlDocument
url string
rest string
return System.Xml.XmlDocument

Htmlize() public method

public Htmlize ( IXPathNavigable ecma_xml ) : string
ecma_xml IXPathNavigable
return string

Htmlize() public method

public Htmlize ( IXPathNavigable ecma_xml, XsltArgumentList args ) : string
ecma_xml IXPathNavigable
args System.Xml.Xsl.XsltArgumentList
return string

MakeOperatorSignature() public static method

public static MakeOperatorSignature ( XmlNode n, string &nicename, string &sig ) : void
n System.Xml.XmlNode
nicename string
sig string
return void

MakeSignature() public static method

public static MakeSignature ( XmlNode n, string cstyleclass ) : string
n System.Xml.XmlNode
cstyleclass string
return string

PopulateIndex() public method

public PopulateIndex ( Monodoc.IndexMaker index_maker ) : void
index_maker Monodoc.IndexMaker
return void

PopulateSearchableIndex() public method

public PopulateSearchableIndex ( Mono.Lucene.Net.Index.IndexWriter writer ) : void
writer Mono.Lucene.Net.Index.IndexWriter
return void

RenderNamespaceLookup() public method

public RenderNamespaceLookup ( string nsurl, Monodoc.Node &match_node ) : string
nsurl string
match_node Monodoc.Node
return string

RenderPreviewDocs() public method

public RenderPreviewDocs ( XmlNode newNode, XmlWriter writer ) : void
newNode System.Xml.XmlNode
writer System.Xml.XmlWriter
return void

RenderTypeLookup() public method

public RenderTypeLookup ( string prefix, string ns, string type, string member, Monodoc.Node &match_node ) : string
prefix string
ns string
type string
member string
match_node Monodoc.Node
return string

ToEscapedTypeName() public static method

public static ToEscapedTypeName ( string typename ) : string
typename string
return string

Property Details

ExtObject public_oe property

public ExtensionObject ExtObject
return ExtensionObject