bbc.rd.mpeg7
Class MPEG7MediaRelTimePoint

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

public class MPEG7MediaRelTimePoint
extends java.lang.Object

MPEG7MediaRelTimePoint: Represents an mpeg7:MediaRelTimePoint object

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

Constructor Summary
MPEG7MediaRelTimePoint()
          Constructor for objects of type MPEG7MediaRelTimePoint
MPEG7MediaRelTimePoint(long timePoint)
          Constructor for objects of type MPEG7MediaRelTimePoint
 
Method Summary
 java.lang.Object clone()
          Clones itself.
 long getTime()
          Get the MPEG7 MediaTimePoint
 void setTime(long timePoint)
          Set the MPEG7 MediaTimePoint
 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

MPEG7MediaRelTimePoint

public MPEG7MediaRelTimePoint()
Constructor for objects of type MPEG7MediaRelTimePoint


MPEG7MediaRelTimePoint

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

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

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.