System::Xml::Schema::XmlSchemaAttribute class
Contents
[
Hide
]XmlSchemaAttribute class
Represents the attribute element from the XML Schema as specified by the World Wide Web Consortium (W3C). Attributes provide additional information for other document elements. The attribute tag is nested between the tags of a document’s element for the schema. The XML document displays attributes as named items in the opening tag of an element.
class XmlSchemaAttribute : public System::Xml::Schema::XmlSchemaAnnotated
Methods
Method | Description |
---|---|
get_AttributeSchemaType() | Returns an XmlSchemaSimpleType object representing the type of the attribute based on the XmlSchemaAttribute::get_SchemaType or XmlSchemaAttribute::get_SchemaTypeName value of the attribute. |
get_AttributeType() | Returns the object based on the XmlSchemaAttribute::get_SchemaType or XmlSchemaAttribute::get_SchemaTypeName value of the attribute that holds the post-compilation interpretation of the AttributeType value. |
get_DefaultValue() | Returns the default value for the attribute. |
get_FixedValue() | Returns the fixed value for the attribute. |
get_Form() | Returns the form for the attribute. |
get_Name() | Returns the name of the attribute. |
get_QualifiedName() | Returns the qualified name for the attribute. |
get_RefName() | Returns the name of an attribute declared in this schema (or another schema indicated by the specified namespace). |
get_SchemaType() | Returns the attribute type to a simple type. |
get_SchemaTypeName() | Returns the name of the simple type defined in this schema (or another schema indicated by the specified namespace). |
get_Use() | Returns information about how the attribute is used. |
set_DefaultValue(const String&) | Sets the default value for the attribute. |
set_FixedValue(const String&) | Sets the fixed value for the attribute. |
set_Form(XmlSchemaForm) | Sets the form for the attribute. |
set_Name(const String&) | Sets the name of the attribute. |
set_RefName(const SharedPtr<XmlQualifiedName>&) | Sets the name of an attribute declared in this schema (or another schema indicated by the specified namespace). |
set_SchemaType(const SharedPtr<XmlSchemaSimpleType>&) | Sets the attribute type to a simple type. |
set_SchemaTypeName(const SharedPtr<XmlQualifiedName>&) | Sets the name of the simple type defined in this schema (or another schema indicated by the specified namespace). |
set_Use(XmlSchemaUse) | Sets information about how the attribute is used. |
XmlSchemaAttribute() | Initializes a new instance of the XmlSchemaAttribute 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 XmlSchemaAnnotated
- Namespace System::Xml::Schema
- Library Aspose.TeX for C++