HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.xml.XmlPeer Class Reference

This interface is implemented by the peer of all the iText objects. More...

Inheritance diagram for iTextSharp.text.xml.XmlPeer:
iTextSharp.text.html.HtmlPeer

Public Member Functions

 XmlPeer (String name, String alias)
 Creates a XmlPeer. More...
 
virtual Properties GetAttributes (Hashtable attrs)
 Gets the list of attributes of the peer. More...
 
virtual void AddAlias (String name, String alias)
 Sets an alias for an attribute. More...
 
void AddValue (String name, String value)
 Sets a value for an attribute. More...
 
String GetName (String name)
 Returns the iText attribute name. More...
 

Protected Attributes

String tagname
 This is the name of the alias. More...
 
String customTagname
 This is the name of the alias. More...
 
Properties attributeAliases = new Properties()
 This is the Map that contains the aliases of the attributes. More...
 
Properties attributeValues = new Properties()
 This is the Map that contains the default values of the attributes. More...
 
String defaultContent = null
 This is String that contains the default content of the attributes. More...
 

Properties

String Tag [get]
 Gets the tagname of the peer. More...
 
String Alias [get]
 Gets the alias of the peer. More...
 
string Content [set]
 Sets the default content. More...
 
Properties DefaultValues [get]
 Returns the default values. More...
 

Detailed Description

This interface is implemented by the peer of all the iText objects.

Constructor & Destructor Documentation

◆ XmlPeer()

iTextSharp.text.xml.XmlPeer.XmlPeer ( String  name,
String  alias 
)

Creates a XmlPeer.

Parameters
name
alias

Member Function Documentation

◆ AddAlias()

virtual void iTextSharp.text.xml.XmlPeer.AddAlias ( String  name,
String  alias 
)
virtual

Sets an alias for an attribute.

Parameters
namethe iText tagname
aliasthe custom tagname

Reimplemented in iTextSharp.text.html.HtmlPeer.

◆ AddValue()

void iTextSharp.text.xml.XmlPeer.AddValue ( String  name,
String  value 
)

Sets a value for an attribute.

Parameters
namethe iText tagname
valuethe default value for this tag

◆ GetAttributes()

virtual Properties iTextSharp.text.xml.XmlPeer.GetAttributes ( Hashtable  attrs)
virtual

Gets the list of attributes of the peer.

Reimplemented in iTextSharp.text.html.HtmlPeer.

◆ GetName()

String iTextSharp.text.xml.XmlPeer.GetName ( String  name)

Returns the iText attribute name.

Parameters
namethe custom attribute name
Returns
the iText attribute name

Member Data Documentation

◆ attributeAliases

Properties iTextSharp.text.xml.XmlPeer.attributeAliases = new Properties()
protected

This is the Map that contains the aliases of the attributes.

◆ attributeValues

Properties iTextSharp.text.xml.XmlPeer.attributeValues = new Properties()
protected

This is the Map that contains the default values of the attributes.

◆ customTagname

String iTextSharp.text.xml.XmlPeer.customTagname
protected

This is the name of the alias.

◆ defaultContent

String iTextSharp.text.xml.XmlPeer.defaultContent = null
protected

This is String that contains the default content of the attributes.

◆ tagname

String iTextSharp.text.xml.XmlPeer.tagname
protected

This is the name of the alias.

Property Documentation

◆ Alias

String iTextSharp.text.xml.XmlPeer.Alias
get

Gets the alias of the peer.

the alias of the peer

◆ Content

string iTextSharp.text.xml.XmlPeer.Content
set

Sets the default content.

the default content

◆ DefaultValues

Properties iTextSharp.text.xml.XmlPeer.DefaultValues
get

Returns the default values.

the default values

◆ Tag

String iTextSharp.text.xml.XmlPeer.Tag
get

Gets the tagname of the peer.

the tagname of the peer


The documentation for this class was generated from the following file: