System::Xml::Schema::XmlAtomicValue class
Contents
[
Hide
]XmlAtomicValue class
Represents the typed value of a validated XML element or attribute. The XmlAtomicValue class cannot be inherited.
class XmlAtomicValue : public System::Xml::XPath::XPathItem
Methods
Method | Description |
---|---|
Clone() | Returns a copy of this XmlAtomicValue object. |
get_IsNode() override | Returns a value indicating whether the validated XML element or attribute is an XPath node or an atomic value. |
get_TypedValue() override | Returns the current validated XML element or attribute as a boxed object of the most appropriate type according to its schema type. |
get_Value() override | Returns the String value of the validated XML element or attribute. |
get_ValueAsBoolean() override | Returns the validated XML element or attribute’s value as a Boolean. |
get_ValueAsDateTime() override | Returns the validated XML element or attribute’s value as a DateTime. |
get_ValueAsDouble() override | Returns the validated XML element or attribute’s value as a Double. |
get_ValueAsInt() override | Returns the validated XML element or attribute’s value as an Int32. |
get_ValueAsLong() override | Returns the validated XML element or attribute’s value as an Int64. |
get_ValueType() override | Returns the type of the validated XML element or attribute. |
get_XmlType() override | Returns the XmlSchemaType for the validated XML element or attribute. |
ToString() const override | Returns the String value of the validated XML element or attribute. |
ValueAs(const TypeInfo&, SharedPtr<IXmlNamespaceResolver>) override | Returns the validated XML element or attribute’s value as the type specified using the IXmlNamespaceResolver object specified to resolve namespace prefixes. |
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 XPathItem
- Namespace System::Xml::Schema
- Library Aspose.Page for C++