bbc.rd.mpeg7
Class MPEG7MediaRelIncrTimePoint

java.lang.Object
  extended by bbc.rd.mpeg7.MPEG7MediaRelIncrTimePoint

public class MPEG7MediaRelIncrTimePoint
extends java.lang.Object

MPEG7MediaTimePoint: Represents an mpeg7:MediaRelIncrTimePoint object

Version:
1.0
Author:
Tim Sargeant, BBC Research & Development, April 2002

Constructor Summary
MPEG7MediaRelIncrTimePoint()
          Constructor for objects of type MPEG7MediaRelIncrTimePoint
MPEG7MediaRelIncrTimePoint(long timePoint)
          Constructor for objects of type MPEG7MediaRelIncrTimePoint
 
Method Summary
 java.lang.Object clone()
          Clones itself.
 long getTime()
          Get the MPEG7 MediaTimePoint
 java.lang.String getTimeUnit()
          getTimeUnit - gets the timeUnit
 void setTime(long timePoint)
          Set the MPEG7 MediaTimePoint
 void setTimeUnit(java.lang.String timeUnit)
          setTimeUnit - sets the timeUnit
 java.lang.String toString()
          Returns string representation of this object.
 java.lang.String toString(int indent)
          Returns string representation of this object.
 java.lang.String toXML()
          Returns XML representation of this object.
 java.lang.String toXML(int indent)
          Returns XML representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MPEG7MediaRelIncrTimePoint

public MPEG7MediaRelIncrTimePoint()
Constructor for objects of type MPEG7MediaRelIncrTimePoint


MPEG7MediaRelIncrTimePoint

public MPEG7MediaRelIncrTimePoint(long timePoint)
Constructor for objects of type MPEG7MediaRelIncrTimePoint

Method Detail

setTime

public void setTime(long timePoint)
Set the MPEG7 MediaTimePoint

Parameters:
timePoint - the MPEG7 MediaTimePoint

getTime

public long getTime()
Get the MPEG7 MediaTimePoint

Returns:
timePoint the MPEG7 MediaTimePoint

setTimeUnit

public void setTimeUnit(java.lang.String timeUnit)
setTimeUnit - sets the timeUnit

Parameters:
timeUnit - the time unit

getTimeUnit

public java.lang.String getTimeUnit()
getTimeUnit - gets the timeUnit

Returns:
the timeUnit

toXML

public java.lang.String toXML()
Returns XML representation of this object.

Returns:
XML representation of this object.

toXML

public java.lang.String toXML(int indent)
Returns XML representation of this object.

Parameters:
indent - number of tabs to put before the string.
Returns:
XML representation of this object.

toString

public java.lang.String toString()
Returns string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
string representation of this object.

toString

public java.lang.String toString(int indent)
Returns string representation of this object.

Parameters:
number - of tabs to put before the string.
Returns:
string representation of this object.

clone

public java.lang.Object clone()
Clones itself.

Overrides:
clone in class java.lang.Object
Returns:
A copy of itself.