Interface IDOMImplementation
Interface IDOMImplementation
名称: Aspose.Html.Dom 编辑: Aspose.HTML.dll (25.4.0)
DOMImplementation 接口提供了对文档对象模型的任何特定例子独立的操作进行的一系列方法。
[ComVisible(true)]
[DOMObject]
[DOMName("DOMImplementation")]
public interface IDOMImplementation
Methods
CreateDocument(字符串、字符串、文件类型)
创建一个 DOM 文档对象的指定类型与其文档元素。
[DOMName("createDocument")]
Document CreateDocument(string namespaceURI, string qualifiedName, DocumentType doctype)
Parameters
namespaceURI
string
这个名字是URI。
qualifiedName
string
合格者的名字。
doctype
DocumentType
是DOCTYPE。
Returns
返回文件。
CreateDocumentType(字符串、字符串、字符串)
创建一个空白的 DocumentType 节点. 实体声明和评论不提供. 实体参考扩展和默认属性添加不存在。
[DOMName("createDocumentType")]
DocumentType CreateDocumentType(string qualifiedName, string publicId, string systemId)
Parameters
qualifiedName
string
合格者的名字。
publicId
string
公共ID。
systemId
string
系统ID。
Returns
主持人:Html.Dom.DocumentType
创建HTML文档(线条)
返回文件,其中包含标题元素的基本树,除非标题论点被忽略。
[DOMName("createHTMLDocument")]
Document CreateHTMLDocument(string title)
Parameters
title
string
这个标题。
Returns
返回文件。
HasFeature()
测试 DOM 实施是否实施特定功能和版本,如 DOM 功能所规定的。
[DOMName("hasFeature")]
bool HasFeature()
Returns
“真实”如果指定的功能具有功能;否则,“虚假”。