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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlPeer
public HtmlPeer(String name,
String alias)
- Creates a XmlPeer.
- Parameters:
name
- the iText name of the tagalias
- the Html name of the tag
addAlias
public void addAlias(String name,
String alias)
- Sets an alias for an attribute.
- Overrides:
addAlias
in class XmlPeer
- Parameters:
name
- the iText tagnamealias
- the custom tagname
getAttributes
public Properties getAttributes(Attributes attrs)
- Description copied from class:
XmlPeer
- Gets the list of attributes of the peer.
- Overrides:
getAttributes
in class XmlPeer
- 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)