Class DOMImplementation

An implementation of std.experimental.xml.dom.DOMImplementation.

It allows to specify a custom allocator to be used when creating instances of the DOM classes. As keeping track of the lifetime of every node would be very complex, this implementation does not try to do so. Instead, no object is ever deallocated; it is the users responsibility to directly free the allocator memory when all objects are no longer reachable.

Template arguments

class DOMImplementation(DOMString, Alloc, ErrorHandler);

Inherits from

  • Object (base class)

Methods

Name Description
createDocument Implementation of std.experimental.xml.dom.DOMImplementation.createDocument.
createDocumentType Implementation of std.experimental.xml.dom.DOMImplementation.createDocumentType.
getFeature Implementation of std.experimental.xml.dom.DOMImplementation.hasFeature.
hasFeature Implementation of std.experimental.xml.dom.DOMImplementation.hasFeature.

Inner classes

Name Description
Attr Implementation of std.experimental.xml.dom.Attr
CDATASection Implementation of std.experimental.xml.dom.CDATASection
CharacterData Implementation of std.experimental.xml.dom.CharacterData
Comment Implementation of std.experimental.xml.dom.Comment
Document Implementation of std.experimental.xml.dom.Document
DocumentFragment Implementation of std.experimental.xml.dom.DocumentFragment
DocumentType Implementation of std.experimental.xml.dom.DocumentType
DOMConfiguration Implementation of std.experimental.xml.dom.DOMConfiguration
DOMException The implementation of std.experimental.xml.dom.DOMException thrown by this DOM implementation.
Element Implementation of std.experimental.xml.dom.Element
EntityReference Implementation of std.experimental.xml.dom.EntityReference
Node Implementation of std.experimental.xml.dom.Node
ProcessingInstruction Implementation of std.experimental.xml.dom.ProcessingInstruction
Text Implementation of std.experimental.xml.dom.Text

Authors

Lodovico Giaretta

Copyright

Copyright Lodovico Giaretta 2016 --

License

Boost License 1.0.