Class SpatioTemporalDecompositionImpl

java.lang.Object
org.opencastproject.metadata.mpeg7.SpatioTemporalDecompositionImpl
All Implemented Interfaces:
org.opencastproject.mediapackage.XmlElement, SpatioTemporalDecomposition

public class SpatioTemporalDecompositionImpl extends Object implements SpatioTemporalDecomposition
Default implementation of a spatio temporal decomposition.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
    Flag to indicate whether the elements in this decomposition may exhibit gaps
    protected boolean
    Flag to indicate whether the elements in this decomposition may overlap
    protected List<VideoText>
    The list of videotext elements
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpatioTemporalDecompositionImpl(boolean gap, boolean overlap)
    Creates a new spatio temporal decomposition.
  • Method Summary

    Modifier and Type
    Method
    Description
    addVideoText(Textual text, Rectangle boundary, MediaTime time)
    Adds the specified text as a VideoText element to the decomposition.
    void
    Adds the VideoText element to the decomposition.
    Returns all the video text elements from this decomposition.
    Returns the VideoText element with the given identifier or null if there is no such element.
    boolean
    Returns true if the segment has a gap.
    boolean
    Returns true if the segment overlaps with another one.
    void
    setGap(boolean hasGap)
    Set the hasGap property indicating that there may be gaps in between the segments.
    void
    setOverlapping(boolean isOverlapping)
    Set the isOverlapping property indicating that some segments may be overlapping.
    toXml(Document document)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait