System::Xml::Schema::XmlSchemaValidator::ValidateAttribute メソッド
コンテンツ
[
隠れる
]XmlSchemaValidator::ValidateAttribute(const String&, const String&, const String&, const SharedPtr<XmlSchemaInfo>&) method
現在の要素コンテキストで属性名、名前空間 URI、値を検証します。
SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateAttribute(const String &localName, const String &namespaceUri, const String &attributeValue, const SharedPtr<XmlSchemaInfo> &schemaInfo)
| パラメーター | 型 | 説明 |
|---|---|---|
| localName | const String& | 検証対象属性のローカル名。 |
| namespaceUri | const String& | 検証対象属性の名前空間 URI。 |
| attributeValue | const String& | 検証対象属性の値。 |
| schemaInfo | const SharedPtr<XmlSchemaInfo>& | 属性の検証が成功したときにプロパティが設定される XmlSchemaInfo オブジェクトです。このパラメーターは nullptr にできます。 |
ReturnValue
検証済み属性の値。
参照
- Typedef SharedPtr
- Class Object
- Class String
- Class XmlSchemaInfo
- Class XmlSchemaValidator
- Namespace System::Xml::Schema
- Library Aspose.Page for C++
XmlSchemaValidator::ValidateAttribute(const String&, const String&, XmlValueGetter, const SharedPtr<XmlSchemaInfo>&) method
現在の要素コンテキストで属性名、名前空間 URI、値を検証します。
SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateAttribute(const String &localName, const String &namespaceUri, XmlValueGetter attributeValue, const SharedPtr<XmlSchemaInfo> &schemaInfo)
| パラメーター | 型 | 説明 |
|---|---|---|
| localName | const String& | 検証対象属性のローカル名。 |
| namespaceUri | const String& | 検証対象属性の名前空間 URI。 |
| attributeValue | XmlValueGetter | XmlValueGetter コールバックで、属性の値を属性の XML Schema 定義言語 (XSD) 型と互換性のある型として渡すために使用されます。 |
| schemaInfo | const SharedPtr<XmlSchemaInfo>& | 属性の検証が成功したときにプロパティが設定される XmlSchemaInfo オブジェクトです。このパラメーターは nullptr にできます。 |
ReturnValue
検証済み属性の値。
参照
- Typedef SharedPtr
- Class Object
- Class String
- Typedef XmlValueGetter
- Class XmlSchemaInfo
- Class XmlSchemaValidator
- Namespace System::Xml::Schema
- Library Aspose.Page for C++