Project Outline
«
SmilText JS

Namespace cwi.smilText.Parser

Hold all smilText parsing functionalities.

Defined in: cwi.smilText.js.

Method Summary
parseHTML() Parse the html source in order to find smilText tags, and render them into the respective enclosing regions.
parseFile(xmlFile, region) Parse a smilText file and return a smilText object.
parseString(xmlStr, region) Parse an XML string and return a smilText object.
parseHTMLElement(element, region) Parse a HMTL element and return a smilText object.
Method Detail
cwi.smilText.Parser.parseHTML() : Array[cwi.smilText.STDocument]
Parse the html source in order to find smilText tags, and render them into the respective enclosing regions.

										
									
Returns:
{Array[cwi.smilText.STDocument]}
See:
cwi.smilText.STDocument
cwi.smilText.Parser.parseFile(xmlFile, region) : cwi.smilText.STDocument
Parse a smilText file and return a smilText object.

										
									
Parameters:
{string} xmlFile The path of the file containing the smilText specification.
{string} region The id of the rendering region.
Returns:
{cwi.smilText.STDocument}
See:
cwi.smilText.STDocument
cwi.smilText.Parser.parseString(xmlStr, region) : cwi.smilText.STDocument
Parse an XML string and return a smilText object.

										
									
Parameters:
{string} xmlStr The smilText string.
{string} region The id of the rendering region.
Returns:
{cwi.smilText.STDocument}
See:
cwi.smilText.STDocument
cwi.smilText.Parser.parseHTMLElement(element, region) : cwi.smilText.STDocument
Parse a HMTL element and return a smilText object.

										
									
Parameters:
{string} element The HTML element containing the smilText specification.
{string} region The id of the rendering region.
Returns:
{cwi.smilText.STDocument}
See:
cwi.smilText.STDocument
Documentation generated by JsDoc Toolkit 2.3.2 on Mon Nov 09 2009 18:20:41 GMT+0100 (CET)