Package com.lowagie.text.html
Class HtmlPeer
java.lang.Object
com.lowagie.text.xml.XmlPeer
com.lowagie.text.html.HtmlPeer
This interface is implemented by the peer of all the iText objects.
-
Field Summary
Fields inherited from class com.lowagie.text.xml.XmlPeer
attributeAliases, attributeValues, customTagname, defaultContent, tagname
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets an alias for an attribute.getAttributes
(Attributes attrs) Gets the list of attributes of the peer.Methods inherited from class com.lowagie.text.xml.XmlPeer
addValue, getAlias, getDefaultValues, getName, getTag, setContent
-
Constructor Details
-
HtmlPeer
Creates a XmlPeer.- Parameters:
name
- the iText name of the tagalias
- the Html name of the tag
-
-
Method Details
-
addAlias
Sets an alias for an attribute. -
getAttributes
Description copied from class:XmlPeer
Gets the list of attributes of the peer.- Overrides:
getAttributes
in classXmlPeer
- Parameters:
attrs
- the user defined set of attributes- Returns:
- the set of attributes translated to iText attributes
- See Also:
-