|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.xml.XmlPeer
com.lowagie.text.html.HtmlPeer
public class HtmlPeer
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(java.lang.String name,
java.lang.String alias)
Creates a XmlPeer. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlPeer(java.lang.String name, java.lang.String alias)
name
- the iText name of the tagalias
- the Html name of the tagMethod Detail |
---|
public void addAlias(java.lang.String name, java.lang.String alias)
addAlias
in class XmlPeer
name
- the iText tagnamealias
- the custom tagnamepublic java.util.Properties getAttributes(org.xml.sax.Attributes attrs)
XmlPeer
getAttributes
in class XmlPeer
attrs
- the userdefined set of attributes
XmlPeer.getAttributes(org.xml.sax.Attributes)
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |