System::Xml::Schema::XmlSchemaInference class
Contents
[
Hide
]XmlSchemaInference class
Infers an XML Schema Definition Language (XSD) schema from an XML document. The XmlSchemaInference class cannot be inherited.
class XmlSchemaInference : public System::Object
Enums
Enum | Description |
---|---|
InferenceOption | Affects occurrence and type information inferred by the XmlSchemaInference class for elements and attributes in an XML document. |
Methods
Method | Description |
---|---|
get_Occurrence() | Returns the XmlSchemaInference::InferenceOption value that affects schema occurrence declarations inferred from the XML document. |
get_TypeInference() | Returns the XmlSchemaInference::InferenceOption value that affects types inferred from the XML document. |
InferSchema(const SharedPtr<XmlReader>&) | Infers an XML Schema Definition Language (XSD) schema from the XML document contained in the XmlReader object specified. |
InferSchema(const SharedPtr<XmlReader>&, SharedPtr<XmlSchemaSet>) | Infers an XML Schema Definition Language (XSD) schema from the XML document contained in the XmlReader object specified, and refines the inferred schema using an existing schema in the XmlSchemaSet object specified with the same target namespace. |
set_Occurrence(XmlSchemaInference::InferenceOption) | Sets the XmlSchemaInference::InferenceOption value that affects schema occurrence declarations inferred from the XML document. |
set_TypeInference(XmlSchemaInference::InferenceOption) | Sets the XmlSchemaInference::InferenceOption value that affects types inferred from the XML document. |
XmlSchemaInference() | Initializes a new instance of the XmlSchemaInference class. |
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::Schema
- Library Aspose.Page for C++