Packageorg.openvideoplayer.parsers
Classpublic class DfxpParser
InheritanceDfxpParser Inheritance ParserBase Inheritance flash.events.EventDispatcher

See also

org.openvideoplayer.cc.OvpCCManager
org.openvideoplayer.cc.Caption
org.openvideoplayer.net.OvpCuePointManager


Public Properties
 PropertyDefined By
  copyright : String
[read-only] The copyright, if it was found in the metadata in the header.
DfxpParser
  description : String
[read-only] The description, if it was found in the metadata in the header.
DfxpParser
 InheritedisBusy : Boolean
[read-only] Boolean parameter indicating whether the class is already busy loading a file.
ParserBase
 InheritedrawData : String
[read-only] The raw data string returned by the request.
ParserBase
  title : String
[read-only] The title, if it was found in the metadata in the header.
DfxpParser
 Inheritedxml : XML
[read-only] The response data as an XML object.
ParserBase
Protected Properties
 PropertyDefined By
 Inherited_busy : Boolean
ParserBase
 Inherited_rawData : String
ParserBase
 Inherited_timeoutTimer : Timer
ParserBase
 Inherited_xml : XML
ParserBase
Public Methods
 MethodDefined By
  
Creates a new DfxpParser object.
DfxpParser
  
Returns the caption object at the specified index.
DfxpParser
  
Returns a count of caption objects this class has created.
DfxpParser
  
cuePointObjectAt(index:uint):Object
Returns the cue point object at the specified index.
DfxpParser
  
Returns a count of cue point objects this class created.
DfxpParser
 Inherited
load(src:String):Boolean
Loads a file and initiates the parsing process.
ParserBase
Events
 Event Summary Defined By
  Dispatched when an error condition has occurred.DfxpParser
 InheritedDispatched when the response has been successfully loaded.ParserBase
  Dispatched when the DFXP response has been successfully parsed.DfxpParser
Property Detail
copyrightproperty
copyright:String  [read-only]

The copyright, if it was found in the metadata in the header.


Implementation
    public function get copyright():String
descriptionproperty 
description:String  [read-only]

The description, if it was found in the metadata in the header.


Implementation
    public function get description():String
titleproperty 
title:String  [read-only]

The title, if it was found in the metadata in the header.


Implementation
    public function get title():String
Constructor Detail
DfxpParser()Constructor
public function DfxpParser()

Creates a new DfxpParser object.

Method Detail
captionObjectAt()method
public function captionObjectAt(index:uint):Caption

Returns the caption object at the specified index.

Parameters

index:uint

Returns
Caption
captionObjectCount()method 
public function captionObjectCount():uint

Returns a count of caption objects this class has created.

Returns
uint
cuePointObjectAt()method 
public function cuePointObjectAt(index:uint):Object

Returns the cue point object at the specified index.

Parameters

index:uint

Returns
Object
cuePointObjectCount()method 
public function cuePointObjectCount():uint

Returns a count of cue point objects this class created.

Returns
uint
Event Detail
error Event
Event Object Type: org.openvideoplayer.events.OvpEvent

Dispatched when an error condition has occurred. The event provides an error number and a verbose description of each error.

See also

parsed Event  
Event Object Type: org.openvideoplayer.events.OvpEvent

Dispatched when the DFXP response has been successfully parsed.

See also