org.apache.batik.dom
public abstract class ExtensibleDOMImplementation extends AbstractDOMImplementation implements DOMImplementationCSS, StyleSheetFactory, Localizable
Nested Class Summary | |
---|---|
interface | ExtensibleDOMImplementation.ElementFactory
This interface represents a factory for elements. |
Field Summary | |
---|---|
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 |
protected LocalizableSupport | localizableSupport
The localizable support for the error messages. |
protected static String | RESOURCES
The error messages bundle class name. |
Constructor Summary | |
---|---|
ExtensibleDOMImplementation()
Creates a new DOMImplementation. |
Method Summary | |
---|---|
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) |
Element | createElementNS(AbstractDocument document, String namespaceURI, String qualifiedName)
Implements the behavior of Document.createElementNS() for this
DOM implementation. |
abstract ViewCSS | createViewCSS(AbstractStylableDocument doc)
Creates a ViewCSS. |
String | formatMessage(String key, Object[] args)
Implements {@link Localizable#formatMessage(String,Object[])}. |
protected static List | getDomExtensions() |
Locale | getLocale()
Implements {@link Localizable#getLocale()}. |
protected void | initLocalizable() |
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. |
void | setLocale(Locale l)
Implements {@link Localizable#setLocale(Locale)}. |