System::Xml::XmlParserContext class
Contents
[
Hide
]XmlParserContext class
Provides all the context information required by the XmlReader to parse an XML fragment.
class XmlParserContext : public System::Object
Methods
Method | Description |
---|---|
get_BaseURI() | Returns the base URI. |
get_DocTypeName() | Returns the name of the document type declaration. |
get_Encoding() | Returns the encoding type. |
get_InternalSubset() | Returns the internal DTD subset. |
get_NamespaceManager() | Returns the XmlNamespaceManager. |
get_NameTable() | Returns the XmlNameTable used to atomize strings. For more information on atomized strings, see XmlNameTable. |
get_PublicId() | Returns the public identifier. |
get_SystemId() | Returns the system identifier. |
get_XmlLang() | Returns the current xml:lang scope. |
get_XmlSpace() | Returns the current xml:space scope. |
set_BaseURI(const String&) | Sets the base URI. |
set_DocTypeName(const String&) | Sets the name of the document type declaration. |
set_Encoding(const SharedPtr<System::Text::Encoding>&) | Sets the encoding type. |
set_InternalSubset(const String&) | Sets the internal DTD subset. |
set_NamespaceManager(const SharedPtr<XmlNamespaceManager>&) | Sets the XmlNamespaceManager. |
set_NameTable(const SharedPtr<XmlNameTable>&) | Sets the XmlNameTable used to atomize strings. For more information on atomized strings, see XmlNameTable. |
set_PublicId(const String&) | Sets the public identifier. |
set_SystemId(const String&) | Sets the system identifier. |
set_XmlLang(const String&) | Sets the current xml:lang scope. |
set_XmlSpace(System::Xml::XmlSpace) | Sets the current xml:space scope. |
XmlParserContext(const SharedPtr<XmlNameTable>&, const SharedPtr<XmlNamespaceManager>&, const String&, System::Xml::XmlSpace) | Initializes a new instance of the XmlParserContext class with the specified XmlNameTable, XmlNamespaceManager, xml:lang, and xml:space values. |
XmlParserContext(const SharedPtr<XmlNameTable>&, const SharedPtr<XmlNamespaceManager>&, const String&, System::Xml::XmlSpace, const SharedPtr<System::Text::Encoding>&) | Initializes a new instance of the XmlParserContext class with the specified XmlNameTable, XmlNamespaceManager, xml:lang, xml:space, and encoding. |
XmlParserContext(const SharedPtr<XmlNameTable>&, const SharedPtr<XmlNamespaceManager>&, const String&, const String&, const String&, const String&, const String&, const String&, System::Xml::XmlSpace) | Initializes a new instance of the XmlParserContext class with the specified XmlNameTable, XmlNamespaceManager, base URI, xml:lang, xml:space, and document type values. |
XmlParserContext(const SharedPtr<XmlNameTable>&, const SharedPtr<XmlNamespaceManager>&, const String&, const String&, const String&, const String&, const String&, const String&, System::Xml::XmlSpace, const SharedPtr<System::Text::Encoding>&) | Initializes a new instance of the XmlParserContext class with the specified XmlNameTable, XmlNamespaceManager, base URI, xml:lang, xml:space, encoding, and document type values. |
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 Object
- Namespace System::Xml
- Library Aspose.Font for C++