aspose.svg.dom

The Aspose.Svg.Dom (Document Object Model) namespace provides API that represents and interacts with any HTML, XML or SVG documents. The DOM is a document model loaded in the browser and representing the document as a node tree, where each node represents part of the document (e.g. an element, text string, or comment).

Classes

ClassDescription
AttrThe Attr interface represents an attribute in an Element object. Typically the allowable values for the attribute are defined in a schema associated with the document.
CDATASectionCDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.
CharacterDataThe CharacterData extends Node with a set of attributes and methods for accessing character data in the DOM.
CommentInherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting ‘’.
DOMExceptionThe DOMException interface represents an abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. This is basically how error conditions are described in web APIs.
DOMObjectThe DOMObject type is used to represent an base object for the entire Document Object Model.
For Java and ECMAScript, DOMObject is bound to the Object type.
DocumentThe Document represents the entire HTML, XML or SVG document. Conceptually, it is the root of the document tree, and provides the primary access to the document’s data.
DocumentFragmentDocumentFragment is a “lightweight” or “minimal” Document object. It is very common to want to be able to extract a portion of a document’s tree or to create a new fragment of a document.
DocumentTypeThe DocumentType provides an interface to the list of entities that are defined for the document
ElementThe Element interface represents an element in an HTML or XML document.
EntityRepresents a known entity, either parsed or unparsed, in an XML document.
EntityReferenceEntityReference nodes may be used to represent an entity reference in the tree.
EventTargetThe EventTarget interface is implemented by all Nodes in an implementation which supports the DOM Event Model.
Therefore, this interface can be obtained by using binding-specific casting methods on an instance of the Node interface.
The interface allows registration and removal of Event Listeners on an EventTarget and dispatch of events to that IEventTarget.
IBrowsingContextA browsing context is an environment in which Document objects are presented to the user.
IChildNodeDefines IChildNode interface that should be implemented by Node that can have a parent.
IDOMImplementationThe DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
IGlobalEventHandlersRepresents interface that must be inherited by all element that is supported system event handling
INonDocumentTypeChildNodeDefines IChildNode that are not Node.DOCUMENT_TYPE_NODE.
INonElementParentNodeDefines IParentNode that are not Element type.
IParentNodeDefines the IParentNode interface that is implemented by any possible parents.
IStorageThis interface of the Web Storage API provides access to a particular domain’s session or local storage.
See Web Storage specification:
NodeThe Node interface is the primary datatype for the entire Document object Model. It represents a single node in the document tree.
NotationRepresents a notation declared in the DTD.
ProcessingInstructionThe ProcessingInstruction represents a “processing instruction”, used in XML as a way to keep processor-specific information in the text of the document.
QualifiedNameRepresents an HTML qualified name.
ShadowRootShadowRoot is a root node of shadow tree.
TextThe Text interface inherits from CharacterData and represents the textual content (termed character data in XML) of an Element or Attr.
TypeInfoThe TypeInfo represents a type referenced from Element or Attr nodes, specified in the schemas associated with the document.

Enumerations

EnumerationDescription
ShadowRootModeModes in which ShadowRoot can operate.