| Package | org.osmf.smpte.tt.parsing |
| Class | public class SMPTETTParser |
| Inheritance | SMPTETTParser flash.events.EventDispatcher |
| Implements | flash.events.IEventDispatcher, ISMPTETTParser |
| Subclasses | SMPTETTParserAsync |
| Property | Defined By | ||
|---|---|---|---|
| ASYNC_THREAD : AsyncThread [static] | SMPTETTParser | ||
| captionElements : Vector.<CaptionElement> [read-only]
Returns a vector of CaptionElements, one for each unique timeline event in the file. | SMPTETTParser | ||
| captionRegionsHash : Dictionary [read-only] | SMPTETTParser | ||
| document : CaptioningDocument [read-only] | SMPTETTParser | ||
| endTime : TimeCode | SMPTETTParser | ||
| m608 : Namespace [static] | SMPTETTParser | ||
| ns : Namespace [static] | SMPTETTParser | ||
| regionElementsHash : Dictionary [read-only] | SMPTETTParser | ||
| REMAINING_NODE_COUNT : uint [static] | SMPTETTParser | ||
| rootNamespace : Namespace [static] | SMPTETTParser | ||
| smpte : Namespace [static] | SMPTETTParser | ||
| startTime : TimeCode | SMPTETTParser | ||
| ttElement : TtElement [read-only] | SMPTETTParser | ||
| ttm : Namespace [static] | SMPTETTParser | ||
| ttp : Namespace [static] | SMPTETTParser | ||
| tts : Namespace [static] | SMPTETTParser | ||
| Property | Defined By | ||
|---|---|---|---|
| _captionElements : Vector.<CaptionElement> | SMPTETTParser | ||
| _document : CaptioningDocument | SMPTETTParser | ||
| parseTime : uint | SMPTETTParser | ||
| remainingNodeCount : int | SMPTETTParser | ||
| Method | Defined By | ||
|---|---|---|---|
| SMPTETTParser | |||
parse(i_rawData:String):CaptioningDocument | SMPTETTParser | ||
| Method | Defined By | ||
|---|---|---|---|
buildCaptions(timedTextElement:TimedTextElementBase, regionElementsHash:Dictionary, captionRegionsHash:Dictionary, timelineEventsHash:Dictionary):void | SMPTETTParser | ||
buildRegions(document:TtElement):void | SMPTETTParser | ||
createParseEventData(i_timedTextElement:TimedTextElementBase = null, i_regionElementsHash:Dictionary = null, i_captionRegionsHash:Dictionary = null, i_timelineEventsHash:Dictionary = null):ParseEventData | SMPTETTParser | ||
| SMPTETTParser | |||
| SMPTETTParser | |||
| _captionElements | property |
protected var _captionElements:Vector.<CaptionElement>| _document | property |
protected var _document:CaptioningDocument| ASYNC_THREAD | property |
public static var ASYNC_THREAD:AsyncThread| captionElements | property |
captionElements:Vector.<CaptionElement> [read-only] Returns a vector of CaptionElements, one for each unique timeline event in the file.
Additional CaptionsElements that occur at the same TimelineMarker are stored in each CaptionElements siblings Vector.<CaptionElements>.
public function get captionElements():Vector.<CaptionElement>| captionRegionsHash | property |
captionRegionsHash:Dictionary [read-only] public function get captionRegionsHash():Dictionary| document | property |
document:CaptioningDocument [read-only] public function get document():CaptioningDocument| endTime | property |
endTime:TimeCode public function get endTime():TimeCode public function set endTime(value:TimeCode):void| m608 | property |
public static var m608:Namespace| ns | property |
public static var ns:Namespace| parseTime | property |
protected var parseTime:uint| regionElementsHash | property |
regionElementsHash:Dictionary [read-only] public function get regionElementsHash():Dictionary| REMAINING_NODE_COUNT | property |
public static var REMAINING_NODE_COUNT:uint| remainingNodeCount | property |
remainingNodeCount:int protected function get remainingNodeCount():int protected function set remainingNodeCount(value:int):void| rootNamespace | property |
public static var rootNamespace:Namespace| smpte | property |
public static var smpte:Namespace| startTime | property |
startTime:TimeCode public function get startTime():TimeCode public function set startTime(value:TimeCode):void| ttElement | property |
| ttm | property |
public static var ttm:Namespace| ttp | property |
public static var ttp:Namespace| tts | property |
public static var tts:Namespace| SMPTETTParser | () | Constructor |
public function SMPTETTParser()| buildCaptions | () | method |
protected function buildCaptions(timedTextElement:TimedTextElementBase, regionElementsHash:Dictionary, captionRegionsHash:Dictionary, timelineEventsHash:Dictionary):voidParameters
timedTextElement:TimedTextElementBase | |
regionElementsHash:Dictionary | |
captionRegionsHash:Dictionary | |
timelineEventsHash:Dictionary |
| buildRegions | () | method |
| createParseEventData | () | method |
protected function createParseEventData(i_timedTextElement:TimedTextElementBase = null, i_regionElementsHash:Dictionary = null, i_captionRegionsHash:Dictionary = null, i_timelineEventsHash:Dictionary = null):ParseEventDataParameters
i_timedTextElement:TimedTextElementBase (default = null) | |
i_regionElementsHash:Dictionary (default = null) | |
i_captionRegionsHash:Dictionary (default = null) | |
i_timelineEventsHash:Dictionary (default = null) |
ParseEventData |
| mapToCaption | () | method |
protected function mapToCaption(pElement:PElement, region:RegionElement):CaptionElementParameters
pElement:PElement | |
region:RegionElement |
CaptionElement |
| mapToCaptionRegion | () | method |
protected function mapToCaptionRegion(regionElement:RegionElement):CaptionRegionParameters
regionElement:RegionElement |
CaptionRegion |
| parse | () | method |
public function parse(i_rawData:String):CaptioningDocumentParameters
i_rawData:String |
CaptioningDocument |
| begin | Event |
| complete | Event |
| progress | Event |