zoukankan      html  css  js  c++  java
  • c++ builder中的 XMLDocument 类详解(1) 要研究的问题

    //函数
    AddChild(const TagName: DOMString): IXMLNode; overload;
    AddChild(const TagName, NamespaceURI: DOMString): IXMLNode; overload;
    CreateElement(const TagOrData, NamespaceURI: DOMString): IXMLNode;
    CreateNode(const NameOrData: DOMString; NodeType: TNodeType = ntElement; const AddlData: DOMString = ''): IXMLNode;
    GetDocBinding(const TagName: DOMString; DocNodeClass: TClass; NamespaceURI: DOMString = ''): IXMLNode;
    GeneratePrefix(const Node: IXMLNode): DOMString;
    IsEmptyDoc: Boolean;
    --------------------------------------------------------------------------------

    //过程
    LoadFromFile(const AFileName: DOMString = '');
    LoadFromStream(const Stream: TStream; EncodingType: TXMLEncodingType = xetUnknown);
    LoadFromXML(const XML: string); overload;
    LoadFromXML(const XML: DOMString); overload;
    Refresh;
    RegisterDocBinding(const TagName: DOMString; DocNodeClass: TClass; NamespaceURI: DOMString = '');
    Resync;
    SaveToFile(const AFileName: DOMString = ''); dynamic;
    SaveToStream(const Stream: TStream);
    SaveToXML(var XML: DOMString); overload;
    SaveToXML(var XML: string); overload;
    --------------------------------------------------------------------------------

    //属性
    Active
    AsyncLoadState
    ChildNodes
    DocumentElement
    DOMDocument
    DOMImplementation
    DOMVendor
    Encoding
    FileName
    Modified
    Node
    NodeIndentStr
    NSPrefixBase
    Options
    ParseOptions
    SchemaRef
    StandAlone
    Version
    XML
    --------------------------------------------------------------------------------

    //事件
    AfterOpen : 打开后
    AfterClose : 关闭后
    AfterNodeChange : 修改后
    BeforeOpen : 打开前
    BeforeClose : 关闭前
    BeforeNodeChange : 修改前
    OnAsyncLoad : 异步解析时的状态
    --------------------------------------------------------------------------------

    //接口
    IXMLDocumentAccess
    IXMLNodeAccess

    IXMLDocument
    IXMLNode
    IXMLNodeList
    IXMLNodeCollection
    --------------------------------------------------------------------------------

    本人新博客网址为:http://www.hizds.com
    本博客注有“转”字样的为转载文章,其余为本人原创文章,转载请务必注明出处或保存此段。c++/lua/windows逆向交流群:69148232
  • 相关阅读:
    STL中的string
    STL中的map
    STL中的set和multiset
    C++基础知识
    希尔排序
    桶排序
    归并排序
    堆排序
    数组左边奇数右边偶数算法O(n)
    背包问题 洛谷P1164 小A点菜
  • 原文地址:https://www.cnblogs.com/zhangdongsheng/p/2075759.html
Copyright © 2011-2022 走看看