InterfaceIDomImplementation
Interface
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
qualifiedName
documentType
Returns
A new
Document object.
Exceptions
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
publicId
systemId
Returns
HasFeature(string, string)
Test if the DOM implementation implements a specific feature.