C# 클래스 Sgml.Node

This class models an XML node, an array of elements in scope is maintained while parsing for validation purposes, and these Node objects are reused to reduce object allocation, hence the reset method.
파일 보기 프로젝트 열기: Synergex/Baconography 1 사용 예제들

공개 메소드들

메소드 설명
AddAttribute ( string name, string value, char quotechar, bool caseInsensitive ) : Attribute
CopyAttributes ( Node n ) : void
GetAttribute ( int i ) : Attribute
GetAttribute ( string name ) : int
Reset ( string name, System.Xml.XmlNodeType nt, string value ) : void

Attribute objects are reused during parsing to reduce memory allocations, hence the Reset method.

비공개 메소드들

메소드 설명
RemoveAttribute ( string name ) : void

메소드 상세

AddAttribute() 공개 메소드

public AddAttribute ( string name, string value, char quotechar, bool caseInsensitive ) : Attribute
name string
value string
quotechar char
caseInsensitive bool
리턴 Attribute

CopyAttributes() 공개 메소드

public CopyAttributes ( Node n ) : void
n Node
리턴 void

GetAttribute() 공개 메소드

public GetAttribute ( int i ) : Attribute
i int
리턴 Attribute

GetAttribute() 공개 메소드

public GetAttribute ( string name ) : int
name string
리턴 int

Reset() 공개 메소드

Attribute objects are reused during parsing to reduce memory allocations, hence the Reset method.
public Reset ( string name, System.Xml.XmlNodeType nt, string value ) : void
name string
nt System.Xml.XmlNodeType
value string
리턴 void