anvil.annot
Class Bookmark
java.lang.Object
|
+--anvil.annot.Bookmark
- All Implemented Interfaces:
- AnnotationInfo, java.lang.Cloneable
- public class Bookmark
- extends java.lang.Object
- implements java.lang.Cloneable, AnnotationInfo
Keeps information of a bookmark: name, (media) time, and
description.
Constructor Summary |
Bookmark(java.lang.String name,
javax.media.Time time,
java.lang.String description)
|
Method Summary |
java.lang.Object |
clone()
|
java.lang.String |
toXml()
Returns XML representation of information to be written to the
head of the Anvil annotation file. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public java.lang.String name
time
public javax.media.Time time
description
public java.lang.String description
Bookmark
public Bookmark(java.lang.String name,
javax.media.Time time,
java.lang.String description)
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
toXml
public java.lang.String toXml()
- Description copied from interface:
AnnotationInfo
- Returns XML representation of information to be written to the
head of the Anvil annotation file.
- Specified by:
toXml
in interface AnnotationInfo