iText 5

SimplePatternParser

SimplePatternParser Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf.hyphenation iTextSharp.text.pdf.hyphenation.SimplePatternParser[[SimplePatternParser]] end subgraph iTextSharp.text.xml.simpleparser iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler[[ISimpleXMLDocHandler]] class iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler interfaceStyle; end iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler --> iTextSharp.text.pdf.hyphenation.SimplePatternParser

Members

Methods

Public methods

Returns

Name

void

EndDocument

()

void

EndElement

(string tag)

void

Parse

(Stream stream,

IPatternConsumer

consumer)

void

StartDocument

()

void

StartElement

(string tag, IDictionary<string, string> h)

void

Text

(string str)

Protected methods

Returns

Name

string

GetExceptionWord

(List<object> ex)

List<object>

NormalizeException

(List<object> ex)

Protected Static methods

Returns

Name

string

GetInterletterValues

(string pat)

string

GetPattern

(string word)

Details

Inheritance

Constructors

SimplePatternParser

Source code

public SimplePatternParser()

Methods

Parse

Source code

public virtual void Parse(Stream stream, IPatternConsumer consumer)

Arguments

Type

Name

Description

Stream

stream

IPatternConsumer

consumer

GetPattern

Source code

protected static string GetPattern(string word)

Arguments

Type

Name

Description

string

word

NormalizeException

Source code

protected virtual List<object> NormalizeException(List<object> ex)

Arguments

Type

Name

Description

List<object>

ex

GetExceptionWord

Source code

protected virtual string GetExceptionWord(List<object> ex)

Arguments

Type

Name

Description

List<object>

ex

GetInterletterValues

Source code

protected static string GetInterletterValues(string pat)

Arguments

Type

Name

Description

string

pat

EndDocument

Source code

public virtual void EndDocument()

EndElement

Source code

public virtual void EndElement(string tag)

Arguments

Type

Name

Description

string

tag

StartDocument

Source code

public virtual void StartDocument()

StartElement

Source code

public virtual void StartElement(string tag, IDictionary<string, string> h)

Arguments

Type

Name

Description

string

tag

IDictionary<string, string>

h

Text

Source code

public virtual void Text(string str)

Arguments

Type

Name

Description

string

str

Generated with ModularDoc