Interface IElementNode

    • Method Detail

      • name

        java.lang.String name()
        Gets the name of the element node.
        Returns:
        the string
      • getAttributes

        IAttributes getAttributes()
        Gets the attributes.
        Returns:
        the attributes
      • getAttribute

        java.lang.String getAttribute​(java.lang.String key)
        Gets an attribute.
        Parameters:
        key - the key of the attribute we want to get
        Returns:
        the value of the attribute
      • getAdditionalHtmlStyles

        java.util.List<java.util.Map<java.lang.String,​java.lang.String>> getAdditionalHtmlStyles()
        Gets additional styles, more specifically styles that affect an element based on its position in the HTML DOM, e.g. cell borders that are set due to the parent table "border" attribute, or styles from "col" tags that affect table elements, or blocks horizontal alignment that is the result of parent's "align" attribute.
        Returns:
        the additional html styles
      • addAdditionalHtmlStyles

        void addAdditionalHtmlStyles​(java.util.Map<java.lang.String,​java.lang.String> styles)
        Adds additional HTML styles.
        Parameters:
        styles - the styles
      • getLang

        java.lang.String getLang()
        Gets the language.
        Returns:
        the language value