RLML::StreamParser (Class)

In: rlml.rb
Parent: CoreParser

StreamParser is a convenient API for stream based RLML processing.

It validates as good as possible and handles encodings using Iconv.

On parsing, it sends events as specified in StreamInterface.

Methods

new   parse  

Public Class methods

callback will be sent the StreamParser-API events. See StreamInterface on the specifics of this API.

Public Instance methods

Parse the string in data as RLML and generate events to the callback.

[Validate]