public abstract class ExtensibleDOMImplementation extends AbstractDOMImplementation implements org.w3c.dom.css.DOMImplementationCSS, StyleSheetFactory
DOMImplementation
interface.
It allows the user to extend the set of elements supported by a
Document, directly or through the Service API (see
Service
).Modifier and Type | Class and Description |
---|---|
static interface |
ExtensibleDOMImplementation.ElementFactory
This interface represents a factory for elements.
|
Modifier and Type | Field and Description |
---|---|
protected DoublyIndexedTable |
customFactories
The custom elements factories.
|
protected List |
customShorthandManagers
The custom shorthand value managers.
|
protected List |
customValueManagers
The custom value managers.
|
protected static List |
extensions |
features, localizableSupport, RESOURCES
Constructor and Description |
---|
ExtensibleDOMImplementation()
Creates a new DOMImplementation.
|
Modifier and Type | Method and Description |
---|---|
CSSEngine |
createCSSEngine(AbstractStylableDocument doc,
CSSContext ctx)
Creates new CSSEngine and attach it to the document.
|
abstract CSSEngine |
createCSSEngine(AbstractStylableDocument doc,
CSSContext ctx,
ExtendedParser ep,
ValueManager[] vms,
ShorthandManager[] sms) |
DocumentType |
createDocumentType(String qualifiedName,
String publicId,
String systemId)
DOM: Implements DOMImplementation#createDocumentType(String,String,String).
|
Element |
createElementNS(AbstractDocument document,
String namespaceURI,
String qualifiedName)
Implements the behavior of Document.createElementNS() for this
DOM implementation.
|
abstract org.w3c.dom.css.ViewCSS |
createViewCSS(AbstractStylableDocument doc)
Creates a ViewCSS.
|
protected static List |
getDomExtensions() |
void |
registerCustomCSSShorthandManager(ShorthandManager sm)
Allows the user to register a new shorthand CSS value manager.
|
void |
registerCustomCSSValueManager(ValueManager vm)
Allows the user to register a new CSS value manager.
|
void |
registerCustomElementFactory(String namespaceURI,
String localName,
ExtensibleDOMImplementation.ElementFactory factory)
Allows the user to register a new element factory.
|
createDocumentEventSupport, createEventSupport, formatMessage, getFeature, getLocale, hasFeature, initLocalizable, registerFeature, setLocale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCSSStyleSheet
createDocument, getFeature, hasFeature
createStyleSheet
protected DoublyIndexedTable customFactories
protected List customValueManagers
protected List customShorthandManagers
protected static List extensions
public ExtensibleDOMImplementation()
public void registerCustomElementFactory(String namespaceURI, String localName, ExtensibleDOMImplementation.ElementFactory factory)
public void registerCustomCSSValueManager(ValueManager vm)
public void registerCustomCSSShorthandManager(ShorthandManager sm)
public CSSEngine createCSSEngine(AbstractStylableDocument doc, CSSContext ctx)
public abstract CSSEngine createCSSEngine(AbstractStylableDocument doc, CSSContext ctx, ExtendedParser ep, ValueManager[] vms, ShorthandManager[] sms)
public abstract org.w3c.dom.css.ViewCSS createViewCSS(AbstractStylableDocument doc)
public Element createElementNS(AbstractDocument document, String namespaceURI, String qualifiedName)
public DocumentType createDocumentType(String qualifiedName, String publicId, String systemId)
createDocumentType
in interface DOMImplementation
protected static List getDomExtensions()
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.