Table of Contents

Class SvgParser

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

This class is the superclass of all parsers. It provides localization and error handling methods.

public abstract class SvgParser
Inheritance
SvgParser
Derived
Inherited Members

Constructors

SvgParser()

Fields

_current

The current character.

_reader

The normalizing reader.

Properties

Current

Returns the current character value.

Methods

CreateErrorMessage(string, object[])

Returns a localized error message.

DoParse()

Method responsible for actually parsing data after AbstractParser has initialized itself.

FormatMessage(string, object[])
Parse(string)

Parses the given string.

ReportCharacterExpectedError(char, int)

simple api to call often reported error. Just a wrapper for reportError().

ReportError(string, object[])

Signals an error to the error handler.

ReportUnexpectedCharacterError(int)

simple api to call often reported error. Just a wrapper for reportError().

SkipCommaSpaces()

Skips the whitespaces and an optional comma.

SkipSpaces()

Skips the whitespaces in the current reader.