5#include <xml/schema/validation_event_handler.h>
6#include <system/exceptions.h>
7#include <system/array.h>
18template <
typename,
typename>
class Dictionary;
19template <
typename>
class IList;
20template <
typename,
typename>
class KeyValuePair;
21template <
typename>
class List;
22template <
typename,
typename>
class SortedList;
32class ContentValidator;
35class ValidationEventArgs;
37class XmlSchemaCompilationSettings;
40class XmlSchemaObjectTable;
41class XmlSchemaSubstitutionGroup;
42class XmlSchemaValidator;
46class XmlQualifiedName;
48class XmlReaderSettings;
50class XsdValidatingReader;
70 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
71 ASPOSECPP_SHARED_RTTI_INFO_DECL();
80 friend class System::Xml::XsdValidatingReader;
81 friend class ContentValidator;
82 friend class Compiler;
130 _eventHandler.disconnect(_internalEventHandler);
131 _eventHandler.connect(value...);
132 if (_eventHandler ==
nullptr)
134 _eventHandler = _internalEventHandler;
141 _eventHandler.disconnect(value...);
142 if (_eventHandler ==
nullptr)
144 _eventHandler = _internalEventHandler;
271 #ifdef ASPOSE_GET_SHARED_MEMBERS
272 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
Pair of key and value. This type should be allocated on stack and passed to functions by value or by ...
Definition: keyvalue_pair.h:20
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
SharedPtr< XmlSchema > Add(const SharedPtr< XmlSchema > &schema)
Adds the given XmlSchema to the XmlSchemaSet.
void ValidationEventHandler_remove(Args... value)
Removes an event handler for receiving information about XML Schema definition language (XSD) schema ...
Definition: xml_schema_set.h:139
void CopyTo(const ArrayPtr< SharedPtr< XmlSchema > > &schemas, int32_t index)
Copies all the XmlSchema objects from the XmlSchemaSet to the given array, starting at the given inde...
XmlSchemaSet()
Initializes a new instance of the XmlSchemaSet class.
bool Contains(const SharedPtr< XmlSchema > &schema)
Indicates whether the specified XML Schema definition language (XSD) XmlSchema object is in the XmlSc...
XmlSchemaSet(const SharedPtr< XmlNameTable > &nameTable)
Initializes a new instance of the XmlSchemaSet class with the specified XmlNameTable.
SharedPtr< Collections::Generic::IList< SharedPtr< XmlSchema > > > Schemas()
Returns a collection of all the XML Schema definition language (XSD) schemas in the XmlSchemaSet.
bool RemoveRecursive(const SharedPtr< XmlSchema > &schemaToRemove)
Removes the specified XML Schema definition language (XSD) schema and all the schemas it imports from...
void Compile()
Compiles the XML Schema definition language (XSD) schemas added to the XmlSchemaSet into one logical ...
SharedPtr< XmlSchema > Reprocess(SharedPtr< XmlSchema > schema)
Reprocesses an XML Schema definition language (XSD) schema that already exists in the XmlSchemaSet.
SharedPtr< Collections::Generic::List< SharedPtr< XmlSchema > > > Schemas(String targetNamespace)
Returns a collection of all the XML Schema definition language (XSD) schemas in the XmlSchemaSet that...
SharedPtr< XmlSchemaObjectTable > get_GlobalTypes()
Returns all of the global simple and complex types in all the XML Schema definition language (XSD) sc...
SharedPtr< XmlSchema > Add(String targetNamespace, const String &schemaUri)
Adds the XML Schema definition language (XSD) schema at the URL specified to the XmlSchemaSet.
SharedPtr< XmlSchema > Add(String targetNamespace, const SharedPtr< XmlReader > &schemaDocument)
Adds the XML Schema definition language (XSD) schema contained in the XmlReader to the XmlSchemaSet.
SharedPtr< XmlSchemaObjectTable > get_GlobalAttributes()
Returns all the global attributes in all the XML Schema definition language (XSD) schemas in the XmlS...
SharedPtr< XmlNameTable > get_NameTable()
Returns the default XmlNameTable used by the XmlSchemaSet when loading new XML Schema definition lang...
void set_CompilationSettings(const SharedPtr< XmlSchemaCompilationSettings > &value)
Sets the XmlSchemaCompilationSettings for the XmlSchemaSet.
SharedPtr< XmlSchema > Remove(const SharedPtr< XmlSchema > &schema)
Removes the specified XML Schema definition language (XSD) schema from the XmlSchemaSet.
bool get_IsCompiled()
Returns a value that indicates whether the XML Schema definition language (XSD) schemas in the XmlSch...
void Add(const SharedPtr< XmlSchemaSet > &schemas)
Adds all the XML Schema definition language (XSD) schemas in the given XmlSchemaSet to the XmlSchemaS...
SharedPtr< XmlSchemaObjectTable > get_GlobalElements()
Returns all the global elements in all the XML Schema definition language (XSD) schemas in the XmlSch...
void set_XmlResolver(const SharedPtr< System::Xml::XmlResolver > &value)
Sets the XmlResolver used to resolve namespaces or locations referenced in include and import element...
bool Contains(String targetNamespace)
Indicates whether an XML Schema definition language (XSD) schema with the specified target namespace ...
void ValidationEventHandler_add(Args... value)
Adds an event handler for receiving information about XML Schema definition language (XSD) schema val...
Definition: xml_schema_set.h:128
int32_t get_Count()
Returns the number of logical XML Schema definition language (XSD) schemas in the XmlSchemaSet.
SharedPtr< XmlSchemaCompilationSettings > get_CompilationSettings()
Returns the XmlSchemaCompilationSettings for the XmlSchemaSet.
Represents an XML Schema Definition Language (XSD) Schema validation engine. The XmlSchemaValidator c...
Definition: xml_schema_validator.h:93
class ASPOSECPP_SHARED_CLASS List
Definition: ienumerable.h:18
System::ExceptionWrapper< Details_XmlSchemaException > XmlSchemaException
Definition: xml_schema_exception.h:76
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
XmlSeverityType
Represents the severity of the validation event.
Definition: xml_severity_type.h:17
@ Schema
Validate according to XML Schema definition language (XSD) schemas, including inline XML Schemas....
@ Xml
Serialize according to the XML 1.0 rules.
@ Remove
A node is being removed from the tree.
Definition: db_command.h:9