System.Xml.XmlValidatingReader Members

The members of System.Xml.XmlValidatingReader are listed below.

See Also: Inherited members from System.Xml.XmlReader

Public Constructors

Initializes a new instance of the XmlValidatingReader class that validates the content returned from the given System.Xml.XmlReader.

Initializes a new instance of the XmlValidatingReader class with the specified values.

Initializes a new instance of the XmlValidatingReader class with the specified values.

Public Properties

[read-only]
override
AttributeCountint.

Gets the number of attributes on the current node.

[read-only]
override
BaseURIstring.

Gets the base URI of the current node.

[read-only]
override
CanReadBinaryContentbool.

Gets a value indicating whether the System.Xml.XmlValidatingReader implements the binary content read methods.

[read-only]
override
CanResolveEntitybool.

Gets a value indicating whether this reader can parse and resolve entities.

[read-only]
override
Depthint.

Gets the depth of the current node in the XML document.

[read-only]
EncodingSystem.Text.Encoding.

Gets the encoding attribute for the document.

EntityHandlingEntityHandling.

Gets or sets a value that specifies how the reader handles entities.

[read-only]
override
EOFbool.

Gets a value indicating whether the reader is positioned at the end of the stream.

[read-only]
override
HasValuebool.

Gets a value indicating whether the current node can have a XmlValidatingReader.Value other than String.Empty.

[read-only]
override
IsDefaultbool.

Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the document type definition (DTD) or schema.

[read-only]
override
IsEmptyElementbool.

Gets a value indicating whether the current node is an empty element (for example, <MyElement/>).

[read-only]
default property
Item(int)string. Documentation for this section has not yet been entered.
[read-only]
default property
Item(string)string. Documentation for this section has not yet been entered.
[read-only]
default property
Item(string, string)string. Documentation for this section has not yet been entered.
[read-only]
LineNumberint.

Gets the current line number.

[read-only]
LinePositionint.

Gets the current line position.

[read-only]
override
LocalNamestring.

Gets the local name of the current node.

[read-only]
override
Namestring.

Gets the qualified name of the current node.

Namespacesbool.

Gets or sets a value indicating whether to do namespace support.

[read-only]
override
NamespaceURIstring.

Gets the namespace Uniform Resource Identifier (URI) (as defined in the World Wide Web Consortium (W3C) Namespace specification) of the node on which the reader is positioned.

[read-only]
override
NameTableXmlNameTable.

Gets the System.Xml.XmlNameTable associated with this implementation.

[read-only]
override
NodeTypeXmlNodeType.

Gets the type of the current node.

[read-only]
override
Prefixstring.

Gets the namespace prefix associated with the current node.

[read-only]
override
QuoteCharchar.

Gets the quotation mark character used to enclose the value of an attribute node.

[read-only]
ReaderXmlReader.

Gets the System.Xml.XmlReader used to construct this XmlValidatingReader.

[read-only]
override
ReadStateReadState.

Gets the state of the reader.

[read-only]
SchemasSystem.Xml.Schema.XmlSchemaCollection.

Gets a System.Xml.Schema.XmlSchemaCollection to use for validation.

[read-only]
SchemaTypeobject.

Gets a schema type object.

[read-only]
override
SettingsXmlReaderSettings.

Gets the System.Xml.XmlReaderSettings object that was used to create this System.Xml.XmlValidatingReader instance.

ValidationTypeValidationType.

Gets or sets a value indicating the type of validation to perform.

[read-only]
override
Valuestring.

Gets the text value of the current node.

[read-only]
override
XmlLangstring.

Gets the current xml:lang scope.

[write-only]
XmlResolverXmlResolver.

Sets the System.Xml.XmlResolver used for resolving external document type definition (DTD) and schema location references. The XmlResolver is also used to handle any import or include elements found in XML Schema definition language (XSD) schemas.

[read-only]
override
XmlSpaceXmlSpace.

Gets the current xml:space scope.

Public Methods

override
Close()

Changes the XmlReader.ReadState to Closed.

override
GetAttribute(int) : string

Gets the value of the attribute with the specified index.

override
GetAttribute(string) : string

Gets the value of the attribute with the specified name.

override
GetAttribute(string, string) : string

Gets the value of the attribute with the specified local name and namespace Uniform Resource Identifier (URI).

HasLineInfo() : bool

Gets a value indicating whether the class can return line information.

override
LookupNamespace(string) : string

Resolves a namespace prefix in the current element's scope.

override
MoveToAttribute(int)

Moves to the attribute with the specified index.

override
MoveToAttribute(string) : bool

Moves to the attribute with the specified name.

override
MoveToAttribute(string, string) : bool

Moves to the attribute with the specified local name and namespace Uniform Resource Identifier (URI).

override
MoveToElement() : bool

Moves to the element that contains the current attribute node.

override
MoveToFirstAttribute() : bool

Moves to the first attribute.

override
MoveToNextAttribute() : bool

Moves to the next attribute.

override
Read() : bool

Reads the next node from the stream.

override
ReadAttributeValue() : bool

Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes.

override
ReadContentAsBase64(byte[], int, int) : int

Reads the content and returns the Base64 decoded binary bytes.

override
ReadContentAsBinHex(byte[], int, int) : int

Reads the content and returns the BinHex decoded binary bytes.

override
ReadElementContentAsBase64(byte[], int, int) : int

Reads the element and decodes the Base64 content.

override
ReadElementContentAsBinHex(byte[], int, int) : int

Reads the element and decodes the BinHex content.

override
ReadString() : string

Reads the contents of an element or text node as a string.

ReadTypedValue() : object

Gets the common language runtime type for the specified XML Schema definition language (XSD) type.

override
ResolveEntity()

Resolves the entity reference for EntityReference nodes.

Public Events

ValidationEventHandler

Sets an event handler for receiving information about document type definition (DTD), XML-Data Reduced (XDR) schema, and XML Schema definition language (XSD) schema validation errors.

Explicitly Implemented Interface Members

System.Xml.IXmlNamespaceResolver.GetNamespacesInScope

For a description of this member, see IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope).

System.Xml.IXmlLineInfo.HasLineInfo

Gets a value indicating whether the class can return line information.

[read-only]
System.Xml.IXmlLineInfo.LineNumberint. Documentation for this section has not yet been entered.
[read-only]
System.Xml.IXmlLineInfo.LinePositionint. Documentation for this section has not yet been entered.
System.Xml.IXmlNamespaceResolver.LookupPrefix

For a description of this member, see IXmlNamespaceResolver.LookupPrefix(string).

[read-only]
Mono.Xml.IHasXmlParserContext.ParserContextXmlParserContext. Documentation for this section has not yet been entered.