public class JsoupElementNode extends JsoupNode implements IElementNode
Constructor and Description |
---|
JsoupElementNode(Element element) |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalHtmlStyles(Map<String,String> styles) |
List<Map<String,String>> |
getAdditionalHtmlStyles()
Styles that affect element based on it's position in html DOM, e.g.
|
String |
getAttribute(String key) |
IAttributes |
getAttributes() |
String |
getLang() |
Map<String,String> |
getStyles() |
String |
name() |
void |
setStyles(Map<String,String> elementResolvedStyles) |
addChild, childNodes, parentNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChild, childNodes, parentNode
public JsoupElementNode(Element element)
public String name()
name
in interface IElementNode
public IAttributes getAttributes()
getAttributes
in interface IElementNode
public String getAttribute(String key)
getAttribute
in interface IElementNode
public void setStyles(Map<String,String> elementResolvedStyles)
setStyles
in interface IStylesContainer
public Map<String,String> getStyles()
getStyles
in interface IStylesContainer
public List<Map<String,String>> getAdditionalHtmlStyles()
IElementNode
getAdditionalHtmlStyles
in interface IElementNode
public void addAdditionalHtmlStyles(Map<String,String> styles)
addAdditionalHtmlStyles
in interface IElementNode
public String getLang()
getLang
in interface IElementNode
Copyright © 1998–2019 iText Group NV. All rights reserved.