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
Deprecated.This is the name of the alias. -
customTagname
Deprecated.This is the name of the alias. -
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
Deprecated.Creates a XmlPeer.- Parameters:
name- the iText name of a tagalias- the user defined name of a tag
-
-
Method Details
-
getTag
Deprecated.Gets the tagname of the peer.- Returns:
- the iText name of a tag
-
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
Deprecated.Sets an alias for an attribute.- Parameters:
name- the iText tagnamealias- the custom tagname
-
addValue
Deprecated.Sets a value for an attribute.- Parameters:
name- the iText tagnamevalue- the default value for this tag
-
setContent
Deprecated.Sets the default content.- Parameters:
content- the default content
-
getName
Deprecated.Returns the iText attribute name.- Parameters:
name- the custom attribute name- Returns:
- iText translated attribute name
-
getDefaultValues
Deprecated.Returns the default values.- Returns:
- A set of default (user defined) values
-