Skip to main content
Skip table of contents

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
ReturnsName
voidEndDocument()
voidEndElement(string tag)
voidParse(Stream stream, IPatternConsumer consumer)
voidStartDocument()
voidStartElement(string tag, IDictionary<string, string> h)
voidText(string str)
Protected methods
ReturnsName
stringGetExceptionWord(List<object> ex)
List<object>NormalizeException(List<object> ex)
Protected Static methods
ReturnsName
stringGetInterletterValues(string pat)
stringGetPattern(string word)

Details

Inheritance

Constructors

SimplePatternParser

Source code

public SimplePatternParser()

Methods

Parse

Source code

public virtual void Parse(Stream stream, IPatternConsumer consumer)
Arguments
TypeNameDescription
Streamstream
IPatternConsumerconsumer
GetPattern

Source code

protected static string GetPattern(string word)
Arguments
TypeNameDescription
stringword
NormalizeException

Source code

protected virtual List<object> NormalizeException(List<object> ex)
Arguments
TypeNameDescription
List<object>ex
GetExceptionWord

Source code

protected virtual string GetExceptionWord(List<object> ex)
Arguments
TypeNameDescription
List<object>ex
GetInterletterValues

Source code

protected static string GetInterletterValues(string pat)
Arguments
TypeNameDescription
stringpat
EndDocument

Source code

public virtual void EndDocument()
EndElement

Source code

public virtual void EndElement(string tag)
Arguments
TypeNameDescription
stringtag
StartDocument

Source code

public virtual void StartDocument()
StartElement

Source code

public virtual void StartElement(string tag, IDictionary<string, string> h)
Arguments
TypeNameDescription
stringtag
IDictionary<string, string>h
Text

Source code

public virtual void Text(string str)
Arguments
TypeNameDescription
stringstr

Generated with ModularDoc

JavaScript errors detected

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

If this problem persists, please contact our support.