C# Класс ICSharpCode.NRefactory.Xml.AXmlObject

XML object. Base class for all nodes in the XML document.
Наследование: ISegment
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
NoNamespace string
XmlNamespace string
XmlnsNamespace string

Private Properties

Свойство Тип Описание
AXmlObject System
GetLocalName string
GetNamespacePrefix string

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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 ":"

Описание методов

AcceptVisitor() публичный абстрактный Метод

Call appropriate visit method on the given visitor
public abstract AcceptVisitor ( ICSharpCode.NRefactory.Xml.AXmlVisitor visitor ) : void
visitor ICSharpCode.NRefactory.Xml.AXmlVisitor
Результат void

CreateReader() публичный Метод

Creates an XML reader that reads from this document.
public CreateReader ( ) : XmlReader
Результат System.Xml.XmlReader

CreateReader() публичный Метод

Creates an XML reader that reads from this document.
public CreateReader ( TextLocation>.Func offsetToTextLocation ) : XmlReader
offsetToTextLocation TextLocation>.Func
Результат System.Xml.XmlReader

GetChildAtOffset() публичный Метод

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
Результат AXmlObject

Описание свойств

NoNamespace публичное статическое свойство

Empty string. The namespace used if there is no "xmlns" specified
public static string NoNamespace
Результат string

XmlNamespace публичное статическое свойство

Namespace for "xml:" prefix: "http://www.w3.org/XML/1998/namespace"
public static string XmlNamespace
Результат string

XmlnsNamespace публичное статическое свойство

Namesapce for "xmlns:" prefix: "http://www.w3.org/2000/xmlns/"
public static string XmlnsNamespace
Результат string