Package org.htmlunit.platform
Interface XmlUtilsHelperAPI
- All Known Implementing Classes:
XmlUtilsSunXercesHelper
,XmlUtilsXercesHelper
public interface XmlUtilsHelperAPI
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
API of the helper.
API of the helper.
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributesOrderMap
(Document document) Returns internal Xerces details about all elements in the specified document.int
getIndex
(NamedNodeMap namedNodeMap, Map<Integer, List<String>> attributesOrderMap, Node element, int requiredIndex) Helper.default <T> T
getPrivate
(Object object, String fieldName)
-
Method Details
-
getAttributesOrderMap
Returns internal Xerces details about all elements in the specified document. The id of the returnedMap
is thenodeIndex
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 mapattributesOrderMap
- the order mapelement
- the noderequiredIndex
- the required index- Returns:
- the index or -1 if the provided element is not supported
-
getPrivate
-