Inherits System::Xml::XmlReader.
Inherited by System::Xml::XmlNodeReader.
Public Types | |
typedef SharedPtr< XmlTextReader > | Ptr |
An alias for shared pointer to an instance of this class. More... | |
![]() | |
typedef SharedPtr< XmlReader > | Ptr |
An alias for shared pointer to an instance of this class. More... | |
![]() | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. More... | |
typedef System::Details::SharedMembersType | shared_members_type |
structure to keep list of shared pointers contained in object. More... | |
Public Member Functions | |
ASPOSECPP_SHARED_API | XmlTextReader (const String &inputUri) |
ASPOSECPP_SHARED_API | XmlTextReader (const SharedPtr< System::IO::Stream > &input) |
ASPOSECPP_SHARED_API | XmlTextReader (const SharedPtr< System::IO::TextReader > &input) |
ASPOSECPP_SHARED_API | XmlTextReader (const String &url, const SharedPtr< System::IO::Stream > &input) |
ASPOSECPP_SHARED_API | XmlTextReader (const String &url, const SharedPtr< System::IO::TextReader > &input) |
ASPOSECPP_SHARED_API | XmlTextReader (const String &inputUri, const XmlReaderSettings::Ptr &settings) |
ASPOSECPP_SHARED_API | XmlTextReader (const SharedPtr< System::IO::Stream > &input, const XmlReaderSettings::Ptr &settings) |
ASPOSECPP_SHARED_API | XmlTextReader (const SharedPtr< System::IO::TextReader > &input, const XmlReaderSettings::Ptr &settings) |
ASPOSECPP_SHARED_API | XmlTextReader (const SharedPtr< System::IO::TextReader > &input, const XmlReaderSettings::Ptr &settings, const XmlParserContext::Ptr &context) |
ASPOSECPP_SHARED_API | XmlTextReader (const SharedPtr< System::IO::Stream > &input, XmlNodeType fragType, const XmlParserContext::Ptr &context) |
ASPOSECPP_SHARED_API | XmlTextReader (const String &xmlFragment, XmlNodeType fragType, const XmlParserContext::Ptr &context) |
ASPOSECPP_SHARED_API | XmlTextReader (const SharedPtr< System::IO::Stream > &input, const XmlReaderSettings::Ptr &settings, const XmlParserContext::Ptr &context) |
ASPOSECPP_SHARED_API | XmlTextReader (const String &xmlFragment, const XmlReaderSettings::Ptr &settings, const XmlParserContext::Ptr &context) |
virtual ASPOSECPP_SHARED_API | ~XmlTextReader () |
Destructor. More... | |
ASPOSECPP_SHARED_API int | ReadElementContentAsBase64 (const ArrayPtr< uint8_t > &buffer, int index, int count) override |
ASPOSECPP_SHARED_API String | get_Name () override |
Returns the qualified name of the current node. More... | |
ASPOSECPP_SHARED_API String | get_Prefix () override |
Returns the prefix of the current node. More... | |
ASPOSECPP_SHARED_API String | get_LocalName () override |
Returns the local name of the current node. More... | |
ASPOSECPP_SHARED_API String | get_NamespaceURI () override |
Returns the namespace URI of the current node. More... | |
ASPOSECPP_SHARED_API String | get_BaseURI () override |
Returns the base URI of the current node. More... | |
ASPOSECPP_SHARED_API String | get_Value () override |
Returns the value of the current node. More... | |
ASPOSECPP_SHARED_API bool | get_CanResolveEntity () override |
Determines whether the current XmlReader object can parse and resolve entities. More... | |
ASPOSECPP_SHARED_API void | ResolveEntity () override |
Resolves the entity reference for EntityReference nodes. More... | |
ASPOSECPP_SHARED_API ReadState | get_ReadState () override |
Returns the current state of the reader. More... | |
ASPOSECPP_SHARED_API bool | get_IsEmptyElement () override |
Determines if the current node is an empty element. More... | |
ASPOSECPP_SHARED_API bool | get_IsDefault () override |
Determines if the current node is an attribute that was generated from the default value defined in the DTD or schema. More... | |
ASPOSECPP_SHARED_API int | get_Depth () override |
Returns the depths of the current node in the XML tree. More... | |
ASPOSECPP_SHARED_API bool | get_EOF () override |
Determines if the reader has reached the end of stream. More... | |
ASPOSECPP_SHARED_API bool | get_HasAttributes () override |
Determines if the current node has any attributes. More... | |
ASPOSECPP_SHARED_API int | get_AttributeCount () override |
Returns the number of attributes in the current node. More... | |
ASPOSECPP_SHARED_API bool | get_HasValue () override |
Determines if the current node has a value. More... | |
ASPOSECPP_SHARED_API String | get_XmlLang () override |
Returns the current xml:lang scope. More... | |
ASPOSECPP_SHARED_API UChar | get_QuoteChar () override |
Returns the used as quotation mark character used to enclose the value of an XML attribute node. More... | |
ASPOSECPP_SHARED_API XmlNodeType | get_NodeType () override |
Returns the type of the current node. More... | |
ASPOSECPP_SHARED_API String | GetAttribute (const String &name) override |
ASPOSECPP_SHARED_API String | GetAttribute (const String &localName, const String &namespaceURI) override |
ASPOSECPP_SHARED_API bool | MoveToAttribute (const String &name) override |
ASPOSECPP_SHARED_API void | MoveToAttribute (int index) override |
ASPOSECPP_SHARED_API bool | MoveToNextAttribute () override |
ASPOSECPP_SHARED_API bool | MoveToFirstAttribute () override |
ASPOSECPP_SHARED_API XmlNodeType | MoveToContent () override |
ASPOSECPP_SHARED_API bool | MoveToElement () override |
ASPOSECPP_SHARED_API bool | Next () override |
ASPOSECPP_SHARED_API bool | Read () override |
ASPOSECPP_SHARED_API String | LookupNamespace (const String &prefix) override |
ASPOSECPP_SHARED_API void | Skip () override |
Skips the children of the current node. More... | |
ASPOSECPP_SHARED_API void | Close () override |
Changes the state of the reader to ReadState::Closed. More... | |
ASPOSECPP_SHARED_API String | ReadString () override |
ASPOSECPP_SHARED_API void | ReadStartElement () override |
ASPOSECPP_SHARED_API void | ReadStartElement (const String &name) override |
ASPOSECPP_SHARED_API void | ReadStartElement (const String &localName, const String &namespaceUri) override |
ASPOSECPP_SHARED_API String | ReadInnerXml () override |
Returns a string containing all the content of the current node, including the markup, but excluding start and end tags. More... | |
ASPOSECPP_SHARED_API String | ReadOuterXml () override |
Returns a string containing all the content of the current node, including the markup, and including start and end tags. More... | |
ASPOSECPP_SHARED_API String | ReadElementString () override |
ASPOSECPP_SHARED_API String | ReadElementString (const String &value) override |
ASPOSECPP_SHARED_API String | ReadElementString (const String &localName, const String &namespaceUri) override |
ASPOSECPP_SHARED_API String | get_Encoding () const |
Returns the document's encoding. More... | |
ASPOSECPP_SHARED_API void | set_XmlResolver (const SharedPtr< XmlResolver > &value) |
ASPOSECPP_SHARED_API SharedPtr< XmlNameTable > | get_NameTable () override |
Returns the name table used by the current object. More... | |
ASPOSECPP_SHARED_API int | get_LineNumber () const |
Returns the current line number. More... | |
ASPOSECPP_SHARED_API int | get_LinePosition () const |
Returns the current line position. More... | |
ASPOSECPP_SHARED_API void | set_ProhibitDtd (bool value) |
ASPOSECPP_SHARED_API void | set_EntityHandling (EntityHandling value) |
ASPOSECPP_SHARED_API void | set_Normalization (bool value) |
ASPOSECPP_SHARED_API void | set_WhitespaceHandling (WhitespaceHandling value) |
ASPOSECPP_SHARED_API void | set_DtdProcessing (DtdProcessing value) |
ASPOSECPP_SHARED_API int | ReadBinHex (const ArrayPtr< uint8_t > &buffer, int startPosition, int length) |
int | native_parse_flags () const |
Returns a bitwise set of flags used by the underlying libxml2 xmlTextReader object. More... | |
![]() | |
ASPOSECPP_SHARED_API String | idx_get (const String &name) |
virtual ASPOSECPP_SHARED_API String | GetAttribute (int32_t index) |
virtual ASPOSECPP_SHARED_API bool | ReadToNextSibling (const String &name) |
virtual ASPOSECPP_SHARED_API Ptr | ReadSubtree () |
Read an element and all its children, and return a new XmlReader object set to ReadState::Initial. More... | |
virtual ASPOSECPP_SHARED_API bool | ReadToFollowing (const String &name) |
virtual ASPOSECPP_SHARED_API bool | ReadToFollowing (const String &localName, const String &namespaceURI) |
virtual ASPOSECPP_SHARED_API bool | ReadToDescendant (const String &name) |
virtual ASPOSECPP_SHARED_API bool | ReadToDescendant (const String &localName, const String &namespaceURI) |
virtual bool | ReadContentAsBoolean () |
virtual double | ReadContentAsDouble () |
virtual float | ReadContentAsFloat () |
virtual Decimal | ReadContentAsDecimal () |
virtual int32_t | ReadContentAsInt () |
virtual int64_t | ReadContentAsLong () |
virtual String | ReadContentAsString () |
virtual ASPOSECPP_SHARED_API DateTime | ReadContentAsDateTime () |
virtual ASPOSECPP_SHARED_API DateTime | ReadElementContentAsDateTime () |
virtual ASPOSECPP_SHARED_API DateTime | ReadElementContentAsDateTime (const String &localName, const String &namespaceURI) |
virtual ASPOSECPP_SHARED_API int | ReadElementContentAsInt (const String &localName, const String &namespaceURI) |
virtual ASPOSECPP_SHARED_API int | ReadElementContentAsInt () |
virtual ASPOSECPP_SHARED_API bool | ReadElementContentAsBoolean () |
virtual ASPOSECPP_SHARED_API bool | ReadElementContentAsBoolean (const String &localName, const String &namespaceURI) |
virtual ASPOSECPP_SHARED_API String | ReadElementContentAsString (const String &localName, const String &namespaceURI) |
virtual ASPOSECPP_SHARED_API String | ReadElementContentAsString () |
virtual ASPOSECPP_SHARED_API void | ReadEndElement () |
Determines if the current content node is an end tag and advances the reader to the next node. More... | |
virtual ASPOSECPP_SHARED_API bool | IsStartElement () |
virtual ASPOSECPP_SHARED_API bool | IsStartElement (const String &name) |
virtual ASPOSECPP_SHARED_API bool | IsStartElement (const String &name, const String &ns) |
xmlTextReader * | native () const |
Returns a pointer to the underlying libxml2 xmlTextReader object. More... | |
![]() | |
virtual void | Dispose () |
Does nothing. More... | |
![]() | |
ASPOSECPP_SHARED_API | Object () |
Creates object. Initializes all internal data structures. More... | |
virtual ASPOSECPP_SHARED_API | ~Object () |
Destroys object. Frees all internal data structures. More... | |
ASPOSECPP_SHARED_API | Object (Object const &x) |
Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | SharedRefRemovedSafe () |
Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | RemovedSharedRefs (int count) |
Decreases shared reference count by specified value. More... | |
Detail::SmartPtrCounter * | WeakRefAdded () |
Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
void | WeakRefRemoved () |
Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
Detail::SmartPtrCounter * | GetCounter () |
Gets reference counter data structure associated with the object. More... | |
int | SharedCount () const |
Gets current value of shared refernce counter. More... | |
ASPOSECPP_SHARED_API void | Lock () |
Implements C# lock() statement locking. Call directly or use LockContext sentry object. More... | |
ASPOSECPP_SHARED_API void | Unlock () |
Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More... | |
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
Compares objects using C# Object.Equals semantics. More... | |
virtual ASPOSECPP_SHARED_API int | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More... | |
virtual ASPOSECPP_SHARED_API String | ToString () const |
Analog of C# Object.ToString() method. Enables converting custom objects to string. More... | |
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More... | |
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
Gets actual type of object. Analog of C# System.Object.GetType() call. More... | |
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More... | |
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (unsigned int argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More... | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
template<> | |
bool | Equals (double const &objA, double const &objB) |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
Protected Member Functions | |
ASPOSECPP_SHARED_API | XmlTextReader () |
Constructs an instance of XmlTextReader class. More... | |
virtual ASPOSECPP_SHARED_API bool | ReadAttributeValue () override |
Reads attribute value. More... | |
![]() | |
ASPOSECPP_SHARED_API | XmlReader () |
Constructs an intsance of XmlReader class. More... | |
Protected Attributes | |
int | m_parseFlags = 0 |
A bitwise set of flags used by the underlying libxml2 xmlTextReader object. More... | |
SharedPtr< XmlReaderSettings > | m_settings |
Settings controlling the behavior of the current XmlTextReader object. More... | |
XmlParserContext::Ptr | m_context |
XML Parser context. More... | |
![]() | |
xmlTextReader * | m_reader |
The underlying naive libxml2 XML reader object used by the current object. More... | |
Additional Inherited Members | |
![]() | |
static ASPOSECPP_SHARED_API XmlReader::Ptr | Create (const String &inputUri) |
static ASPOSECPP_SHARED_API XmlReader::Ptr | Create (const SharedPtr< System::IO::Stream > &input) |
static ASPOSECPP_SHARED_API XmlReader::Ptr | Create (const SharedPtr< System::IO::TextReader > &input) |
static ASPOSECPP_SHARED_API XmlReader::Ptr | Create (const String &inputUri, const SharedPtr< XmlReaderSettings > &settings) |
static ASPOSECPP_SHARED_API XmlReader::Ptr | Create (const SharedPtr< System::IO::Stream > &input, const SharedPtr< XmlReaderSettings > &settings) |
static ASPOSECPP_SHARED_API XmlReader::Ptr | Create (const SharedPtr< System::IO::Stream > &input, const SharedPtr< XmlReaderSettings > &settings, const String &baseUri) |
static ASPOSECPP_SHARED_API XmlReader::Ptr | Create (const SharedPtr< System::IO::TextReader > &input, const SharedPtr< XmlReaderSettings > &settings) |
static ASPOSECPP_SHARED_API XmlReader::Ptr | Create (const SharedPtr< System::IO::TextReader > &input, const SharedPtr< XmlReaderSettings > &settings, const SharedPtr< XmlParserContext > &inputContext) |
static ASPOSECPP_SHARED_API XmlReader::Ptr | Create (const SharedPtr< System::IO::Stream > &input, const SharedPtr< XmlReaderSettings > &settings, const SharedPtr< XmlParserContext > &inputContext) |
static ASPOSECPP_SHARED_API XmlReader::Ptr | Create (const SharedPtr< System::IO::TextReader > &input, const SharedPtr< XmlReaderSettings > &settings, const System::String &baseUrl) |
static ASPOSECPP_SHARED_API XmlReader::Ptr | Create (const XmlReader::Ptr &input, const SharedPtr< XmlReaderSettings > &settings) |
![]() | |
static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
Reference-compares value type object with nullptr. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares reference type objects in C# style. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares value type objects in C# style. More... | |
static const TypeInfo & | Type () |
Impleemnts C# typeof(System.Object) construct. More... | |
![]() | |
static bool | is_content (XmlNodeType type) |
Provides non-cached forward-only access to XML data. Objects of this class should only be allocated using System::MakeObject() function. Never create instance 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.
An alias for shared pointer to an instance of this class.
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const String & | inputUri | ) |
Constructs an instance of the XmlTextReader class that reads XML data from the specified file.
inputUri | URI of the file containing the XML to read |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const SharedPtr< System::IO::Stream > & | input | ) |
Constructs an instance of the XmlTextReader class that reads XML data from the specified stream.
input | A System::IO::Stream object to read the XML data from |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const SharedPtr< System::IO::TextReader > & | input | ) |
Constructs an instance of the XmlTextReader class that reads XML data from the specified TextReader.
input | A TextReader object to read the XML data from |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const String & | url, |
const SharedPtr< System::IO::Stream > & | input | ||
) |
Constructs an instance of the XmlTextReader class that reads XML data from the specified srteam; a parameter specifies an URL to resolve resources.
url | An URL used to resolve external resources encountered in the XML document being read |
input | A sream to read the XML data from |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const String & | url, |
const SharedPtr< System::IO::TextReader > & | input | ||
) |
Constructs an instance of the XmlTextReader class that reads XML data from the specified TextReader; a parameter specifies an URL to resolve resources.
url | An URL used to resolve external resources encountered in the XML document being read |
input | A TextReader object to read the XML data from |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const String & | inputUri, |
const XmlReaderSettings::Ptr & | settings | ||
) |
Constructs an instance of the XmlTextReader class that reads XML data from the specified file using the specified settings.
inputUri | URI of the file containing the XML to read |
settings | The settings of the XmlReader being created |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const SharedPtr< System::IO::Stream > & | input, |
const XmlReaderSettings::Ptr & | settings | ||
) |
Constructs an instance of the XmlTextReader class that reads XML data from the specified stream using the specified settings.
input | A System::IO::Stream object to read the XML data from |
settings | The settings of the XmlReader being created |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const SharedPtr< System::IO::TextReader > & | input, |
const XmlReaderSettings::Ptr & | settings | ||
) |
Constructs an instance of the XmlTextReader class that reads XML data from the specified TextReader using the specified settings.
input | A TextReader object to read the XML data from |
settings | The settings of the XmlReader being created |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const SharedPtr< System::IO::TextReader > & | input, |
const XmlReaderSettings::Ptr & | settings, | ||
const XmlParserContext::Ptr & | context | ||
) |
Constructs an instance of the XmlTextReader class that reads XML data from the specified TextReader using the specified settings and cotext information for parsing.
input | A TextReader object to read the XML data from |
settings | The settings of the XmlReader being created |
context | The context information used to parse the XML fragment |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const SharedPtr< System::IO::Stream > & | input, |
XmlNodeType | fragType, | ||
const XmlParserContext::Ptr & | context | ||
) |
Constructs an instance of the XmlTextReader class that reads an XML frogmet of the specified type from the specified stream using the specified cotext information for parsing.
input | A System::IO::Stream object to read the XML data from |
fragType | The type of the fragment read from the stream input |
context | The context information used to parse the XML fragment |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const String & | xmlFragment, |
XmlNodeType | fragType, | ||
const XmlParserContext::Ptr & | context | ||
) |
Constructs an instance of the XmTextlReader class that reads an XML fragment of the specified type from the specified string using cotext information for parsing.
xmlFragment | An XML fragment represented as a string |
fragType | The type of the fragment being read |
context | The context information used to parse the XML fragment |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const SharedPtr< System::IO::Stream > & | input, |
const XmlReaderSettings::Ptr & | settings, | ||
const XmlParserContext::Ptr & | context | ||
) |
Constructs an instance of the XmlTextReader class that reads XML data from the specified stream using the specified settings and cotext information for parsing.
input | A System::IO::Stream object to read the XML data from |
settings | The settings of the XmlReader being created |
context | The context information used to parse the XML fragment |
ASPOSECPP_SHARED_API System::Xml::XmlTextReader::XmlTextReader | ( | const String & | xmlFragment, |
const XmlReaderSettings::Ptr & | settings, | ||
const XmlParserContext::Ptr & | context | ||
) |
Constructs an instance of the XmTextlReader class that reads an XML fragment specified as a string using the specified settings and cotext information for parsing.
xmlFragment | An XML fragment represented as a string |
settings | The settings of the XmlReader being created |
context | The context information used to parse the XML fragment |
|
virtual |
Destructor.
|
protected |
Constructs an instance of XmlTextReader class.
|
overridevirtual |
Changes the state of the reader to ReadState::Closed.
Implements System::Xml::XmlReader.
|
overridevirtual |
Returns the number of attributes in the current node.
Implements System::Xml::XmlReader.
|
overridevirtual |
Returns the base URI of the current node.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Determines whether the current XmlReader object can parse and resolve entities.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Returns the depths of the current node in the XML tree.
Reimplemented from System::Xml::XmlReader.
ASPOSECPP_SHARED_API String System::Xml::XmlTextReader::get_Encoding | ( | ) | const |
Returns the document's encoding.
|
overridevirtual |
Determines if the reader has reached the end of stream.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Determines if the current node has any attributes.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Determines if the current node has a value.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Determines if the current node is an attribute that was generated from the default value defined in the DTD or schema.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Determines if the current node is an empty element.
Implements System::Xml::XmlReader.
ASPOSECPP_SHARED_API int System::Xml::XmlTextReader::get_LineNumber | ( | ) | const |
Returns the current line number.
ASPOSECPP_SHARED_API int System::Xml::XmlTextReader::get_LinePosition | ( | ) | const |
Returns the current line position.
|
overridevirtual |
Returns the local name of the current node.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Returns the qualified name of the current node.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Returns the namespace URI of the current node.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Returns the name table used by the current object.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Returns the type of the current node.
Implements System::Xml::XmlReader.
|
overridevirtual |
Returns the prefix of the current node.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Returns the used as quotation mark character used to enclose the value of an XML attribute node.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Returns the current state of the reader.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Returns the value of the current node.
Implements System::Xml::XmlReader.
|
overridevirtual |
Returns the current xml:lang scope.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Returns the value of the attribute with the specified name.
name | The qualified name of the attribute |
name
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Returns the value of the attribute with the specified name and namespace.
localName | The local name of the attribute |
namespaceURI | The URI of namespace used. |
localName
and namespace namespaceURI
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Resolves a namespace prefix in the scope of the current element.
prefix | The prefix to resove |
Implements System::Xml::XmlReader.
|
overridevirtual |
Moves the reader's position to the attribute with the specified name.
name | The qualified name of the attribute to move the position to |
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Moves the reader's position to the attribute with the specified index.
index | A 0-based index of the attribute in the list of attributes of the current node |
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Moves the position of the reader to the next content node, skipping the non-content nodes.
Implements System::Xml::XmlReader.
|
overridevirtual |
Moves the reader's position to the element node that contains the current attribute node.
Implements System::Xml::XmlReader.
|
overridevirtual |
Moves the reader's position to the first attribute in the list of attributes of the current node.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Moves the reader's position to the next attribute.
Reimplemented from System::Xml::XmlReader.
|
inline |
Returns a bitwise set of flags used by the underlying libxml2 xmlTextReader object.
|
overridevirtual |
Reads the next node.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Reads to the next node, including subtree (if any).
Implements System::Xml::XmlReader.
|
overrideprotectedvirtual |
Reads attribute value.
Implements System::Xml::XmlReader.
ASPOSECPP_SHARED_API int System::Xml::XmlTextReader::ReadBinHex | ( | const ArrayPtr< uint8_t > & | buffer, |
int | startPosition, | ||
int | length | ||
) |
Decodes a BinHex-encoded data and returns decoded bytes.
buffer | The output argument; a array to which the decoded bytes are written |
startPosition | A 0-based index in the buffer at which to start writing the decoded bytes |
length | The number of bytes to write to the output buffer |
|
overridevirtual |
Call this methods until it returns 0 to get all the data.
Reimplemented from System::Xml::XmlReader.
|
overridevirtual |
Reads the contents of a text-only element.
Implements System::Xml::XmlReader.
|
overridevirtual |
Checks if the current node is an element whose qualified name matches the specified value and reads its content.
value | The element's qualified name |
Implements System::Xml::XmlReader.
|
overridevirtual |
Checks if the current node is an element whose local name and namespce URI match the specified values and returns its content as string.
localName | The local name of the element |
namespaceUri | The namespace URI of the element |
Implements System::Xml::XmlReader.
|
overridevirtual |
Returns a string containing all the content of the current node, including the markup, but excluding start and end tags.
Implements System::Xml::XmlReader.
|
overridevirtual |
Returns a string containing all the content of the current node, including the markup, and including start and end tags.
Implements System::Xml::XmlReader.
|
overridevirtual |
Checks if the current content node is an element and moves the the reader's position to the next node.
Implements System::Xml::XmlReader.
|
overridevirtual |
Checks if the current content node is an element with the specified qualified name and moves the the reader's position to the next node.
name | The element's qualified name |
Implements System::Xml::XmlReader.
|
overridevirtual |
Checks if the current content node is an element with the specified local name and namespace URI and moves the the reader's position to the next node.
localName | The element's local name |
namespaceUri | The element's namespace URI |
Implements System::Xml::XmlReader.
|
overridevirtual |
Reads the contents of an element or a text node.
Implements System::Xml::XmlReader.
|
overridevirtual |
Resolves the entity reference for EntityReference nodes.
Implements System::Xml::XmlReader.
ASPOSECPP_SHARED_API void System::Xml::XmlTextReader::set_DtdProcessing | ( | DtdProcessing | value | ) |
Sets a value that determines the processing of DTD.
value | The value to set |
ASPOSECPP_SHARED_API void System::Xml::XmlTextReader::set_EntityHandling | ( | EntityHandling | value | ) |
Sets a value that specifies how the reader should handle entities.
value | The value to set |
ASPOSECPP_SHARED_API void System::Xml::XmlTextReader::set_Normalization | ( | bool | value | ) |
Sets a value that indicates if the white space and attribute values should be normalized.
value | The value to set |
ASPOSECPP_SHARED_API void System::Xml::XmlTextReader::set_ProhibitDtd | ( | bool | value | ) |
Sets a value that indicates if DTD processing should be prohibited.
value | The value to set |
ASPOSECPP_SHARED_API void System::Xml::XmlTextReader::set_WhitespaceHandling | ( | WhitespaceHandling | value | ) |
Sets a value that indicates how the whitspace characters should be handled by the reader.
value | The value to set |
ASPOSECPP_SHARED_API void System::Xml::XmlTextReader::set_XmlResolver | ( | const SharedPtr< XmlResolver > & | value | ) |
Sets the XML Resolver object used to access external XML documents.
value | The XmlResolver object to set |
|
overridevirtual |
Skips the children of the current node.
Implements System::Xml::XmlReader.
|
protected |
XML Parser context.
|
protected |
A bitwise set of flags used by the underlying libxml2 xmlTextReader object.
|
protected |
Settings controlling the behavior of the current XmlTextReader object.