Class AbstractDOMImplementation

    • Field Detail

      • RESOURCES

        protected static final java.lang.String RESOURCES
        The error messages bundle class name.
        See Also:
        Constant Field Values
      • localizableSupport

        protected LocalizableSupport localizableSupport
        The localizable support for the error messages.
      • features

        protected final java.util.HashMap<java.lang.String,​java.lang.Object> features
        The supported features.
    • Constructor Detail

      • AbstractDOMImplementation

        protected AbstractDOMImplementation()
        Creates a new AbstractDOMImplementation object.
    • Method Detail

      • registerFeature

        protected void registerFeature​(java.lang.String name,
                                       java.lang.Object value)
        Registers a DOM feature.
      • hasFeature

        public boolean hasFeature​(java.lang.String feature,
                                  java.lang.String version)
        DOM: Implements DOMImplementation.hasFeature(String,String).
        Specified by:
        hasFeature in interface org.w3c.dom.DOMImplementation
      • getFeature

        public java.lang.Object getFeature​(java.lang.String feature,
                                           java.lang.String version)
        DOM: Implements DOMImplementation.getFeature(String,String). No compound document support, so just return this DOMImlpementation where appropriate.
        Specified by:
        getFeature in interface org.w3c.dom.DOMImplementation
      • 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.
      • initLocalizable

        protected void initLocalizable()
      • formatMessage

        public java.lang.String formatMessage​(java.lang.String key,
                                              java.lang.Object[] args)
                                       throws java.util.MissingResourceException
        Specified by:
        formatMessage in interface Localizable
        Parameters:
        key - The key used to retreive the message from the resource bundle.
        args - The objects that compose the message.
        Throws:
        java.util.MissingResourceException - if the key is not in the bundle.