iText 5

ParserBase

ParserBase Public class

Description

The ...

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.xml iTextSharp.text.xml.ParserBase[[ParserBase]] class iTextSharp.text.xml.ParserBase abstractStyle; end

Members

Methods

Public methods

Returns

Name

void

Characters

(string content, int start, int length)
This method gets called when characters are encountered.

void

EndElement

(string uri, string lname, string name)
This method gets called when an end tag is encountered.

void

Parse

(...)

void

StartElement

(string uri, string lname, string name, Hashtable attrs)
This method gets called when a start tag is encountered.

Details

Summary

The

ParserBase

Constructors

ParserBase

protected ParserBase()

Methods

Parse [1/3]

Source code

public virtual void Parse(XmlDocument xDoc)

Arguments

Type

Name

Description

XmlDocument

xDoc

Parse [2/3]

Source code

public virtual void Parse(XmlTextReader reader)

Arguments

Type

Name

Description

XmlTextReader

reader

Parse [3/3]

Source code

public virtual void Parse(string url)

Arguments

Type

Name

Description

string

url

the XML document to parse

Summary

Begins the process of processing an XML document

StartElement

public abstract void StartElement(string uri, string lname, string name, Hashtable attrs)

Arguments

Type

Name

Description

string

uri

string

lname

string

name

the name of the tag that is encountered

Hashtable

attrs

the list of attributes

Summary

This method gets called when a start tag is encountered.

EndElement

public abstract void EndElement(string uri, string lname, string name)

Arguments

Type

Name

Description

string

uri

string

lname

string

name

the name of the tag that ends

Summary

This method gets called when an end tag is encountered.

Characters

public abstract void Characters(string content, int start, int length)

Arguments

Type

Name

Description

string

content

an array of characters

int

start

the start position in the array

int

length

the number of characters to read from the array

Summary

This method gets called when characters are encountered.

Generated with ModularDoc