5#include <xml/validation_type.h>
6#include <xml/schema/xml_schema_validation_flags.h>
7#include <xml/schema/validation_event_handler.h>
8#include <xml/dtd_processing.h>
9#include <xml/conformance_level.h>
10#include <system/object.h>
11#include <system/enum_helpers.h>
31class XmlCharCheckingReader;
33class XmlParserContext;
36class XmlSqlBinaryReader;
37class XmlTextReaderImpl;
38class XmlValidatingReaderImpl;
41class XPathNavigatorReader;
43class XsdValidatingReader;
61 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
62 ASPOSECPP_SHARED_RTTI_INFO_DECL();
71 friend class XmlSqlBinaryReader;
73 friend class XmlCharCheckingReader;
74 friend class XmlTextReaderImpl;
75 friend class XmlValidatingReaderImpl;
76 friend class XsdValidatingReader;
78 friend class XPath::XPathNavigatorReader;
212 CheckReadOnly(u
"ValidationEventHandler");
213 _valEventHandler.connect(value...);
219 CheckReadOnly(u
"ValidationEventHandler");
220 _valEventHandler.disconnect(value...);
234 bool get_IsXmlResolverSet();
235 void set_IsXmlResolverSet(
bool value);
237 void set_ReadOnly(
bool value);
253 #ifdef ASPOSE_GET_SHARED_MEMBERS
254 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
262 int32_t _lineNumberOffset;
263 int32_t _linePositionOffset;
265 bool _checkCharacters;
266 int64_t _maxCharactersInDocument;
267 int64_t _maxCharactersFromEntities;
268 bool _ignoreWhitespace;
270 bool _ignoreComments;
278 bool pr_IsXmlResolverSet;
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
Contains a cache of XML Schema definition language (XSD) schemas.
Definition: xml_schema_set.h:66
Represents a reader that provides fast, noncached, forward-only access to XML data.
Definition: xml_reader.h:73
Specifies a set of features to support on the XmlReader object created by the XmlReader::Create metho...
Definition: xml_reader_settings.h:57
void set_CheckCharacters(bool value)
Sets a value indicating whether to do character checking.
void set_MaxCharactersFromEntities(int64_t value)
Sets a value indicating the maximum allowable number of characters in a document that result from exp...
int64_t get_MaxCharactersFromEntities()
Returns a value indicating the maximum allowable number of characters in a document that result from ...
void set_ValidationType(System::Xml::ValidationType value)
Sets a value indicating whether the XmlReader will perform validation or type assignment when reading...
System::Xml::ConformanceLevel get_ConformanceLevel()
Returns the level of conformance which the XmlReader will comply.
void set_LineNumberOffset(int32_t value)
Sets line number offset of the XmlReader object.
bool get_CheckCharacters()
Returns a value indicating whether to do character checking.
void set_XmlResolver(const SharedPtr< System::Xml::XmlResolver > &value)
Sets the XmlResolver used to access external documents.
bool get_CloseInput()
Returns a value indicating whether the underlying stream or TextReader should be closed when the read...
void set_IgnoreComments(bool value)
Sets a value indicating whether to ignore comments.
int64_t get_MaxCharactersInDocument()
Returns a value indicating the maximum allowable number of characters in an XML document....
void set_CloseInput(bool value)
Sets a value indicating whether the underlying stream or TextReader should be closed when the reader ...
Schema::XmlSchemaValidationFlags get_ValidationFlags()
Returns a value indicating the schema validation settings. This setting applies to XmlReader objects ...
int32_t get_LineNumberOffset()
Returns line number offset of the XmlReader object.
bool get_IgnoreProcessingInstructions()
Returns a value indicating whether to ignore processing instructions.
void set_MaxCharactersInDocument(int64_t value)
Sets a value indicating the maximum allowable number of characters in an XML document....
void set_IgnoreProcessingInstructions(bool value)
Sets a value indicating whether to ignore processing instructions.
void ValidationEventHandler_add(Args... value)
Adds an event handler that occurs when the reader encounters validation errors.
Definition: xml_reader_settings.h:210
bool get_IgnoreWhitespace()
Returns a value indicating whether to ignore insignificant white space.
void set_Schemas(const SharedPtr< Schema::XmlSchemaSet > &value)
Sets the XmlSchemaSet to use when performing schema validation.
void set_NameTable(const SharedPtr< XmlNameTable > &value)
Sets the XmlNameTable used for atomized string comparisons.
int32_t get_LinePositionOffset()
Returns line position offset of the XmlReader object.
System::Xml::DtdProcessing get_DtdProcessing()
Returns a value that determines the processing of DTDs.
void set_ProhibitDtd(bool value)
Sets a value indicating whether to prohibit document type definition (DTD) processing.
void set_IgnoreWhitespace(bool value)
Sets a value indicating whether to ignore insignificant white space.
void CheckReadOnly(const String &propertyName)
SharedPtr< XmlNameTable > get_NameTable()
Returns the XmlNameTable used for atomized string comparisons.
void set_ConformanceLevel(System::Xml::ConformanceLevel value)
Sets the level of conformance which the XmlReader will comply.
void Reset()
Resets the members of the settings class to their default values.
void set_ValidationFlags(Schema::XmlSchemaValidationFlags value)
Sets a value indicating the schema validation settings. This setting applies to XmlReader objects tha...
virtual ~XmlReaderSettings()
void set_LinePositionOffset(int32_t value)
Sets line position offset of the XmlReader object.
XmlReaderSettings()
Initializes a new instance of the XmlReaderSettings class.
void set_DtdProcessing(System::Xml::DtdProcessing value)
Sets a value that determines the processing of DTDs.
SharedPtr< Schema::XmlSchemaSet > get_Schemas()
Returns the XmlSchemaSet to use when performing schema validation.
bool get_IgnoreComments()
Returns a value indicating whether to ignore comments.
void ValidationEventHandler_remove(Args... value)
Removes an event handler that occurs when the reader encounters validation errors.
Definition: xml_reader_settings.h:217
SharedPtr< XmlReaderSettings > Clone()
Creates a copy of the XmlReaderSettings instance.
bool get_ProhibitDtd()
Returns a value indicating whether to prohibit document type definition (DTD) processing.
System::Xml::ValidationType get_ValidationType()
Returns a value indicating whether the XmlReader will perform validation or type assignment when read...
@ Stream
The type that supports reliable, two-way, connection-based byte streams without duplication of data a...
System::MulticastDelegate< void(SharedPtr< Object >, SharedPtr< ValidationEventArgs >)> ValidationEventHandler
Represents the callback method that will handle XML schema validation events and the ValidationEventA...
Definition: validation_event_handler.h:33
XmlSchemaValidationFlags
Specifies schema validation options used by the XmlSchemaValidator and XmlReader classes.
Definition: xml_schema_validation_flags.h:18
ConformanceLevel
Specifies the amount of input or output checking that XmlReader and XmlWriter objects perform.
Definition: conformance_level.h:15
ValidationType
Specifies the type of validation to perform.
Definition: validation_type.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.
DtdProcessing
Specifies the options for processing DTDs. The DtdProcessing enumeration is used by the XmlReaderSett...
Definition: dtd_processing.h:15
Definition: db_command.h:9