Package com.brightcove.player.model
Class CaptionsDocument
- java.lang.Object
-
- com.brightcove.player.model.CaptionsDocument
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TTMLDocument,WebVTTDocument
public class CaptionsDocument extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<BrightcoveClosedCaption>captionsprotected java.util.Map<java.lang.String,Region>regions
-
Constructor Summary
Constructors Constructor Description CaptionsDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BrightcoveClosedCaption>getCaptions()Retrieves theListofBrightcoveClosedCaptionobjects for this document.java.util.Map<java.lang.String,Region>getRegions()Retrieves aMapof theRegionobjects in this document, keyed by their names.
-
-
-
Field Detail
-
regions
protected java.util.Map<java.lang.String,Region> regions
-
captions
protected java.util.List<BrightcoveClosedCaption> captions
-
-
Method Detail
-
getRegions
public java.util.Map<java.lang.String,Region> getRegions()
Retrieves aMapof theRegionobjects in this document, keyed by their names.- Returns:
- the region map
-
getCaptions
public java.util.List<BrightcoveClosedCaption> getCaptions()
Retrieves theListofBrightcoveClosedCaptionobjects for this document.- Returns:
- the caption list
-
-