System::Xml::XmlNodeReader class
Contents
[
Hide
]XmlNodeReader class
Represents a reader that provides fast, non-cached forward only access to XML data in an XmlNode.
class XmlNodeReader : public System::Xml::XmlReader,
public System::Xml::IXmlNamespaceResolver
Methods
Method | Description |
---|---|
Close() override | Changes the XmlNodeReader::get_ReadState to ReadState::Closed. |
get_AttributeCount() override | Returns the number of attributes on the current node. |
get_BaseURI() override | Returns the base URI of the current node. |
get_CanReadBinaryContent() override | Returns a value indicating whether the XmlNodeReader implements the binary content read methods. |
get_CanResolveEntity() override | Returns a value indicating whether this reader can parse and resolve entities. |
get_Depth() override | Returns the depth of the current node in the XML document. |
get_EOF() override | Returns a value indicating whether the reader is positioned at the end of the stream. |
get_HasAttributes() override | Returns a value indicating whether the current node has any attributes. |
get_HasValue() override | Returns a value indicating whether the current node can have a XmlNodeReader::get_Value value. |
get_IsDefault() override | Returns 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. |
get_IsEmptyElement() override | Returns a value indicating whether the current node is an empty element (for example, |
get_LocalName() override | Returns the local name of the current node. |
get_Name() override | Returns the qualified name of the current node. |
get_NamespaceURI() override | Returns the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. |
get_NameTable() override | Returns the XmlNameTable associated with this implementation. |
get_NodeType() override | Returns the type of the current node. |
get_Prefix() override | Returns the namespace prefix associated with the current node. |
get_ReadState() override | Returns the state of the reader. |
get_SchemaInfo() override | Returns the schema information that has been assigned to the current node. |
get_Value() override | Returns the text value of the current node. |
get_XmlLang() override | Returns the current xml:lang scope. |
get_XmlSpace() override | Returns the current xml:space scope. |
GetAttribute(String) override | Returns the value of the attribute with the specified name. |
GetAttribute(String, String) override | Returns the value of the attribute with the specified local name and namespace URI. |
GetAttribute(int32_t) override | Returns the value of the attribute with the specified index. |
LookupNamespace(const String&) override | Resolves a namespace prefix in the current element’s scope. |
MoveToAttribute(String) override | Moves to the attribute with the specified name. |
MoveToAttribute(String, String) override | Moves to the attribute with the specified local name and namespace URI. |
MoveToAttribute(int32_t) override | Moves to the attribute with the specified index. |
MoveToElement() override | Moves to the element that contains the current attribute node. |
MoveToFirstAttribute() override | Moves to the first attribute. |
MoveToNextAttribute() override | Moves to the next attribute. |
Read() override | Reads the next node from the stream. |
ReadAttributeValue() override | Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. |
ReadContentAsBase64(ArrayPtr<uint8_t>, int32_t, int32_t) override | Reads the content and returns the Base64 decoded binary bytes. |
ReadContentAsBinHex(ArrayPtr<uint8_t>, int32_t, int32_t) override | Reads the content and returns the BinHex decoded binary bytes. |
ReadElementContentAsBase64(ArrayPtr<uint8_t>, int32_t, int32_t) override | Reads the element and decodes the Base64 content. |
ReadElementContentAsBinHex(ArrayPtr<uint8_t>, int32_t, int32_t) override | Reads the element and decodes the BinHex content. |
ReadString() override | Reads the contents of an element or text node as a string. |
ResolveEntity() override | Resolves the entity reference for EntityReference nodes. |
Skip() override | Skips the children of the current node. |
XmlNodeReader(const SharedPtr<XmlNode>&) | Creates an instance of the XmlNodeReader class using the specified XmlNode. |
Typedefs
Typedef | Description |
---|---|
Ptr | An alias for shared pointer to an instance of this class. |
Remarks
Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
See Also
- Class XmlReader
- Class IXmlNamespaceResolver
- Namespace System::Xml
- Library Aspose.PUB for C++