Skip to main content
Skip table of contents

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
ReturnsName
voidCharacters(string content, int start, int length)
This method gets called when characters are encountered.
voidEndElement(string uri, string lname, string name)
This method gets called when an end tag is encountered.
voidParse(...)
voidStartElement(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
TypeNameDescription
XmlDocumentxDoc
Parse [2/3]

Source code

public virtual void Parse(XmlTextReader reader)
Arguments
TypeNameDescription
XmlTextReaderreader
Parse [3/3]

Source code

public virtual void Parse(string url)
Arguments
TypeNameDescription
stringurlthe 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
TypeNameDescription
stringuri
stringlname
stringnamethe name of the tag that is encountered
Hashtableattrsthe 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
TypeNameDescription
stringuri
stringlname
stringnamethe 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
TypeNameDescription
stringcontentan array of characters
intstartthe start position in the array
intlengththe number of characters to read from the array
Summary

This method gets called when characters are encountered.

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.