Class XmlPeer
java.lang.Object
com.lowagie.text.xml.XmlPeer
- Direct Known Subclasses:
HtmlPeer
Deprecated.
This interface is implemented by the peer of all the iText objects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PropertiesDeprecated.This is the Map that contains the aliases of the attributes.protected PropertiesDeprecated.This is the Map that contains the default values of the attributes.protected StringDeprecated.This is the name of the alias.protected StringDeprecated.This is String that contains the default content of the attributes.protected StringDeprecated.This is the name of the alias. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Sets an alias for an attribute.voidDeprecated.Sets a value for an attribute.getAlias()Deprecated.Gets the tagname of the peer.getAttributes(Attributes attrs) Deprecated.Gets the list of attributes of the peer.Deprecated.Returns the default values.Deprecated.Returns the iText attribute name.getTag()Deprecated.Gets the tagname of the peer.voidsetContent(String content) Deprecated.Sets the default content.
-
Field Details
-
tagname
-
customTagname
-
attributeAliases
Deprecated.This is the Map that contains the aliases of the attributes. -
attributeValues
Deprecated.This is the Map that contains the default values of the attributes. -
defaultContent
Deprecated.This is String that contains the default content of the attributes.
-
-
Constructor Details
-
XmlPeer
-
-
Method Details
-
getTag
-
getAlias
Deprecated.Gets the tagname of the peer.- Returns:
- the user defined tagname
-
getAttributes
Deprecated.Gets the list of attributes of the peer.- Parameters:
attrs- the user defined set of attributes- Returns:
- the set of attributes translated to iText attributes
-
addAlias
-
addValue
-
setContent
Deprecated.Sets the default content.- Parameters:
content- the default content
-
getName
-
getDefaultValues
Deprecated.Returns the default values.- Returns:
- A set of default (user defined) values
-