Package com.lowagie.text.html
Class HtmlPeer
- java.lang.Object
-
- com.lowagie.text.xml.XmlPeer
-
- com.lowagie.text.html.HtmlPeer
-
public class HtmlPeer extends XmlPeer
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 Constructor Description HtmlPeer(java.lang.String name, java.lang.String alias)
Creates a XmlPeer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAlias(java.lang.String name, java.lang.String alias)
Sets an alias for an attribute.java.util.Properties
getAttributes(org.xml.sax.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
-
-
-
-
Method Detail
-
addAlias
public void addAlias(java.lang.String name, java.lang.String alias)
Sets an alias for an attribute.
-
getAttributes
public java.util.Properties getAttributes(org.xml.sax.Attributes attrs)
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:
XmlPeer.getAttributes(org.xml.sax.Attributes)
-
-