public abstract class CssContextNode extends Object implements INode, IStylesContainer
Constructor and Description |
---|
CssContextNode(INode parentNode)
Creates a new CssContextNode instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(INode node)
Adds a child node.
|
List<INode> |
childNodes()
Gets the child nodes.
|
Map<String,String> |
getStyles()
Gets the styles.
|
INode |
parentNode()
Gets the parent node.
|
void |
setStyles(Map<String,String> stringStringMap)
Sets the styles.
|
public CssContextNode(INode parentNode)
CssContextNode
instance.
parentNode
- the parent node
public List<INode> childNodes()
INode
childNodes
in interface INode
INode
instances.
public void addChild(INode node)
INode
public INode parentNode()
INode
parentNode
in interface INode
public void setStyles(Map<String,String> stringStringMap)
IStylesContainer
setStyles
in interface IStylesContainer
stringStringMap
- a Map
with style keys and values.
public Map<String,String> getStyles()
IStylesContainer
getStyles
in interface IStylesContainer
Copyright © 1998–2019 iText Group NV. All rights reserved.