C# 클래스 nHydrate.Generator.Common.Util.XmlHelper

파일 보기 프로젝트 열기: nHydrate/nHydrate

공개 메소드들

메소드 설명
AddAttribute ( XmlElement element, string name, bool value ) : XmlAttribute
AddAttribute ( XmlElement node, string name, double value ) : XmlAttribute
AddAttribute ( XmlElement node, string name, int value ) : XmlAttribute
AddAttribute ( XmlElement node, string name, string value ) : XmlAttribute
AddAttribute ( XmlNode element, string name, Guid value ) : XmlAttribute
AddAttribute ( XmlNode element, string name, bool value ) : XmlAttribute
AddAttribute ( XmlNode element, string name, double value ) : XmlAttribute
AddAttribute ( XmlNode element, string name, int value ) : XmlAttribute
AddAttribute ( XmlNode node, string name, string value ) : XmlAttribute
AddCData ( XmlElement element, string name, string value ) : XmlNode
AddElement ( XmlDocument document, string name ) : XmlNode
AddElement ( XmlDocument document, string name, string value ) : XmlNode
AddElement ( XmlElement element, string name ) : XmlNode
AddElement ( XmlElement element, string name, string value ) : XmlNode
AddIndent ( XmlElement element, int tabs ) : void
AddLineBreak ( XmlElement element ) : void
CreateXPathNavigator ( XmlReader reader ) : XPathNavigator
GetAttributeValue ( XmlNode element, string attributeName, Guid defaultValue ) : Guid
GetAttributeValue ( XmlNode element, string attributeName, bool defaultValue ) : bool
GetAttributeValue ( XmlNode element, string attributeName, double defaultValue ) : double
GetAttributeValue ( XmlNode element, string attributeName, int defaultValue ) : int
GetAttributeValue ( XmlNode element, string attributeName, string defaultValue ) : string
GetElement ( XmlElement parentElement, string tagName ) : XmlElement
GetIterator ( XPathNavigator navigator, string xPath ) : XPathNodeIterator
GetNode ( XmlNode xmlNode, string XPath ) : XmlNode
GetNodeValue ( XmlDocument document, string XPath, string defaultValue ) : string
GetNodeValue ( XmlNode element, string XPath, string defaultValue ) : string
GetNodeXML ( XmlDocument document, string XPath, string defaultValue ) : string
GetNodeXML ( XmlDocument document, string XPath, string defaultValue, bool useOuter ) : string
GetXmlReader ( FileInfo fileInfo ) : XmlReader
RemoveAttribute ( XmlElement element, string attributeName ) : void
RemoveElement ( XmlDocument document, string XPath ) : void
RemoveElement ( XmlElement element ) : void
UpdateAttribute ( XmlElement element, string attributeName, Single newValue ) : void
UpdateAttribute ( XmlElement element, string attributeName, bool newValue ) : void
UpdateAttribute ( XmlElement element, string attributeName, double newValue ) : void
UpdateAttribute ( XmlElement element, string attributeName, int newValue ) : void
UpdateAttribute ( XmlElement element, string attributeName, string newValue ) : void
UpdateElement ( XmlDocument &document, string Xpath, string newValue ) : void
UpdateElement ( XmlElement element, string newValue ) : void

비공개 메소드들

메소드 설명
XmlHelper ( ) : System

메소드 상세

AddAttribute() 공개 정적인 메소드

public static AddAttribute ( XmlElement element, string name, bool value ) : XmlAttribute
element System.Xml.XmlElement
name string
value bool
리턴 System.Xml.XmlAttribute

AddAttribute() 공개 정적인 메소드

public static AddAttribute ( XmlElement node, string name, double value ) : XmlAttribute
node System.Xml.XmlElement
name string
value double
리턴 System.Xml.XmlAttribute

AddAttribute() 공개 정적인 메소드

public static AddAttribute ( XmlElement node, string name, int value ) : XmlAttribute
node System.Xml.XmlElement
name string
value int
리턴 System.Xml.XmlAttribute

AddAttribute() 공개 정적인 메소드

public static AddAttribute ( XmlElement node, string name, string value ) : XmlAttribute
node System.Xml.XmlElement
name string
value string
리턴 System.Xml.XmlAttribute

AddAttribute() 공개 정적인 메소드

public static AddAttribute ( XmlNode element, string name, Guid value ) : XmlAttribute
element XmlNode
name string
value Guid
리턴 XmlAttribute

AddAttribute() 공개 정적인 메소드

public static AddAttribute ( XmlNode element, string name, bool value ) : XmlAttribute
element XmlNode
name string
value bool
리턴 XmlAttribute

AddAttribute() 공개 정적인 메소드

public static AddAttribute ( XmlNode element, string name, double value ) : XmlAttribute
element XmlNode
name string
value double
리턴 XmlAttribute

AddAttribute() 공개 정적인 메소드

public static AddAttribute ( XmlNode element, string name, int value ) : XmlAttribute
element XmlNode
name string
value int
리턴 XmlAttribute

AddAttribute() 공개 정적인 메소드

public static AddAttribute ( XmlNode node, string name, string value ) : XmlAttribute
node XmlNode
name string
value string
리턴 XmlAttribute

AddCData() 공개 정적인 메소드

public static AddCData ( XmlElement element, string name, string value ) : XmlNode
element XmlElement
name string
value string
리턴 XmlNode

AddElement() 공개 정적인 메소드

public static AddElement ( XmlDocument document, string name ) : XmlNode
document XmlDocument
name string
리턴 XmlNode

AddElement() 공개 정적인 메소드

public static AddElement ( XmlDocument document, string name, string value ) : XmlNode
document XmlDocument
name string
value string
리턴 XmlNode

AddElement() 공개 정적인 메소드

public static AddElement ( XmlElement element, string name ) : XmlNode
element XmlElement
name string
리턴 XmlNode

AddElement() 공개 정적인 메소드

public static AddElement ( XmlElement element, string name, string value ) : XmlNode
element XmlElement
name string
value string
리턴 XmlNode

AddIndent() 공개 정적인 메소드

public static AddIndent ( XmlElement element, int tabs ) : void
element XmlElement
tabs int
리턴 void

AddLineBreak() 공개 정적인 메소드

public static AddLineBreak ( XmlElement element ) : void
element XmlElement
리턴 void

CreateXPathNavigator() 공개 정적인 메소드

public static CreateXPathNavigator ( XmlReader reader ) : XPathNavigator
reader XmlReader
리턴 XPathNavigator

GetAttributeValue() 공개 정적인 메소드

public static GetAttributeValue ( XmlNode element, string attributeName, Guid defaultValue ) : Guid
element XmlNode
attributeName string
defaultValue Guid
리턴 Guid

GetAttributeValue() 공개 정적인 메소드

public static GetAttributeValue ( XmlNode element, string attributeName, bool defaultValue ) : bool
element XmlNode
attributeName string
defaultValue bool
리턴 bool

GetAttributeValue() 공개 정적인 메소드

public static GetAttributeValue ( XmlNode element, string attributeName, double defaultValue ) : double
element XmlNode
attributeName string
defaultValue double
리턴 double

GetAttributeValue() 공개 정적인 메소드

public static GetAttributeValue ( XmlNode element, string attributeName, int defaultValue ) : int
element XmlNode
attributeName string
defaultValue int
리턴 int

GetAttributeValue() 공개 정적인 메소드

public static GetAttributeValue ( XmlNode element, string attributeName, string defaultValue ) : string
element XmlNode
attributeName string
defaultValue string
리턴 string

GetElement() 공개 정적인 메소드

public static GetElement ( XmlElement parentElement, string tagName ) : XmlElement
parentElement XmlElement
tagName string
리턴 XmlElement

GetIterator() 공개 정적인 메소드

public static GetIterator ( XPathNavigator navigator, string xPath ) : XPathNodeIterator
navigator XPathNavigator
xPath string
리턴 XPathNodeIterator

GetNode() 공개 정적인 메소드

public static GetNode ( XmlNode xmlNode, string XPath ) : XmlNode
xmlNode XmlNode
XPath string
리턴 XmlNode

GetNodeValue() 공개 정적인 메소드

public static GetNodeValue ( XmlDocument document, string XPath, string defaultValue ) : string
document XmlDocument
XPath string
defaultValue string
리턴 string

GetNodeValue() 공개 정적인 메소드

public static GetNodeValue ( XmlNode element, string XPath, string defaultValue ) : string
element XmlNode
XPath string
defaultValue string
리턴 string

GetNodeXML() 공개 정적인 메소드

public static GetNodeXML ( XmlDocument document, string XPath, string defaultValue ) : string
document XmlDocument
XPath string
defaultValue string
리턴 string

GetNodeXML() 공개 정적인 메소드

public static GetNodeXML ( XmlDocument document, string XPath, string defaultValue, bool useOuter ) : string
document XmlDocument
XPath string
defaultValue string
useOuter bool
리턴 string

GetXmlReader() 공개 정적인 메소드

public static GetXmlReader ( FileInfo fileInfo ) : XmlReader
fileInfo FileInfo
리턴 XmlReader

RemoveAttribute() 공개 정적인 메소드

public static RemoveAttribute ( XmlElement element, string attributeName ) : void
element XmlElement
attributeName string
리턴 void

RemoveElement() 공개 정적인 메소드

public static RemoveElement ( XmlDocument document, string XPath ) : void
document XmlDocument
XPath string
리턴 void

RemoveElement() 공개 정적인 메소드

public static RemoveElement ( XmlElement element ) : void
element XmlElement
리턴 void

UpdateAttribute() 공개 정적인 메소드

public static UpdateAttribute ( XmlElement element, string attributeName, Single newValue ) : void
element XmlElement
attributeName string
newValue Single
리턴 void

UpdateAttribute() 공개 정적인 메소드

public static UpdateAttribute ( XmlElement element, string attributeName, bool newValue ) : void
element XmlElement
attributeName string
newValue bool
리턴 void

UpdateAttribute() 공개 정적인 메소드

public static UpdateAttribute ( XmlElement element, string attributeName, double newValue ) : void
element XmlElement
attributeName string
newValue double
리턴 void

UpdateAttribute() 공개 정적인 메소드

public static UpdateAttribute ( XmlElement element, string attributeName, int newValue ) : void
element XmlElement
attributeName string
newValue int
리턴 void

UpdateAttribute() 공개 정적인 메소드

public static UpdateAttribute ( XmlElement element, string attributeName, string newValue ) : void
element XmlElement
attributeName string
newValue string
리턴 void

UpdateElement() 공개 정적인 메소드

public static UpdateElement ( XmlDocument &document, string Xpath, string newValue ) : void
document XmlDocument
Xpath string
newValue string
리턴 void

UpdateElement() 공개 정적인 메소드

public static UpdateElement ( XmlElement element, string newValue ) : void
element XmlElement
newValue string
리턴 void