StyleSheetFactory, Localizable, org.w3c.dom.css.DOMImplementationCSS, org.w3c.dom.DOMImplementationSVGDOMImplementationpublic 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 | Description |
|---|---|---|
static interface |
ExtensibleDOMImplementation.ElementFactory |
This interface represents a factory for elements.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected DoublyIndexedTable |
customFactories |
The custom elements factories.
|
protected java.util.List |
customShorthandManagers |
The custom shorthand value managers.
|
protected java.util.List |
customValueManagers |
The custom value managers.
|
protected static java.util.List |
extensions |
features, localizableSupport, RESOURCES| Constructor | Description |
|---|---|
ExtensibleDOMImplementation() |
Creates a new DOMImplementation.
|
| Modifier and Type | Method | 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) |
|
org.w3c.dom.DocumentType |
createDocumentType(java.lang.String qualifiedName,
java.lang.String publicId,
java.lang.String systemId) |
DOM: Implements DOMImplementation#createDocumentType(String,String,String).
|
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.
|
abstract org.w3c.dom.css.ViewCSS |
createViewCSS(AbstractStylableDocument doc) |
Creates a ViewCSS.
|
protected static java.util.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(java.lang.String namespaceURI,
java.lang.String localName,
ExtensibleDOMImplementation.ElementFactory factory) |
Allows the user to register a new element factory.
|
createDocumentEventSupport, createEventSupport, formatMessage, getFeature, getLocale, hasFeature, initLocalizable, registerFeature, setLocalecreateDocument, getFeature, hasFeatureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateStyleSheetprotected DoublyIndexedTable customFactories
protected java.util.List customValueManagers
protected java.util.List customShorthandManagers
protected static java.util.List extensions
public ExtensibleDOMImplementation()
public void registerCustomElementFactory(java.lang.String namespaceURI,
java.lang.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 org.w3c.dom.Element createElementNS(AbstractDocument document, java.lang.String namespaceURI, java.lang.String qualifiedName)
public org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName,
java.lang.String publicId,
java.lang.String systemId)
createDocumentType in interface org.w3c.dom.DOMImplementationprotected static java.util.List getDomExtensions()
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.