JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
org.htmlunit.platform

Class Platform



  • public final class Platform
    extends Object 
    Singleton to handle JDK specific stuff. This is required to support at least the differences with android.
    Author:
    Ronald Brill, Sven Strickroth
    • Method Detail

      • getIndex

        public static int getIndex(NamedNodeMap namedNodeMap,
         Map<Integer,List<String>> attributesOrderMap,
         Node element,
         int requiredIndex)
        Forward the call to the correct helper.
        Parameters:
        namedNodeMap - the node map
        attributesOrderMap - the order map
        element - the node
        requiredIndex - the required index
        Returns:
        the index or requiredIndex
      • getAttributesOrderMap

        public static Map<Integer,List<String>> getAttributesOrderMap(Document document)
        Returns internal Xerces details about all elements in the specified document. The id of the returned Map is the nodeIndex of an element, and the list is the array of ordered attributes names.
        Parameters:
        document - the document
        Returns:
        the map of an element index with its ordered attribute names
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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

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