public interface IElementNode extends INode, IStylesContainer
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalHtmlStyles(Map<String,String> styles)
Adds additional HTML styles.
|
List<Map<String,String>> |
getAdditionalHtmlStyles()
Gets additional styles, more specifically styles that affect an element based on its position in the HTML DOM, e.g.
|
String |
getAttribute(String key)
Gets an attribute.
|
IAttributes |
getAttributes()
Gets the attributes.
|
String |
getLang()
Gets the language.
|
String |
name()
Gets the name of the element node.
|
addChild, childNodes, parentNode
getStyles, setStyles
String name()
IAttributes getAttributes()
String getAttribute(String key)
key
- the key of the attribute we want to get
List<Map<String,String>> getAdditionalHtmlStyles()
void addAdditionalHtmlStyles(Map<String,String> styles)
styles
- the styles
String getLang()
Copyright © 1998–2023 iText Group NV. All rights reserved.