virtual public void Parse(Stream stream, IPatternConsumer consumer) { this.consumer = consumer; try { SimpleXMLParser.Parse(this, stream); } finally { try{stream.Close();}catch{} } }
virtual public void Parse(Stream stream, IPatternConsumer consumer) { this.consumer = consumer; try { SimpleXMLParser.Parse(this, stream); } finally { try{ stream.Close(); }catch {} } }
public void Parse(Stream stream, IPatternConsumer consumer) { Consumer = consumer; try { SimpleXmlParser.Parse(this, stream); } finally { try { stream.Dispose(); } catch { } } }
public PatternInternalParser(IPatternConsumer consumer) { this.consumer = consumer; }
public PatternParser(IPatternConsumer consumer) : this() { this.consumer = consumer; }
/// <summary>Construct a pattern parser.</summary> /// <param name="consumer">a pattern consumer</param> /// <exception cref="HyphenationException">if a hyphenation exception is raised</exception> /// <exception cref="iText.Layout.Hyphenation.HyphenationException"/> public PatternParser(IPatternConsumer consumer) : this() { // default this.consumer = consumer; }