C# Class ICSharpCode.NRefactory.Xml.AXmlObject

XML object. Base class for all nodes in the XML document.
Inheritance: ISegment
Afficher le fichier Open project: mono-soc-2012/NRefactory Class Usage Examples

Méthodes publiques

Свойство Type Description
NoNamespace string
XmlNamespace string
XmlnsNamespace string

Private Properties

Свойство Type Description
AXmlObject System
GetLocalName string
GetNamespacePrefix string

Méthodes publiques

Méthode Description
AcceptVisitor ( ICSharpCode.NRefactory.Xml.AXmlVisitor visitor ) : void

Call appropriate visit method on the given visitor

CreateReader ( ) : XmlReader

Creates an XML reader that reads from this document.

CreateReader ( TextLocation>.Func offsetToTextLocation ) : XmlReader

Creates an XML reader that reads from this document.

GetChildAtOffset ( int offset ) : AXmlObject

Gets a child fully containg the given offset. Goes recursively down the tree. Specail case if at the end of attribute or text

Private Methods

Méthode Description
AXmlObject ( AXmlObject parent, int startOffset, ICSharpCode.NRefactory.Xml.InternalObject internalObject ) : System
GetLocalName ( string name ) : string

The part of name after ":"

GetNamespacePrefix ( string name ) : string

The part of name before ":"

Method Details

AcceptVisitor() public abstract méthode

Call appropriate visit method on the given visitor
public abstract AcceptVisitor ( ICSharpCode.NRefactory.Xml.AXmlVisitor visitor ) : void
visitor ICSharpCode.NRefactory.Xml.AXmlVisitor
Résultat void

CreateReader() public méthode

Creates an XML reader that reads from this document.
public CreateReader ( ) : XmlReader
Résultat System.Xml.XmlReader

CreateReader() public méthode

Creates an XML reader that reads from this document.
public CreateReader ( TextLocation>.Func offsetToTextLocation ) : XmlReader
offsetToTextLocation TextLocation>.Func
Résultat System.Xml.XmlReader

GetChildAtOffset() public méthode

Gets a child fully containg the given offset. Goes recursively down the tree. Specail case if at the end of attribute or text
public GetChildAtOffset ( int offset ) : AXmlObject
offset int
Résultat AXmlObject

Property Details

NoNamespace public_oe static_oe property

Empty string. The namespace used if there is no "xmlns" specified
public static string NoNamespace
Résultat string

XmlNamespace public_oe static_oe property

Namespace for "xml:" prefix: "http://www.w3.org/XML/1998/namespace"
public static string XmlNamespace
Résultat string

XmlnsNamespace public_oe static_oe property

Namesapce for "xmlns:" prefix: "http://www.w3.org/2000/xmlns/"
public static string XmlnsNamespace
Résultat string