bbc.rd.mpeg7
Class MPEG7MediaTimePoint

java.lang.Object
  extended by bbc.rd.mpeg7.MPEG7MediaTimePoint
All Implemented Interfaces:
java.lang.Cloneable

public class MPEG7MediaTimePoint
extends java.lang.Object
implements java.lang.Cloneable

MPEG7MediaTimePoint: Represents an mpeg7:MediaTimePoint object

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

Constructor Summary
MPEG7MediaTimePoint()
          Constructor for objects of type MPEG7MediaTimePoint
MPEG7MediaTimePoint(long timePoint)
          Constructor for objects of type MPEG7MediaTimePoint
 
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

MPEG7MediaTimePoint

public MPEG7MediaTimePoint()
Constructor for objects of type MPEG7MediaTimePoint


MPEG7MediaTimePoint

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

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.