source: trunk/ab5.0/ablib/src/Classes/System/Xml/XmlAttribute.ab

Last change on this file was 443, checked in by dai, 16 years ago

タグ属性に対応。

File size: 868 bytes
Line 
1Namespace System
2Namespace Xml
3
4/*!
5@brief 属性を表します。
6*/
7Class XmlAttribute
8 Inherits XmlNode
9
10Public
11 Sub XmlAttribute( prefix As String, localName As String, namespaceURI As String, doc As XmlDocument )
12 XmlNode( XmlNodeType.Attribute, prefix, localName, namespaceURI, doc )
13 End Sub
14
15 /*!
16 @brief このノードの子ノードだけを表すマークアップを取得または設定します。
17 */
18 Override Function InnerXml() As String
19 Return This.Value
20 End Function
21
22 /*!
23 @brief このノードとそのすべての子ノードを表すマークアップを取得します。
24 @return このノードとそのすべての子ノードを格納しているマークアップ。
25 */
26 Override Function OuterXml() As String
27 Return This.LocalName + Ex"=\q" + InnerXml + Ex"\q"
28 End Function
29End Class
30
31TypeDef XmlAttributeCollection = System.Collections.Generic.List<XmlAttribute>
32
33
34End Namespace
35End Namespace
Note: See TracBrowser for help on using the repository browser.