Interface XmlUtilsHelperAPI

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.Integer,​java.util.List<java.lang.String>> getAttributesOrderMap​(org.w3c.dom.Document document)
      Returns internal Xerces details about all elements in the specified document.
      int getIndex​(org.w3c.dom.NamedNodeMap namedNodeMap, java.util.Map<java.lang.Integer,​java.util.List<java.lang.String>> attributesOrderMap, org.w3c.dom.Node element, int requiredIndex)
      Helper.
      default <T> T getPrivate​(java.lang.Object object, java.lang.String fieldName)  
    • Method Detail

      • getAttributesOrderMap

        java.util.Map<java.lang.Integer,​java.util.List<java.lang.String>> getAttributesOrderMap​(org.w3c.dom.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​(org.w3c.dom.NamedNodeMap namedNodeMap,
                     java.util.Map<java.lang.Integer,​java.util.List<java.lang.String>> attributesOrderMap,
                     org.w3c.dom.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​(java.lang.Object object,
                                 java.lang.String fieldName)