Packageorg.osmf.smpte.tt.model
Classpublic class MetadataElement
InheritanceMetadataElement Inheritance TimedTextElementBase Inheritance TreeType Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedattributes : Vector.<TimedTextAttributeBase>
[read-only] List of attributes associated with this node
TreeType
 Inheritedbegin : TimeCode
[read-only] Get the time at which this element becomes active
TreeType
 Inheritedbody : BodyElement
TimedTextElementBase
 InheritedcachedRegex : Dictionary
[static]
TimedTextElementBase
 Inheritedchildren : Vector.<TreeType>
[read-only] List of time trees that are contained within this node
TreeType
 InheriteddefaultZ : Number = 0.0001
[static]
TimedTextElementBase
 Inheritedduration : TimeCode
[read-only] Get the time at which this element is no longer active
TreeType
 Inheritedend : TimeCode
[read-only] Get the time at which this element is no longer active
TreeType
 Inheritedevents : Vector.<TimeCode>
[read-only] return an ordered list of the significant time events in the time tree.
TreeType
 Inheritedid : String
TimedTextElementBase
 Inheritedlanguage : String
TimedTextElementBase
 InheritedlocalName : String
TimedTextElementBase
 Inheritedmetadata : Dictionary
[read-only] Metadata associated with this node
TreeType
 Inheritednamespace : Namespace
TimedTextElementBase
 Inheritedparent : TreeType
tree node which is the unique parent of this node
TreeType
 Inheritedroot : TtElement
TimedTextElementBase
 InheritedtimeSemantics : TimeContainer
Specifies whether children are sequential or parallel in time.
TreeType
 Inheritedtiming : Dictionary
[read-only] The begin, end and dur times for this node
TreeType
Public Methods
 MethodDefined By
  
MetadataElement
 Inherited
clearLocalStyle(property:String):void
Clear local style on this element
TimedTextElementBase
 Inherited
computeTimeIntervals(context:TimeContainer, referenceStart:TimeCode, referenceEnd:TimeCode):void
Walk the tree to determine the absolute start and end times of all the elements.
TreeType
 Inherited
getComputedStyle(propertyName:String, currentRegion:RegionElement):*
Get the final computed value for a style property from this element
TimedTextElementBase
 Inherited
[static] Instantiate one of the TimedText.classes from a string representing its name.
TimedTextElementBase
 Inherited
sub classes need to override this.
TimedTextElementBase
 Inherited
getInheritedStyle(propertyName:String, currentRegion:RegionElement):Object
Get the computed value for a style property from this element's parent region
TimedTextElementBase
 Inherited
getMetadata(attribute:String):String
Get recorded metadata for the given attribute
TimedTextElementBase
 Inherited
getReferentStyle(property:String):Object
Look up a style property in any referent style elements.
TimedTextElementBase
 Inherited
serialize():String
TimedTextElementBase
 Inherited
setLocalStyle(property:String, value:*):void
Set a local style on this element allows modification at runtime.
TimedTextElementBase
 Inherited
Test if the tree is active at the given time
TreeType
 Inherited
valid():Boolean
Test validity of this subtree
TimedTextElementBase
 Inherited
writeAttributes(writer:XML):void
TimedTextElementBase
 Inherited
writeElement(writer:XML, isRoot:Boolean = false):void
TimedTextElementBase
Protected Methods
 MethodDefined By
 Inherited
error(message:String):void
[static]
TimedTextElementBase
 Inherited
validateAttributes(parameterSet:Boolean, metadataSet:Boolean, styleSet:Boolean, timingSet:Boolean, regionSet:Boolean, timeContainerSet:Boolean):void
Validate attribute classes
TimedTextElementBase
  
[override] Check validity of metadata element attributes
MetadataElement
  
[override] Check validity of metadata content model
MetadataElement
 Inherited
validParameterAttribute(attribute:TimedTextAttributeBase, feature:Boolean = false, value:String):void
Validate a parameter attribute
TimedTextElementBase
 Inherited
[static] Validate a profile attribute
TimedTextElementBase
 Inherited
Validate a region attribute
TimedTextElementBase
 Inherited
Validate a style reference attribute
TimedTextElementBase
 Inherited
Validate a time container attribute
TimedTextElementBase
 Inherited
Validate an XML attribute value
TimedTextElementBase
Constructor Detail
MetadataElement()Constructor
public function MetadataElement()



Method Detail
validAttributes()method
override protected function validAttributes():void

Check validity of metadata element attributes

validElements()method 
override protected function validElements():void

Check validity of metadata content model