|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.dom.AbstractDOMImplementation
public abstract class AbstractDOMImplementation
This class implements the DOMImplementation
,
DOMImplementationCSS
interfaces.
Field Summary | |
---|---|
protected HashTable |
features
The supported features. |
protected LocalizableSupport |
localizableSupport
The localizable support for the error messages. |
protected static String |
RESOURCES
The error messages bundle class name. |
Constructor Summary | |
---|---|
protected |
AbstractDOMImplementation()
Creates a new AbstractDOMImplementation object. |
Method Summary | |
---|---|
DocumentEventSupport |
createDocumentEventSupport()
Creates an DocumentEventSupport object suitable for use with this implementation. |
EventSupport |
createEventSupport(AbstractNode n)
Creates an EventSupport object for a given node. |
String |
formatMessage(String key,
Object[] args)
Implements Localizable.formatMessage(String,Object[]) . |
Object |
getFeature(String feature,
String version)
DOM: Implements DOMImplementation.getFeature(String,String) . |
Locale |
getLocale()
Implements Localizable.getLocale() . |
boolean |
hasFeature(String feature,
String version)
DOM: Implements DOMImplementation.hasFeature(String,String) . |
protected void |
initLocalizable()
|
protected void |
registerFeature(String name,
Object value)
Registers a DOM feature. |
void |
setLocale(Locale l)
Implements Localizable.setLocale(Locale) . |
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.DOMImplementation |
---|
createDocument, createDocumentType |
Field Detail |
---|
protected static final String RESOURCES
protected LocalizableSupport localizableSupport
protected final HashTable features
Constructor Detail |
---|
protected AbstractDOMImplementation()
Method Detail |
---|
protected void registerFeature(String name, Object value)
public boolean hasFeature(String feature, String version)
DOMImplementation.hasFeature(String,String)
.
hasFeature
in interface DOMImplementation
public Object getFeature(String feature, String version)
DOMImplementation.getFeature(String,String)
.
No compound document support, so just return this DOMImlpementation
where appropriate.
getFeature
in interface DOMImplementation
public DocumentEventSupport createDocumentEventSupport()
public EventSupport createEventSupport(AbstractNode n)
public void setLocale(Locale l)
Localizable.setLocale(Locale)
.
setLocale
in interface Localizable
l
- The locale to set.public Locale getLocale()
Localizable.getLocale()
.
getLocale
in interface Localizable
protected void initLocalizable()
public String formatMessage(String key, Object[] args) throws MissingResourceException
Localizable.formatMessage(String,Object[])
.
formatMessage
in interface Localizable
key
- The key used to retreive the message from the resource
bundle.args
- The objects that compose the message.
MissingResourceException
- if the key is not in the bundle.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |