Ignore:
Timestamp:
Feb 28, 2008, 11:06:09 PM (17 years ago)
Author:
dai
Message:

XmlNodeType列挙型を実装

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/Classes/System/Xml/XmlDeclaration.ab

    r424 r442  
    1414Public
    1515    Sub XmlDeclaration( version As String, encoding As String, standalone As String, doc As XmlDocument )
    16         XmlLinkedNode( "", "xml", "", doc )
     16        XmlLinkedNode( XmlNodeType.XmlDeclaration, "", "xml", "", doc )
    1717        This.version = version
    1818        This.encoding = encoding
    1919        This.standalone = standalone
    2020    End Sub
     21
     22Protected
     23    Override Function InnerXmlSupportedIndent( isIndent = False As Boolean, indent = 0 As Long ) As String
     24        Return Ex"version=\q" + This.version + Ex"\q encoding=\q" + This.encoding + Ex"\q"
     25    End Function
     26
     27    Override Function OwnerXmlSupportedIndent( isIndent = False As Boolean, indent = 0 As Long ) As String
     28        Return "<?" + InnerXml + "?>"
     29    End Function
    2130End Class
    2231
Note: See TracChangeset for help on using the changeset viewer.