Interface
IDomImplementation

Definition

Namespace:Telerik.Windows.Documents.FormatProviders.Html.Parsing.Dom

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public interface IDomImplementation

Methods

CreateDocument(string, string, IDocumentType)

Creates an XML

Document
object of the specified type with its document element. HTML-only DOM implementations do not need to implement this method.

Declaration

cs-api-definition
IDocument CreateDocument(string namespaceUri, string qualifiedName, IDocumentType documentType)

Parameters

namespaceUri

string

qualifiedName

string

documentType

IDocumentType

Returns

IDocument

A new

Document
object.

Exceptions

DomException

INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character.
NAMESPACE_ERR: Raised if the

qualifiedName
is malformed, if the
qualifiedName
has a prefix and the

namespaceURI
is
null
, or if the
qualifiedName
has a prefix that is "xml" and the
namespaceURI
is different from "

http://www.w3.org/XML/1998/namespace" .
WRONG_DOCUMENT_ERR: Raised if

doctype
has already been used with a different document or was created from a different implementation.

CreateDocumentType(string, string, string)

Declaration

cs-api-definition
IDocumentType CreateDocumentType(string qualifiedName, string publicId, string systemId)

Parameters

qualifiedName

string

publicId

string

systemId

string

Returns

IDocumentType

HasFeature(string, string)

Test if the DOM implementation implements a specific feature.

Declaration

cs-api-definition
bool HasFeature(string feature, string version)

Parameters

feature

string

version

string

Returns

bool

true
if the feature is implemented in the
       specified version, <pre><code class="lang-csharp">false</code></pre> otherwise.