Interface IDOMImplementation

Interface IDOMImplementation

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML.dll (25.1.0)

DOMImplementationインターフェイスは、ドキュメントオブジェクトモデルの特定のインスタンスに依存しない操作を実行するためのいくつかのメソッドを提供します。

[DOMName("DOMImplementation")]
[ComVisible(true)]
[DOMObject]
public interface IDOMImplementation

メソッド

CreateDocument(string, string, DocumentType)

指定されたタイプのDOM Documentオブジェクトを、そのドキュメント要素と共に作成します。

[DOMName("createDocument")]
Document CreateDocument(string namespaceURI, string qualifiedName, DocumentType doctype)

パラメータ

namespaceURI string

名前空間URI。

qualifiedName string

修飾名。

doctype DocumentType

DOCTYPE。

戻り値

Document

ドキュメントを返します。

CreateDocumentType(string, string, string)

空のDocumentTypeノードを作成します。エンティティ宣言とノーテーションは利用できません。エンティティ参照の展開とデフォルト属性の追加は行われません。

[DOMName("createDocumentType")]
DocumentType CreateDocumentType(string qualifiedName, string publicId, string systemId)

パラメータ

qualifiedName string

修飾名。

publicId string

公開ID。

systemId string

システムID。

戻り値

DocumentType

Aspose.Html.Dom.DocumentTypeを返します。

CreateHTMLDocument(string)

タイトル引数が省略されていない限り、タイトル要素を含む基本的なツリーが既に構築されたドキュメントを返します。

[DOMName("createHTMLDocument")]
Document CreateHTMLDocument(string title)

パラメータ

title string

タイトル。

戻り値

Document

ドキュメントを返します。

HasFeature()

DOM実装がDOM機能で指定された特定の機能とバージョンを実装しているかどうかをテストします。

[DOMName("hasFeature")]
bool HasFeature()

戻り値

bool

指定された機能が存在する場合はtrue、そうでない場合はfalseを返します。

 日本語