C# Class iTextSharp.text.xml.TagMap.AttributeHandler

Inheritance: ParserBase
Show file Open project: red-gate/iTextSharp-4.1.6

Public Methods

Method Description
AttributeHandler ( Hashtable tagMap ) : System

Constructs a new SAXiTextHandler that will translate all the events triggered by the parser to actions on the Document-object.

Characters ( string content, int start, int length ) : void

This method gets called when characters are encountered.

EndElement ( String tag, String lname, String name ) : void

This method gets called when an end tag is encountered.

IgnorableWhitespace ( char ch, int start, int length ) : void

This method gets called when ignorable white space encountered.

StartElement ( String tag, String lname, String n, Hashtable attrs ) : void

This method gets called when a start tag is encountered.

Method Details

AttributeHandler() public method

Constructs a new SAXiTextHandler that will translate all the events triggered by the parser to actions on the Document-object.
public AttributeHandler ( Hashtable tagMap ) : System
tagMap System.Collections.Hashtable A Hashtable containing XmlPeer-objects
return System

Characters() public method

This method gets called when characters are encountered.
public Characters ( string content, int start, int length ) : void
content string an array of characters
start int the start position in the array
length int the number of characters to read from the array
return void

EndElement() public method

This method gets called when an end tag is encountered.
public EndElement ( String tag, String lname, String name ) : void
tag String the name of the tag that ends
lname String
name String
return void

IgnorableWhitespace() public method

This method gets called when ignorable white space encountered.
public IgnorableWhitespace ( char ch, int start, int length ) : void
ch char an array of characters
start int the start position in the array
length int the number of characters to read from the array
return void

StartElement() public method

This method gets called when a start tag is encountered.
public StartElement ( String tag, String lname, String n, Hashtable attrs ) : void
tag String the name of the tag that is encountered
lname String
n String
attrs System.Collections.Hashtable the list of attributes
return void