5#include <xml/xml_space.h>
6#include <xml/xml_reader.h>
7#include <xml/xml_node_type.h>
8#include <xml/read_state.h>
9#include <xml/ixml_namespace_resolver.h>
10#include <system/array.h>
21template <
typename,
typename>
class IDictionary;
27class ReadContentAsBinaryHelper;
35class XmlNodeReaderNavigator;
54 typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
55 ASPOSECPP_SHARED_RTTI_INFO_DECL();
210 ASPOSECPP_SHARED_API
bool Read()
override;
212 ASPOSECPP_SHARED_API
void Close()
override;
214 ASPOSECPP_SHARED_API
void Skip()
override;
285 bool IsInReadingStates();
291 #ifdef ASPOSE_GET_SHARED_MEMBERS
292 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
303 bool _bResolveEntity;
304 bool _bStartFromDocument;
308 bool Read(
bool fSkipChildren);
309 bool ReadNextNode(
bool fSkipChildren);
311 bool ReadAtZeroLevel(
bool fSkipChildren);
312 bool ReadForward(
bool fSkipChildren);
313 void ReSetReadingMarks();
314 void FinishReadBinary();
316 ASPOSECPP_SHARED_API
String LookupPrefix(
const String& namespaceName)
override;
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Provides read-only access to a set of prefix and namespace mappings.
Definition: ixml_namespace_resolver.h:29
Represents a reader that provides fast, non-cached forward only access to XML data in an XmlNode.
Definition: xml_node_reader.h:49
int32_t ReadElementContentAsBase64(ArrayPtr< uint8_t > buffer, int32_t index, int32_t count) override
Reads the element and decodes the Base64 content.
int32_t ReadElementContentAsBinHex(ArrayPtr< uint8_t > buffer, int32_t index, int32_t count) override
Reads the element and decodes the BinHex content.
void Close() override
Changes the XmlNodeReader::get_ReadState to ReadState::Closed.
int32_t ReadContentAsBase64(ArrayPtr< uint8_t > buffer, int32_t index, int32_t count) override
Reads the content and returns the Base64 decoded binary bytes.
String ReadString() override
Reads the contents of an element or text node as a string.
String get_NamespaceURI() override
Returns the namespace URI (as defined in the W3C Namespace specification) of the node on which the re...
String get_Value() override
Returns the text value of the current node.
bool get_CanResolveEntity() override
Returns a value indicating whether this reader can parse and resolve entities.
String get_BaseURI() override
Returns the base URI of the current node.
String get_Prefix() override
Returns the namespace prefix associated with the current node.
int32_t get_AttributeCount() override
Returns the number of attributes on the current node.
SharedPtr< XmlNameTable > get_NameTable() override
Returns the XmlNameTable associated with this implementation.
bool get_EOF() override
Returns a value indicating whether the reader is positioned at the end of the stream.
bool get_IsEmptyElement() override
Returns a value indicating whether the current node is an empty element (for example,...
bool MoveToNextAttribute() override
Moves to the next attribute.
bool get_CanReadBinaryContent() override
Returns a value indicating whether the XmlNodeReader implements the binary content read methods.
System::Xml::ReadState get_ReadState() override
Returns the state of the reader.
XmlNodeType get_NodeType() override
Returns the type of the current node.
SharedPtr< Schema::IXmlSchemaInfo > get_SchemaInfo() override
Returns the schema information that has been assigned to the current node.
int32_t ReadContentAsBinHex(ArrayPtr< uint8_t > buffer, int32_t index, int32_t count) override
Reads the content and returns the BinHex decoded binary bytes.
void ResolveEntity() override
Resolves the entity reference for EntityReference nodes.
bool get_IsDefault() override
Returns a value indicating whether the current node is an attribute that was generated from the defau...
bool MoveToAttribute(String name) override
Moves to the attribute with the specified name.
int32_t get_Depth() override
Returns the depth of the current node in the XML document.
bool MoveToAttribute(String name, String namespaceURI) override
Moves to the attribute with the specified local name and namespace URI.
void Skip() override
Skips the children of the current node.
bool MoveToElement() override
Moves to the element that contains the current attribute node.
bool get_HasValue() override
Returns a value indicating whether the current node can have a XmlNodeReader::get_Value value.
bool get_HasAttributes() override
Returns a value indicating whether the current node has any attributes.
String get_LocalName() override
Returns the local name of the current node.
String GetAttribute(String name) override
Returns the value of the attribute with the specified name.
void MoveToAttribute(int32_t attributeIndex) override
Moves to the attribute with the specified index.
System::Xml::XmlSpace get_XmlSpace() override
Returns the current xml:space scope.
XmlNodeReader(const SharedPtr< XmlNode > &node)
Creates an instance of the XmlNodeReader class using the specified XmlNode.
String GetAttribute(int32_t attributeIndex) override
Returns the value of the attribute with the specified index.
bool MoveToFirstAttribute() override
Moves to the first attribute.
String GetAttribute(String name, String namespaceURI) override
Returns the value of the attribute with the specified local name and namespace URI.
String get_Name() override
Returns the qualified name of the current node.
bool ReadAttributeValue() override
Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes.
bool Read() override
Reads the next node from the stream.
String get_XmlLang() override
Returns the current xml:lang scope.
String LookupNamespace(const String &prefix) override
Resolves a namespace prefix in the current element's scope.
Represents a reader that provides fast, noncached, forward-only access to XML data.
Definition: xml_reader.h:73
XmlSpace
Specifies the current xml:space scope.
Definition: xml_space.h:15
@ Schema
Validate according to XML Schema definition language (XSD) schemas, including inline XML Schemas....
@ Xml
Serialize according to the XML 1.0 rules.
ReadState
Specifies the state of the reader.
Definition: read_state.h:15
XmlNodeType
Specifies the type of node.
Definition: xml_node_type.h:15
XmlNamespaceScope
Defines the namespace scope.
Definition: xml_namespace_scope.h:15
Definition: db_command.h:9