Class ParserBase
- Namespace
- iTextSharp.text.xml
- Assembly
- iTextSharp.LGPLv2.Core.dll
The ParserBase -class provides XML document parsing.
public abstract class ParserBase
- Inheritance
-
ParserBase
- Derived
- Inherited Members
Constructors
ParserBase()
protected ParserBase()
Methods
Characters(string, int, int)
This method gets called when characters are encountered.
public abstract void Characters(string content, int start, int length)
Parameters
content
stringan array of characters
start
intthe start position in the array
length
intthe number of characters to read from the array
EndElement(string, string, string)
This method gets called when an end tag is encountered.
public abstract void EndElement(string uri, string lname, string name)
Parameters
Parse(string)
Begins the process of processing an XML document
public void Parse(string url)
Parameters
url
stringthe XML document to parse
Parse(XmlDocument)
public void Parse(XmlDocument xDoc)
Parameters
xDoc
XmlDocument
Parse(XmlReader)
public void Parse(XmlReader reader)
Parameters
reader
XmlReader
StartElement(string, string, string, INullValueDictionary<string, string>)
This method gets called when a start tag is encountered.
public abstract void StartElement(string uri, string lname, string name, INullValueDictionary<string, string> attrs)