C# 클래스 Acme.PROJECTNAME.Install.XmlHelper

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

공개 메소드들

메소드 설명
AddAttribute ( XmlElement XmlElement, string name, string value ) : XmlAttribute
AddElement ( XmlDocument XMLDocument, 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
CreateXPathNavigator ( XmlReader reader ) : XPathNavigator
GetAttribute ( XmlNode node, string attributeName, System.Guid defaultValue ) : System.Guid
GetAttribute ( XmlNode node, string attributeName, bool defaultValue ) : bool
GetAttribute ( XmlNode node, string attributeName, double defaultValue ) : double
GetAttribute ( XmlNode node, string attributeName, int defaultValue ) : int
GetAttribute ( XmlNode node, string attributeName, long defaultValue ) : long
GetAttribute ( XmlNode node, string attributeName ) : string
GetAttribute ( XmlNode node, string attributeName, string defaultValue ) : string
GetElement ( XmlElement parentElement, string tagName ) : XmlElement
GetIterator ( XPathNavigator navigator, string xPath ) : XPathNodeIterator
GetNode ( System xmlNode, string XPath ) : XmlNode
GetNode ( System xmlNode, string XPath, XmlNamespaceManager nsManager ) : XmlNode
GetNodeValue ( System element, string XPath, DateTime defaultValue ) : DateTime
GetNodeValue ( System element, string XPath, DateTime defaultValue ) : DateTime?
GetNodeValue ( System element, string XPath, Single defaultValue ) : Single
GetNodeValue ( System element, string XPath, Single defaultValue ) : Single?
GetNodeValue ( System element, string XPath, bool defaultValue ) : bool
GetNodeValue ( System element, string XPath, bool defaultValue ) : bool?
GetNodeValue ( System element, string XPath, double defaultValue ) : double
GetNodeValue ( System element, string XPath, double defaultValue ) : double?
GetNodeValue ( System element, string XPath, int defaultValue ) : int
GetNodeValue ( System element, string XPath, int defaultValue ) : int?
GetNodeValue ( System document, string XPath, XmlNamespaceManager nsManager, string defaultValue ) : string
GetNodeValue ( System document, 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 XmlElement, string attributeName, string newValue ) : void
UpdateElement ( XmlDocument &XMLDocument, string Xpath, string newValue ) : void
UpdateElement ( XmlElement element, string newValue ) : void

비공개 메소드들

메소드 설명
XmlHelper ( ) : System

메소드 상세

AddAttribute() 공개 정적인 메소드

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

AddElement() 공개 정적인 메소드

public static AddElement ( XmlDocument XMLDocument, string name ) : XmlNode
XMLDocument System.Xml.XmlDocument
name string
리턴 System.Xml.XmlNode

AddElement() 공개 정적인 메소드

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

AddElement() 공개 정적인 메소드

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

AddElement() 공개 정적인 메소드

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

CreateXPathNavigator() 공개 정적인 메소드

public static CreateXPathNavigator ( XmlReader reader ) : XPathNavigator
reader XmlReader
리턴 System.Xml.XPath.XPathNavigator

GetAttribute() 공개 정적인 메소드

public static GetAttribute ( XmlNode node, string attributeName, System.Guid defaultValue ) : System.Guid
node System.Xml.XmlNode
attributeName string
defaultValue System.Guid
리턴 System.Guid

GetAttribute() 공개 정적인 메소드

public static GetAttribute ( XmlNode node, string attributeName, bool defaultValue ) : bool
node System.Xml.XmlNode
attributeName string
defaultValue bool
리턴 bool

GetAttribute() 공개 정적인 메소드

public static GetAttribute ( XmlNode node, string attributeName, double defaultValue ) : double
node System.Xml.XmlNode
attributeName string
defaultValue double
리턴 double

GetAttribute() 공개 정적인 메소드

public static GetAttribute ( XmlNode node, string attributeName, int defaultValue ) : int
node System.Xml.XmlNode
attributeName string
defaultValue int
리턴 int

GetAttribute() 공개 정적인 메소드

public static GetAttribute ( XmlNode node, string attributeName, long defaultValue ) : long
node System.Xml.XmlNode
attributeName string
defaultValue long
리턴 long

GetAttribute() 공개 정적인 메소드

public static GetAttribute ( XmlNode node, string attributeName ) : string
node System.Xml.XmlNode
attributeName string
리턴 string

GetAttribute() 공개 정적인 메소드

public static GetAttribute ( XmlNode node, string attributeName, string defaultValue ) : string
node System.Xml.XmlNode
attributeName string
defaultValue string
리턴 string

GetElement() 공개 정적인 메소드

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

GetIterator() 공개 정적인 메소드

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

GetNode() 공개 정적인 메소드

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

GetNode() 공개 정적인 메소드

public static GetNode ( System xmlNode, string XPath, XmlNamespaceManager nsManager ) : XmlNode
xmlNode System
XPath string
nsManager XmlNamespaceManager
리턴 System.Xml.XmlNode

GetNodeValue() 공개 정적인 메소드

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

GetNodeValue() 공개 정적인 메소드

public static GetNodeValue ( System element, string XPath, DateTime defaultValue ) : DateTime?
element System
XPath string
defaultValue DateTime
리턴 DateTime?

GetNodeValue() 공개 정적인 메소드

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

GetNodeValue() 공개 정적인 메소드

public static GetNodeValue ( System element, string XPath, Single defaultValue ) : Single?
element System
XPath string
defaultValue Single
리턴 Single?

GetNodeValue() 공개 정적인 메소드

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

GetNodeValue() 공개 정적인 메소드

public static GetNodeValue ( System element, string XPath, bool defaultValue ) : bool?
element System
XPath string
defaultValue bool
리턴 bool?

GetNodeValue() 공개 정적인 메소드

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

GetNodeValue() 공개 정적인 메소드

public static GetNodeValue ( System element, string XPath, double defaultValue ) : double?
element System
XPath string
defaultValue double
리턴 double?

GetNodeValue() 공개 정적인 메소드

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

GetNodeValue() 공개 정적인 메소드

public static GetNodeValue ( System element, string XPath, int defaultValue ) : int?
element System
XPath string
defaultValue int
리턴 int?

GetNodeValue() 공개 정적인 메소드

public static GetNodeValue ( System document, string XPath, XmlNamespaceManager nsManager, string defaultValue ) : string
document System
XPath string
nsManager XmlNamespaceManager
defaultValue string
리턴 string

GetNodeValue() 공개 정적인 메소드

public static GetNodeValue ( System document, string XPath, string defaultValue ) : string
document System
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 XmlElement, string attributeName, string newValue ) : void
XmlElement XmlElement
attributeName string
newValue string
리턴 void

UpdateElement() 공개 정적인 메소드

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

UpdateElement() 공개 정적인 메소드

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