@Deprecated
public class ChainedProperties
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
java.util.List<com.itextpdf.text.html.simpleparser.ChainedProperties.TagAttributes> |
chain |
Deprecated.
A list of chained properties representing the tag hierarchy.
|
Constructor | Description |
---|---|
ChainedProperties() |
Deprecated.
Creates a new instance of ChainedProperties
|
Modifier and Type | Method | Description |
---|---|---|
void |
addToChain(java.lang.String tag,
java.util.Map<java.lang.String,java.lang.String> props) |
Deprecated.
Adds a tag and its corresponding properties to the chain.
|
protected void |
adjustFontSize(java.util.Map<java.lang.String,java.lang.String> attrs) |
Deprecated.
If the properties contain a font size, the size may need to
be adjusted based on font sizes higher in the hierarchy.
|
java.lang.String |
getProperty(java.lang.String key) |
Deprecated.
Walks through the hierarchy (bottom-up) looking for
a property key.
|
boolean |
hasProperty(java.lang.String key) |
Deprecated.
Walks through the hierarchy (bottom-up) looking for
a property key.
|
void |
removeChain(java.lang.String tag) |
Deprecated.
Walks through the hierarchy (bottom-up) and removes the
first occurrence of a tag that is encountered.
|
public java.util.List<com.itextpdf.text.html.simpleparser.ChainedProperties.TagAttributes> chain
public ChainedProperties()
public java.lang.String getProperty(java.lang.String key)
key
- the key of the propertypublic boolean hasProperty(java.lang.String key)
key
- the key of the propertypublic void addToChain(java.lang.String tag, java.util.Map<java.lang.String,java.lang.String> props)
tag
- the tags that needs to be added to the chainprops
- the tag's attributespublic void removeChain(java.lang.String tag)
tag
- the tag that needs to be removedprotected void adjustFontSize(java.util.Map<java.lang.String,java.lang.String> attrs)
attrs
- the attributes that may have to be updatedCopyright © 1998–2018. All rights reserved.