Class Reference

for RuBoard

This section provides a quick interface reference to the key objects described in this chapter. Space constraints prevent us from documenting every object in the .NET framework in this book; for the sake of brevity and conciseness, we include only the most important objects here. For more information on the other objects in the .NET framework, consult the .NET Framework Reference online help file.

ValidationEventArgs Class

Member of System.Xml.Schema . Not inheritable.

A ValidationEventArgs object is passed by the ValidationEventHandler delegate used by the XmlValidatingReader object.

Properties
Exception Message Severity
Methods
Equals GetHashCode MemberwiseClone
Finalize GetType ToString

XmlDocument Class

Member of System.Xml .

The XmlDocument object represents the top-level object in the XML DOM hierarchy. You can use it to read and write any element of an XML document, as well as to retrieve an XML document through the local file system or over HTTP.

Properties
Attributes InnerXml NodeType
BaseURI IsReadOnly OuterXml
ChildNodes Item OwnerDocument
DocumentElement LastChild ParentNode
DocumentType LocalName Prefix
FirstChild Name PreserveWhiteSpace
HasChildNodes NamespaceURI PreviousSibling
Implementation NameTable Value
InnerText NextSibling XmlResolver
Methods
AppendChild CreateTextNode LoadXml
Clone CreateWhitespace MemberwiseClone
CloneNode CreateXmlDeclaration Normalize
CreateAttribute Equals PrependChild
CreateCDataSection Finalize ReadNode
CreateComment GetElementById RemoveAll
CreateDefaultAttribute GetElementsByTagName RemoveChild
CreateDocumentFragment GetEnumerator ReplaceChild
CreateDocumentType GetHashCode Save
CreateElement GetNamespaceOfPrefix SelectNodes
CreateEntityReference GetPrefixOfNamespace SelectSingleNode
CreateNavigator

GetType

ImportNode

Supports

ToString

CreateNode InsertAfter WriteContentTo
CreateProcessingInstruction InsertBefore WriteTo
CreateSignificantWhitespace Load  

XmlNamedNodeMap Class

Member of System.Xml .

The XmlNodeList object is used to handle a collection of nodes. It is used in the XML DOM parser model.

Properties
Count    
Methods
Equals GetNamedItem RemoveNamedItem
Finalize GetType SetNamedItem
GetEnumerator Item ToString
GetHashCode MemberwiseClone  

XmlNodeReader Class

Member of System.Xml .

Properties
AttributeCount IsDefault NodeType
BaseURI IsEmptyElement Prefix
CanResolveEntity Item QuoteChar
Depth LocalName ReadState
EOF Name Value
HasAttributes NamespaceURI XmlLang
HasValue NameTable XmlSpace
Methods
Close MoveToAttribute ReadInnerXml
Equals MoveToContent ReadOuterXml
Finalize MoveToElement ReadStartElement
GetAttribute MoveToFirstAttribute ReadString
GetHashCode MoveToNextAttribute ResolveEntity
GetType Read Skip
IsStartElement ReadAttributeValue ToString
LookupNamespace ReadElementString  
MemberwiseClone ReadEndElement  

XmlNode Class

Member of System.Xml .

The XmlNode object represents a single node in the hierarchy of an XML document. It can contain a number of subordinate objects that represent attributes, other nodes, and so forth.

Properties
Attributes IsReadOnly NodeType
BaseURI Item OuterXml
ChildNodes LastChild OwnerDocument
FirstChild LocalName ParentNode
HasChildNodes Name Prefix
InnerText NamespaceURI PreviousSibling
InnerXml NextSibling Value
Methods
AppendChild GetPrefixOfNamespace ReplaceChild
Clone GetType SelectNodes
CloneNode InsertAfter SelectSingleNode
CreateNavigator InsertBefore Supports
Equals MemberwiseClone ToString
Finalize Normalize WriteContentTo
GetEnumerator PrependChild WriteTo
GetHashCode RemoveAll  
GetNamespaceOfPrefix RemoveChild  

XmlNodeList Class

Member of System.Xml .

The XmlNodeList object is a collection that enables you to iterate through a set of child nodes. It is used in the XML DOM parser model.

Properties
Count ItemOf  
Methods
Equals GetHashCode MemberwiseClone
Finalize GetType ToString
GetEnumerator Item  

XmlReader Class

Abstract class. Member of System.Xml .

Properties
AttributeCount IsDefault NodeType
BaseURI IsEmptyElement Prefix
CanResolveEntity Item QuoteChar
Depth LocalName ReadState
EOF Name Value
HasAttributes NamespaceURI XmlLang
HasValue NameTable XmlSpace
Methods
Close LookupNamespace ReadElementString
Equals MemberwiseClone ReadEndElement
Finalize MoveToAttribute ReadInnerXml
GetAttribute MoveToContent ReadOuterXml
GetHashCode MoveToElement ReadStartElement
GetType MoveToFirstAttribute ReadString
IsName MoveToNextAttribute ResolveEntity
IsNameToken Read Skip
IsStartElement ReadAttributeValue ToString

XmlNodeReader Class

Member of System.Xml .

The XmlNodeReader object enables you to navigate an XML document using a scrolling cursor model. It inherits from System.Xml.XmlReader , an abstract class.

Properties
AttributeCount IsDefault NodeType
BaseURI IsEmptyElement Prefix
CanResolveEntity Item QuoteChar
Depth LocalName ReadState
EOF Name Value
HasAttributes NamespaceURI XmlLang
HasValue NameTable XmlSpace
Methods
Close MoveToAttribute ReadInnerXml
Equals MoveToContent ReadOuterXml
Finalize MoveToElement ReadStartElement
GetAttribute MoveToFirstAttribute ReadString
GetHashCode MoveToNextAttribute ResolveEntity
GetType Read Skip
IsStartElement ReadAttributeValue ToString
LookupNamespace ReadElementString  
MemberwiseClone ReadEndElement  

XmlTextReader Class

Member of System.Xml . Inherits from System.Xml.XmlReader .

The XmlTextReader object provides read-only, forward-only access to an XML document.

Properties
AttributeCount Item Prefix
BaseURI LineNumber QuoteChar
CanResolveEntity LinePosition ReadState
Depth LocalName Value
Encoding Name WhitespaceHandling
EOF Namespaces XmlLang
HasAttributes NamespaceURI XmlResolver
HasValue NameTable XmlSpace
IsDefault NodeType  
IsEmptyElement Normalization  
Methods
Close MoveToAttribute ReadEndElement
Equals MoveToContent ReadInnerXml
Finalize MoveToElement ReadOuterXml
GetAttribute MoveToFirstAttribute ReadStartElement
GetHashCode MoveToNextAttribute ReadString
GetRemainder Read ResetState
GetType ReadBase64 ResolveEntity
IsStartElement ReadBinHex Skip
LookupNamespace ReadChars ToString
MemberwiseClone ReadElementString  

XmlTextWriter Class

Member of System.Xml . Inherits from System.Xml.XmlWriter .

The XmlTextWriter object enables you to write XML to a text stream (typically a text file).

The first constructor takes an instance of the TextWriter class or any object that inherits from it (including another XmlTextWriter object). The second form takes an instance of a System.IO.Stream object and an encoding value (one of the members of System.Text.Encoding ). The third form takes a string that represents a filename and an encoding value.

Properties
BaseStream IndentChar WriteState
Formatting Namespaces XmlLang
Indentation QuoteChar XmlSpace
Methods
Close WriteBinHex WriteName
Equals WriteCData WriteNmToken
Finalize WriteCharEntity WriteNode
Flush WriteChars WriteProcessingInstruction
GetHashCode WriteComment WriteQualifiedName
GetType WriteDocType WriteRaw
LookupPrefix WriteElementString WriteStartAttribute
MemberwiseClone WriteEndAttribute WriteStartDocument
ToString WriteEndDocument WriteStartElement
WriteAttributes WriteEndElement WriteString
WriteAttributeString WriteEntityRef WriteSurrogateCharEntity
WriteBase64 WriteFullEndElement WriteWhitespace

XmlValidatingReader Class

Member of System.Xml . Inherits from System.Xml.XmlReader .

The XmlValidatingReader object provides support for reading an XML file using validation. The object supports validation with the DTD, XDR, or W3C XML schema formats.

Properties
AttributeCount IsEmptyElement Reader
BaseURI Item ReadState
CanResolveEntity LocalName Schemas
Depth Name SchemaType
Encoding Namespaces ValidationType
EntityHandling NamespaceURI Value
EOF NameTable XmlLang
HasAttributes NodeType XmlResolver
HasValue Prefix XmlSpace
IsDefault QuoteChar  
Methods
Close MoveToAttribute ReadInnerXml
Equals MoveToContent ReadOuterXml
Finalize MoveToElement ReadStartElement
GetAttribute MoveToFirstAttribute ReadString
GetHashCode MoveToNextAttribute ReadTypedValue
GetType Read ResolveEntity
IsStartElement ReadAttributeValue Skip
LookupNamespace ReadElementString ToString
MemberwiseClone ReadEndElement  
Events
ValidationEventHandler    

XmlWriter Class

Abstract class. Member of System.Xml .

Properties
WriteState XmlLang XmlSpace
Methods
Close WriteBinHex WriteName
Equals WriteCData WriteNmToken
Finalize WriteCharEntity WriteNode
Flush WriteChars WriteProcessingInstruction
GetHashCode WriteComment WriteQualifiedName
GetType WriteDocType WriteRaw
LookupPrefix WriteElementString WriteStartAttribute
MemberwiseClone WriteEndAttribute WriteStartDocument
ToString WriteEndDocument WriteStartElement
WriteAttributes WriteEndElement WriteString
WriteAttributeString WriteEntityRef WriteSurrogateCharEntity
WriteBase64 WriteFullEndElement WriteWhit espace
for RuBoard


C# Developer[ap]s Guide to ASP. NET, XML, and ADO. NET
C# Developer[ap]s Guide to ASP. NET, XML, and ADO. NET
ISBN: 672321556
EAN: N/A
Year: 2005
Pages: 103

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net