Class AbstractDOMImplementation
java.lang.Object
org.apache.batik.dom.AbstractDOMImplementation
- All Implemented Interfaces:
Serializable, Localizable, DOMImplementation
- Direct Known Subclasses:
ExtensibleDOMImplementation, GenericDOMImplementation
public abstract class AbstractDOMImplementation
extends Object
implements DOMImplementation, Localizable, Serializable
This class implements the
DOMImplementation,
DOMImplementationCSS interfaces.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe supported features.protected LocalizableSupportThe localizable support for the error messages.protected static final StringThe error messages bundle class name. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new AbstractDOMImplementation object. -
Method Summary
Modifier and TypeMethodDescriptionCreates an DocumentEventSupport object suitable for use with this implementation.Creates an EventSupport object for a given node.formatMessage(String key, Object[] args) ImplementsLocalizable.formatMessage(String,Object[]).getFeature(String feature, String version) DOM: ImplementsDOMImplementation.getFeature(String,String).ImplementsLocalizable.getLocale().booleanhasFeature(String feature, String version) DOM: ImplementsDOMImplementation.hasFeature(String,String).protected voidprotected voidregisterFeature(String name, Object value) Registers a DOM feature.voidImplementsLocalizable.setLocale(Locale).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DOMImplementation
createDocument, createDocumentType
-
Field Details
-
RESOURCES
-
localizableSupport
The localizable support for the error messages. -
features
-
-
Constructor Details
-
AbstractDOMImplementation
protected AbstractDOMImplementation()Creates a new AbstractDOMImplementation object.
-
-
Method Details
-
registerFeature
-
hasFeature
DOM: ImplementsDOMImplementation.hasFeature(String,String).- Specified by:
hasFeaturein interfaceDOMImplementation
-
getFeature
DOM: ImplementsDOMImplementation.getFeature(String,String). No compound document support, so just return this DOMImlpementation where appropriate.- Specified by:
getFeaturein interfaceDOMImplementation
-
createDocumentEventSupport
Creates an DocumentEventSupport object suitable for use with this implementation. -
createEventSupport
Creates an EventSupport object for a given node. -
setLocale
ImplementsLocalizable.setLocale(Locale).- Specified by:
setLocalein interfaceLocalizable- Parameters:
l- The locale to set.
-
getLocale
ImplementsLocalizable.getLocale().- Specified by:
getLocalein interfaceLocalizable
-
initLocalizable
protected void initLocalizable() -
formatMessage
ImplementsLocalizable.formatMessage(String,Object[]).- Specified by:
formatMessagein interfaceLocalizable- Parameters:
key- The key used to retreive the message from the resource bundle.args- The objects that compose the message.- Throws:
MissingResourceException- if the key is not in the bundle.
-