- java.lang.Object
-
- com.itextpdf.text.xml.XmlPeer
-
- com.itextpdf.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.itextpdf.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 voidaddAlias(java.lang.String name, java.lang.String alias)Sets an alias for an attribute.java.util.PropertiesgetAttributes(org.xml.sax.Attributes attrs)Gets the list of attributes of the peer.-
Methods inherited from class com.itextpdf.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:XmlPeerGets the list of attributes of the peer.- Overrides:
getAttributesin 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)
-
-