| |
|
| java.lang.Object com.lowagie.text.xml.XmlPeer
All known Subclasses: com.lowagie.text.html.HtmlPeer,
XmlPeer | public class XmlPeer (Code) | | This interface is implemented by the peer of all the iText objects.
|
attributeAliases | protected Properties attributeAliases(Code) | | This is the Map that contains the aliases of the attributes.
|
attributeValues | protected Properties attributeValues(Code) | | This is the Map that contains the default values of the attributes.
|
customTagname | protected String customTagname(Code) | | This is the name of the alias.
|
defaultContent | protected String defaultContent(Code) | | This is String that contains the default content of the attributes.
|
tagname | protected String tagname(Code) | | This is the name of the alias.
|
XmlPeer | public XmlPeer(String name, String alias)(Code) | | Creates a XmlPeer.
Parameters: name - the iText name of a tag Parameters: alias - the userdefined name of a tag |
addAlias | public void addAlias(String name, String alias)(Code) | | Sets an alias for an attribute.
Parameters: name - the iText tagname Parameters: alias - the custom tagname |
addValue | public void addValue(String name, String value)(Code) | | Sets a value for an attribute.
Parameters: name - the iText tagname Parameters: value - the default value for this tag |
getAlias | public String getAlias()(Code) | | Gets the tagname of the peer.
the userdefined tagname |
getAttributes | public Properties getAttributes(Attributes attrs)(Code) | | Gets the list of attributes of the peer.
Parameters: attrs - the userdefined set of attributes the set of attributes translated to iText attributes |
getDefaultValues | public Properties getDefaultValues()(Code) | | Returns the default values.
A set of default (userdefined) values |
getName | public String getName(String name)(Code) | | Returns the iText attribute name.
Parameters: name - the custom attribute name iText translated attribute name |
getTag | public String getTag()(Code) | | Gets the tagname of the peer.
the iText name of a tag |
setContent | public void setContent(String content)(Code) | | Sets the default content.
Parameters: content - the default content |
|
|
|