org.mmbase.util.media.video.videoparts
Class VideoPartDef

java.lang.Object
  |
  +--org.mmbase.util.media.video.videoparts.VideoPartDef

public class VideoPartDef
extends java.lang.Object


Field Summary
 java.lang.String body
           
 java.lang.String intro
           
 int number
           
 int otype
           
 java.lang.String owner
           
 int playtime
           
 RawVideoDef rawvideo
           
 java.util.Vector rawvideos
           
 int source
           
 java.lang.String starttime
           
 java.lang.String stoptime
           
 int storage
           
 java.lang.String subtitle
           
 java.lang.String title
           
 
Constructor Summary
VideoPartDef()
           
VideoPartDef(MMBase mmbase, int number)
           
VideoPartDef(MMBase mmbase, MMObjectNode node)
           
 
Method Summary
 boolean getRawVideos(MMBase mmbase, int wantedspeed, int wantedchannels, boolean sorted)
           
 java.lang.String getRealVideoUrl(scanpage sp)
          Gets the Realvideo url and ads the 'title','start' and 'end' name and values parameters.
 void getStartStop(MMBase mmbase)
           
 boolean setparameters(MMBase mmbase, int number)
           
 boolean setparameters(MMBase mmbase, MMObjectNode node)
           
 java.lang.String toString()
           
 java.lang.String toText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

number

public int number

otype

public int otype

owner

public java.lang.String owner

title

public java.lang.String title

subtitle

public java.lang.String subtitle

source

public int source

playtime

public int playtime

intro

public java.lang.String intro

body

public java.lang.String body

storage

public int storage

starttime

public java.lang.String starttime

stoptime

public java.lang.String stoptime

rawvideos

public java.util.Vector rawvideos

rawvideo

public RawVideoDef rawvideo
Constructor Detail

VideoPartDef

public VideoPartDef()

VideoPartDef

public VideoPartDef(MMBase mmbase,
                    int number)

VideoPartDef

public VideoPartDef(MMBase mmbase,
                    MMObjectNode node)
Method Detail

setparameters

public boolean setparameters(MMBase mmbase,
                             int number)

setparameters

public boolean setparameters(MMBase mmbase,
                             MMObjectNode node)

getRawVideos

public boolean getRawVideos(MMBase mmbase,
                            int wantedspeed,
                            int wantedchannels,
                            boolean sorted)

getStartStop

public void getStartStop(MMBase mmbase)

toText

public java.lang.String toText()

getRealVideoUrl

public java.lang.String getRealVideoUrl(scanpage sp)
Gets the Realvideo url and ads the 'title','start' and 'end' name and values parameters. davzev: Removed the double quotes around the values since Real SMIL doesn't handle it correctly.
Parameters:
sp - the scanepage
Returns:
a String with the url.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


MMBase 2001