C# 클래스 ICSharpCode.NRefactory.Xml.AXmlObject

XML object. Base class for all nodes in the XML document.
상속: ISegment
파일 보기 프로젝트 열기: mono-soc-2012/NRefactory 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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