C# Class iTextSharp.text.xml.XmlPeer

This interface is implemented by the peer of all the iText objects.
Show file Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Protected Properties

Property Type Description
attributeAliases System.util.Properties
attributeValues System.util.Properties
customTagname String
defaultContent String
tagname String

Public Methods

Method Description
AddAlias ( String name, String alias ) : void

Sets an alias for an attribute.

AddValue ( String name, String value ) : void

Sets a value for an attribute.

GetAttributes ( Hashtable attrs ) : Properties

Gets the list of attributes of the peer.

GetName ( String name ) : String

Returns the iText attribute name.

XmlPeer ( String name, String alias ) : System

Creates a XmlPeer.

Method Details

AddAlias() public method

Sets an alias for an attribute.
public AddAlias ( String name, String alias ) : void
name String the iText tagname
alias String the custom tagname
return void

AddValue() public method

Sets a value for an attribute.
public AddValue ( String name, String value ) : void
name String the iText tagname
value String the default value for this tag
return void

GetAttributes() public method

Gets the list of attributes of the peer.
public GetAttributes ( Hashtable attrs ) : Properties
attrs System.Collections.Hashtable
return System.util.Properties

GetName() public method

Returns the iText attribute name.
public GetName ( String name ) : String
name String the custom attribute name
return String

XmlPeer() public method

Creates a XmlPeer.
public XmlPeer ( String name, String alias ) : System
name String
alias String
return System

Property Details

attributeAliases protected property

This is the Map that contains the aliases of the attributes.
protected Properties,System.util attributeAliases
return System.util.Properties

attributeValues protected property

This is the Map that contains the default values of the attributes.
protected Properties,System.util attributeValues
return System.util.Properties

customTagname protected property

This is the name of the alias.
protected String customTagname
return String

defaultContent protected property

This is String that contains the default content of the attributes.
protected String defaultContent
return String

tagname protected property

This is the name of the alias.
protected String tagname
return String