XmlTextReader()
XmlTextReader::XmlTextReader(const SharedPtr<IO::Stream>&) constructor
Initializes a new instance of the XmlTextReader class with the specified stream.
System::Xml::XmlTextReader::XmlTextReader(const SharedPtr<IO::Stream> &input)
Arguments
Parameter | Type | Description |
---|---|---|
input | const SharedPtr<IO::Stream>& | The stream containing the XML data to read. |
XmlTextReader::XmlTextReader(const String&, const SharedPtr<IO::Stream>&) constructor
Initializes a new instance of the XmlTextReader class with the specified URL and stream.
System::Xml::XmlTextReader::XmlTextReader(const String &url, const SharedPtr<IO::Stream> &input)
Arguments
Parameter | Type | Description |
---|---|---|
url | const String& | The URL to use for resolving external resources. The XmlTextReader::get_BaseURI is set to this value. |
input | const SharedPtr<IO::Stream>& | The stream containing the XML data to read. |
XmlTextReader::XmlTextReader(const SharedPtr<IO::Stream>&, const SharedPtr<XmlNameTable>&) constructor
Initializes a new instance of the XmlTextReader class with the specified stream and XmlNameTable.
System::Xml::XmlTextReader::XmlTextReader(const SharedPtr<IO::Stream> &input, const SharedPtr<XmlNameTable> &nt)
Arguments
Parameter | Type | Description |
---|---|---|
input | const SharedPtr<IO::Stream>& | The stream containing the XML data to read. |
nt | const SharedPtr<XmlNameTable>& | The XmlNameTable to use. |
XmlTextReader::XmlTextReader(const String&, const SharedPtr<IO::Stream>&, const SharedPtr<XmlNameTable>&) constructor
Initializes a new instance of the XmlTextReader class with the specified URL, stream and XmlNameTable.
System::Xml::XmlTextReader::XmlTextReader(const String &url, const SharedPtr<IO::Stream> &input, const SharedPtr<XmlNameTable> &nt)
Arguments
Parameter | Type | Description |
---|---|---|
url | const String& | The URL to use for resolving external resources. The XmlTextReader::get_BaseURI is set to this value. If url is nullptr, BaseURI is set to String::Empty. |
input | const SharedPtr<IO::Stream>& | The stream containing the XML data to read. |
nt | const SharedPtr<XmlNameTable>& | The XmlNameTable to use. |
XmlTextReader::XmlTextReader(const SharedPtr<IO::TextReader>&) constructor
Initializes a new instance of the XmlTextReader class with the specified TextReader.
System::Xml::XmlTextReader::XmlTextReader(const SharedPtr<IO::TextReader> &input)
Arguments
Parameter | Type | Description |
---|---|---|
input | const SharedPtr<IO::TextReader>& | The TextReader containing the XML data to read. |
XmlTextReader::XmlTextReader(const String&, const SharedPtr<IO::TextReader>&) constructor
Initializes a new instance of the XmlTextReader class with the specified URL and TextReader.
System::Xml::XmlTextReader::XmlTextReader(const String &url, const SharedPtr<IO::TextReader> &input)
Arguments
Parameter | Type | Description |
---|---|---|
url | const String& | The URL to use for resolving external resources. The XmlTextReader::get_BaseURI is set to this value. |
input | const SharedPtr<IO::TextReader>& | The TextReader containing the XML data to read. |
XmlTextReader::XmlTextReader(const SharedPtr<IO::TextReader>&, const SharedPtr<XmlNameTable>&) constructor
Initializes a new instance of the XmlTextReader class with the specified TextReader and XmlNameTable.
System::Xml::XmlTextReader::XmlTextReader(const SharedPtr<IO::TextReader> &input, const SharedPtr<XmlNameTable> &nt)
Arguments
Parameter | Type | Description |
---|---|---|
input | const SharedPtr<IO::TextReader>& | The TextReader containing the XML data to read. |
nt | const SharedPtr<XmlNameTable>& | The XmlNameTable to use. |
XmlTextReader::XmlTextReader(const String&, const SharedPtr<IO::TextReader>&, const SharedPtr<XmlNameTable>&) constructor
Initializes a new instance of the XmlTextReader class with the specified URL, TextReader and XmlNameTable.
System::Xml::XmlTextReader::XmlTextReader(const String &url, const SharedPtr<IO::TextReader> &input, const SharedPtr<XmlNameTable> &nt)
Arguments
Parameter | Type | Description |
---|---|---|
url | const String& | The URL to use for resolving external resources. The XmlTextReader::get_BaseURI is set to this value. If url is nullptr, BaseURI is set to String::Empty. |
input | const SharedPtr<IO::TextReader>& | The TextReader containing the XML data to read. |
nt | const SharedPtr<XmlNameTable>& | The XmlNameTable to use. |
XmlTextReader::XmlTextReader(const SharedPtr<IO::Stream>&, XmlNodeType, const SharedPtr<XmlParserContext>&) constructor
Initializes a new instance of the XmlTextReader class with the specified stream, XmlNodeType, and XmlParserContext.
System::Xml::XmlTextReader::XmlTextReader(const SharedPtr<IO::Stream> &xmlFragment, XmlNodeType fragType, const SharedPtr<XmlParserContext> &context)
Arguments
Parameter | Type | Description |
---|---|---|
xmlFragment | const SharedPtr<IO::Stream>& | The stream containing the XML fragment to parse. |
fragType | XmlNodeType | The XmlNodeType of the XML fragment. This also determines what the fragment can contain. |
context | const SharedPtr<XmlParserContext>& | The XmlParserContext in which the xmlFragment is to be parsed. This includes the XmlNameTable to use, encoding, namespace scope, the current xml:lang, and the xml:space scope. |
XmlTextReader::XmlTextReader(const String&, XmlNodeType, const SharedPtr<XmlParserContext>&) constructor
Initializes a new instance of the XmlTextReader class with the specified string, XmlNodeType, and XmlParserContext.
System::Xml::XmlTextReader::XmlTextReader(const String &xmlFragment, XmlNodeType fragType, const SharedPtr<XmlParserContext> &context)
Arguments
Parameter | Type | Description |
---|---|---|
xmlFragment | const String& | The string containing the XML fragment to parse. |
fragType | XmlNodeType | The XmlNodeType of the XML fragment. This also determines what the fragment string can contain. |
context | const SharedPtr<XmlParserContext>& | The XmlParserContext in which the xmlFragment is to be parsed. This includes the XmlNameTable to use, encoding, namespace scope, the current xml:lang, and the xml:space scope. |
XmlTextReader::XmlTextReader(const String&) constructor
Initializes a new instance of the XmlTextReader class with the specified file.
System::Xml::XmlTextReader::XmlTextReader(const String &url)
Arguments
Parameter | Type | Description |
---|---|---|
url | const String& | The URL for the file containing the XML data. The XmlTextReader::get_BaseURI is set to this value. |
XmlTextReader::XmlTextReader(const String&, const SharedPtr<XmlNameTable>&) constructor
Initializes a new instance of the XmlTextReader class with the specified file and XmlNameTable.
System::Xml::XmlTextReader::XmlTextReader(const String &url, const SharedPtr<XmlNameTable> &nt)
Arguments
Parameter | Type | Description |
---|---|---|
url | const String& | The URL for the file containing the XML data to read. |
nt | const SharedPtr<XmlNameTable>& | The XmlNameTable to use. |
See Also
- Enum XmlNodeType
- Typedef SharedPtr
- Class Stream
- Class XmlTextReader
- Class String
- Class XmlNameTable
- Class TextReader
- Class XmlParserContext
- Namespace System::Xml
- Library Aspose.Slides