public class HtmlPeer extends XmlPeer
attributeAliases, attributeValues, customTagname, defaultContent, tagname
Constructor and Description |
---|
HtmlPeer(java.lang.String name,
java.lang.String alias)
Creates a XmlPeer.
|
Modifier and Type | Method and 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.
|
addValue, getAlias, getDefaultValues, getName, getTag, setContent
public HtmlPeer(java.lang.String name, java.lang.String alias)
name
- the iText name of the tagalias
- the Html name of the tagpublic void addAlias(java.lang.String name, java.lang.String alias)
public java.util.Properties getAttributes(org.xml.sax.Attributes attrs)
XmlPeer
getAttributes
in class XmlPeer
attrs
- the user defined set of attributesXmlPeer.getAttributes(org.xml.sax.Attributes)