第一个字是归的成语:什么是DOM?详细浅显一点

来源:百度文库 编辑:高考问答 时间:2024/05/14 14:14:07

DOM stand for Document Object Model (文档对象模型|文件物件模型). It is a language-independent object model of XML documents, memory-based. The entire document is parsed – read in to memory, so this allows direct access to any part of the document. But limits the size of document that can be handled. DOM is Part of J2SE from 1.4 on. Language independence makes things harder work from Java. Non-standard iterations. Would be much simpler to navigate the tree using standard Collection types (e.g. List + Iterator). A good example of it is JDOM.