|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.dom.AbstractDOMImplementation
org.apache.batik.dom.ExtensibleDOMImplementation
public abstract class ExtensibleDOMImplementation
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
).
Nested Class Summary | |
---|---|
static 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
|
Fields inherited from class org.apache.batik.dom.AbstractDOMImplementation |
---|
features, localizableSupport, RESOURCES |
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)
|
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 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. |
Methods inherited from class org.apache.batik.dom.AbstractDOMImplementation |
---|
createDocumentEventSupport, createEventSupport, formatMessage, getFeature, getLocale, hasFeature, initLocalizable, registerFeature, setLocale |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.css.DOMImplementationCSS |
---|
createCSSStyleSheet |
Methods inherited from interface org.w3c.dom.DOMImplementation |
---|
createDocument, getFeature, hasFeature |
Methods inherited from interface org.apache.batik.dom.StyleSheetFactory |
---|
createStyleSheet |
Field Detail |
---|
protected DoublyIndexedTable customFactories
protected List customValueManagers
protected List customShorthandManagers
protected static List extensions
Constructor Detail |
---|
public ExtensibleDOMImplementation()
Method Detail |
---|
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 ViewCSS createViewCSS(AbstractStylableDocument doc)
public Element createElementNS(AbstractDocument document, String namespaceURI, String qualifiedName)
public DocumentType createDocumentType(String qualifiedName, String publicId, String systemId)
DOMImplementation#createDocumentType(String,String,String)
.
createDocumentType
in interface DOMImplementation
protected static List getDomExtensions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |