com.lowagie.text.html

Class 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

HtmlPeer(String name, String alias)
Creates a XmlPeer.

Method Summary

void
addAlias(String name, String alias)
Sets an alias for an attribute.

Methods inherited from class com.lowagie.text.xml.XmlPeer

addAlias, addValue, getAlias, getAttributes, getDefaultValues, getName, getTag, setContent

Constructor Details

HtmlPeer

public HtmlPeer(String name,
                String alias)
Creates a XmlPeer.
Parameters:
name - the iText name of the tag
alias - the Html name of the tag

Method Details

addAlias

public void addAlias(String name,
                     String alias)
Sets an alias for an attribute.
Overrides:
addAlias in interface XmlPeer
Parameters:
name - the iText tagname
alias - the custom tagname