Class ExtensibleDOMImplementation
java.lang.Object
org.apache.batik.dom.AbstractDOMImplementation
org.apache.batik.dom.ExtensibleDOMImplementation
- All Implemented Interfaces:
Serializable, StyleSheetFactory, Localizable, DOMImplementationCSS, DOMImplementation
- Direct Known Subclasses:
SVGDOMImplementation
public abstract class ExtensibleDOMImplementation
extends AbstractDOMImplementation
implements 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$
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThis interface represents a factory for elements. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DoublyIndexedTableThe custom elements factories.protected ListThe custom shorthand value managers.protected ListThe custom value managers.protected static ListFields inherited from class AbstractDOMImplementation
features, localizableSupport, RESOURCES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates new CSSEngine and attach it to the document.abstract CSSEnginecreateCSSEngine(AbstractStylableDocument doc, CSSContext ctx, ExtendedParser ep, ValueManager[] vms, ShorthandManager[] sms) createDocumentType(String qualifiedName, String publicId, String systemId) DOM: Implements DOMImplementation#createDocumentType(String,String,String).createElementNS(AbstractDocument document, String namespaceURI, String qualifiedName) Implements the behavior of Document.createElementNS() for this DOM implementation.abstract ViewCSSCreates a ViewCSS.protected static ListvoidAllows the user to register a new shorthand CSS value manager.voidAllows the user to register a new CSS value manager.voidregisterCustomElementFactory(String namespaceURI, String localName, ExtensibleDOMImplementation.ElementFactory factory) Allows the user to register a new element factory.Methods inherited from class AbstractDOMImplementation
createDocumentEventSupport, createEventSupport, formatMessage, getFeature, getLocale, hasFeature, initLocalizable, registerFeature, setLocaleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DOMImplementation
createDocument, getFeature, hasFeatureMethods inherited from interface DOMImplementationCSS
createCSSStyleSheetMethods inherited from interface StyleSheetFactory
createStyleSheet
-
Field Details
-
customFactories
The custom elements factories. -
customValueManagers
The custom value managers. -
customShorthandManagers
The custom shorthand value managers. -
extensions
-
-
Constructor Details
-
ExtensibleDOMImplementation
public ExtensibleDOMImplementation()Creates a new DOMImplementation.
-
-
Method Details
-
registerCustomElementFactory
public void registerCustomElementFactory(String namespaceURI, String localName, ExtensibleDOMImplementation.ElementFactory factory) Allows the user to register a new element factory. -
registerCustomCSSValueManager
Allows the user to register a new CSS value manager. -
registerCustomCSSShorthandManager
Allows the user to register a new shorthand CSS value manager. -
createCSSEngine
Creates new CSSEngine and attach it to the document. -
createCSSEngine
public abstract CSSEngine createCSSEngine(AbstractStylableDocument doc, CSSContext ctx, ExtendedParser ep, ValueManager[] vms, ShorthandManager[] sms) -
createViewCSS
Creates a ViewCSS. -
createElementNS
public Element createElementNS(AbstractDocument document, String namespaceURI, String qualifiedName) Implements the behavior of Document.createElementNS() for this DOM implementation. -
createDocumentType
DOM: Implements DOMImplementation#createDocumentType(String,String,String).- Specified by:
createDocumentTypein interfaceDOMImplementation
-
getDomExtensions
-