Interface IDOMImplementation

Interface IDOMImplementation

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

L’interfaccia DOMImplementation fornisce una serie di metodi per eseguire operazioni che sono indipendenti da qualsiasi particolare istanza del modello ad oggetti del documento.

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

Metodi

CreateDocument(string, string, DocumentType)

Crea un oggetto Documento DOM del tipo specificato con il suo elemento documento.

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

Parametri

namespaceURI string

L’URI del namespace.

qualifiedName string

Nome del qualificato.

doctype DocumentType

Il doctype.

Restituisce

Document

Restituisce il documento.

CreateDocumentType(string, string, string)

Crea un nodo DocumentType vuoto. Le dichiarazioni di entità e le notazioni non sono rese disponibili. Le espansioni di riferimento delle entità e le aggiunte di attributi predefiniti non si verificano.

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

Parametri

qualifiedName string

Nome del qualificato.

publicId string

L’id pubblico.

systemId string

L’id di sistema.

Restituisce

DocumentType

L’Aspose.Html.Dom.DocumentType.

CreateHTMLDocument(string)

Restituisce un documento, con un albero di base già costruito che include un elemento titolo, a meno che l’argomento titolo non venga omesso.

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

Parametri

title string

Il titolo.

Restituisce

Document

Restituisce il documento.

HasFeature()

Verifica se l’implementazione del DOM implementa una specifica caratteristica e versione, come specificato nelle Caratteristiche del DOM.

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

Restituisce

bool

true se la caratteristica specificata è presente; altrimenti, false.

 Italiano