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

Interface XmlUtilsHelperAPI



  • public interface XmlUtilsHelperAPI
    INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
    API of the helper.
    Author:
    Ronald Brill
    • Method Detail

      • getAttributesOrderMap

        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 or null if the provided document is not supported
      • getIndex

        int getIndex(NamedNodeMap namedNodeMap,
         Map<Integer,List<String>> attributesOrderMap,
         Node element,
         int requiredIndex)
        Helper.
        Parameters:
        namedNodeMap - the node map
        attributesOrderMap - the order map
        element - the node
        requiredIndex - the required index
        Returns:
        the index or -1 if the provided element is not supported
      • getPrivate

        default <T> T getPrivate(Object object,
         String fieldName)
        Helper to get the value of an private field.
        Type Parameters:
        T - the expected value type
        Parameters:
        object - the object that holds the field
        fieldName - the name of the field
        Returns:
        the value casted to T
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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

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