JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.javascript.configuration

Class AbstractJavaScriptConfiguration

    • Constructor Detail

      • AbstractJavaScriptConfiguration

        protected AbstractJavaScriptConfiguration(BrowserVersion browser,
         Class<?> scopeClass)
        Constructor.
        Parameters:
        browser - the browser version to use
        scopeClass - the scope class for faster access
    • Method Detail

      • getClasses

        protected abstract Class<? extends HtmlUnitScriptable>[] getClasses()
        Returns:
        the classes configured by this configuration
      • getClassConfiguration

        public static ClassConfiguration getClassConfiguration(Class<? extends HtmlUnitScriptable> klass,
         BrowserVersion browserVersion)
        Returns the class configuration of the given klass.
        Parameters:
        klass - the class
        browserVersion - the browser version
        Returns:
        the class configuration
      • getDomJavaScriptMappingFor

        public Class<? extends HtmlUnitScriptable> getDomJavaScriptMappingFor(Class<?> clazz)
        Returns an immutable map containing the DOM to JavaScript mappings. Keys are java classes for the various DOM classes (e.g. HtmlInput.class) and the values are the JavaScript class names (e.g. "HTMLAnchorElement").
        Parameters:
        clazz - the class to get the scriptable for
        Returns:
        the mappings
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /