Class ExtensibleDOMImplementation

  • All Implemented Interfaces:
    java.io.Serializable, StyleSheetFactory, Localizable, org.w3c.dom.css.DOMImplementationCSS, org.w3c.dom.DOMImplementation
    Direct Known Subclasses:
    SVGDOMImplementation

    public abstract class ExtensibleDOMImplementation
    extends AbstractDOMImplementation
    implements org.w3c.dom.css.DOMImplementationCSS, StyleSheetFactory
    This class implements the DOMImplementation interface. It allows the user to extend the set of elements supported by a Document, directly or through the Service API (see Service).
    Version:
    $Id: ExtensibleDOMImplementation.java 1810083 2017-09-29 10:39:45Z ssteiner $
    See Also:
    Serialized Form
    • Field Detail

      • customFactories

        protected DoublyIndexedTable customFactories
        The custom elements factories.
      • customValueManagers

        protected java.util.List customValueManagers
        The custom value managers.
      • customShorthandManagers

        protected java.util.List customShorthandManagers
        The custom shorthand value managers.
      • extensions

        protected static java.util.List extensions
    • Constructor Detail

      • ExtensibleDOMImplementation

        public ExtensibleDOMImplementation()
        Creates a new DOMImplementation.
    • Method Detail

      • registerCustomElementFactory

        public void registerCustomElementFactory​(java.lang.String namespaceURI,
                                                 java.lang.String localName,
                                                 ExtensibleDOMImplementation.ElementFactory factory)
        Allows the user to register a new element factory.
      • registerCustomCSSValueManager

        public void registerCustomCSSValueManager​(ValueManager vm)
        Allows the user to register a new CSS value manager.
      • registerCustomCSSShorthandManager

        public void registerCustomCSSShorthandManager​(ShorthandManager sm)
        Allows the user to register a new shorthand CSS value manager.
      • createViewCSS

        public abstract org.w3c.dom.css.ViewCSS createViewCSS​(AbstractStylableDocument doc)
        Creates a ViewCSS.
      • createElementNS

        public org.w3c.dom.Element createElementNS​(AbstractDocument document,
                                                   java.lang.String namespaceURI,
                                                   java.lang.String qualifiedName)
        Implements the behavior of Document.createElementNS() for this DOM implementation.
      • createDocumentType

        public org.w3c.dom.DocumentType createDocumentType​(java.lang.String qualifiedName,
                                                           java.lang.String publicId,
                                                           java.lang.String systemId)
        DOM: Implements DOMImplementation#createDocumentType(String,String,String).
        Specified by:
        createDocumentType in interface org.w3c.dom.DOMImplementation
      • getDomExtensions

        protected static java.util.List getDomExtensions()