org.apache.batik.dom

Class AbstractDOMImplementation

public abstract class AbstractDOMImplementation extends Object implements DOMImplementation, Serializable

This class implements the {@link org.w3c.dom.DOMImplementation}, {@link org.w3c.dom.css.DOMImplementationCSS} interfaces.
Field Summary
protected HashTablefeatures
The supported features.
Constructor Summary
protected AbstractDOMImplementation()
Creates a new AbstractDOMImplementation object.
Method Summary
DocumentEventSupportcreateDocumentEventSupport()
Creates an DocumentEventSupport object suitable for use with this implementation.
EventSupportcreateEventSupport(AbstractNode n)
Creates an EventSupport object for a given node.
ObjectgetFeature(String feature, String version)
DOM: Implements {@link org.w3c.dom.DOMImplementation#getFeature(String,String)}.
booleanhasFeature(String feature, String version)
DOM: Implements {@link org.w3c.dom.DOMImplementation#hasFeature(String,String)}.
protected voidregisterFeature(String name, Object value)
Registers a DOM feature.

Field Detail

features

protected final HashTable features
The supported features.

Constructor Detail

AbstractDOMImplementation

protected AbstractDOMImplementation()
Creates a new AbstractDOMImplementation object.

Method Detail

createDocumentEventSupport

public DocumentEventSupport createDocumentEventSupport()
Creates an DocumentEventSupport object suitable for use with this implementation.

createEventSupport

public EventSupport createEventSupport(AbstractNode n)
Creates an EventSupport object for a given node.

getFeature

public Object getFeature(String feature, String version)
DOM: Implements {@link org.w3c.dom.DOMImplementation#getFeature(String,String)}. No compound document support, so just return this DOMImlpementation where appropriate.

hasFeature

public boolean hasFeature(String feature, String version)
DOM: Implements {@link org.w3c.dom.DOMImplementation#hasFeature(String,String)}.

registerFeature

protected void registerFeature(String name, Object value)
Registers a DOM feature.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.