C# 클래스 XmlTransformer.XmlFormatter

파일 보기 프로젝트 열기: micahlmartin/XmlTransformer 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ComputeCurrentAttributeIndent string
ComputeCurrentIndent string
ComputeOneTab string
ConvertIndentToTab string
EnsureNodeIndent int
FindLastNewLine int
FormatAttributes void
FormatLoop void
GetIndentFromWhiteSpace string
HandleElement int
HandleEndElement int
HandleStartElement int
HandleWhiteSpace int
InsertIndentBefore void
InsertIndentBeforeEnd void
IsNewNode bool
IsWhiteSpace bool
LookAheadForIndent string
LookForSiblingIndent string
NeedsIndent bool
PopIndent void
PushIndent void
ReorderNewItemsAtEnd void
SetIndent void
XmlFormatter System

공개 메소드들

메소드 설명
Format ( XmlDocument document ) : void
IsText ( XmlNode node ) : bool

비공개 메소드들

메소드 설명
ComputeCurrentAttributeIndent ( ) : string
ComputeCurrentIndent ( ) : string
ComputeOneTab ( ) : string
ConvertIndentToTab ( string indent ) : string
EnsureNodeIndent ( XmlNode node, bool indentBeforeEnd ) : int
FindLastNewLine ( string whitespace ) : int
FormatAttributes ( XmlNode node ) : void
FormatLoop ( XmlNode parentNode ) : void
GetIndentFromWhiteSpace ( XmlNode node ) : string
HandleElement ( XmlNode node ) : int
HandleEndElement ( XmlNode node ) : int
HandleStartElement ( XmlNode node ) : int
HandleWhiteSpace ( XmlNode node ) : int
InsertIndentBefore ( XmlNode node ) : void
InsertIndentBeforeEnd ( XmlNode node ) : void
IsNewNode ( XmlNode node ) : bool
IsWhiteSpace ( XmlNode node ) : bool
LookAheadForIndent ( ) : string
LookForSiblingIndent ( XmlNode currentNode ) : string
NeedsIndent ( XmlNode node, XmlNode previousNode ) : bool
PopIndent ( ) : void
PushIndent ( ) : void
ReorderNewItemsAtEnd ( XmlNode node ) : void
SetIndent ( string indent ) : void
XmlFormatter ( XmlFileInfoDocument document ) : System

메소드 상세

Format() 공개 정적인 메소드

public static Format ( XmlDocument document ) : void
document System.Xml.XmlDocument
리턴 void

IsText() 공개 메소드

public IsText ( XmlNode node ) : bool
node System.Xml.XmlNode
리턴 bool