1 2 //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ 3 // \\ 4 // Centre for Speech Technology Research \\ 5 // University of Edinburgh, UK \\ 6 // Copyright (c) 1996,1997 \\ 7 // All Rights Reserved. \\ 8 // Permission is hereby granted, free of charge, to use and distribute \\ 9 // this software and its documentation without restriction, including \\ 10 // without limitation the rights to use, copy, modify, merge, publish, \\ 11 // distribute, sublicense, and/or sell copies of this work, and to \\ 12 // permit persons to whom this work is furnished to do so, subject to \\ 13 // the following conditions: \\ 14 // 1. The code must retain the above copyright notice, this list of \\ 15 // conditions and the following disclaimer. \\ 16 // 2. Any modifications must be clearly marked as such. \\ 17 // 3. Original authors' names are not deleted. \\ 18 // 4. The authors' names are not used to endorse or promote products \\ 19 // derived from this software without specific prior written \\ 20 // permission. \\ 21 // THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK \\ 22 // DISCLAIM ALL WARRANTIES With REGARD TO THIS SOFTWARE, INCLUDING \\ 23 // ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT \\ 24 // SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE \\ 25 // FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES \\ 26 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN \\ 27 // AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, \\ 28 // ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF \\ 29 // THIS SOFTWARE. \\ 30 // \\ 31 //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ 32 // \\ 33 // Author: Richard Caley (rjc@cstr.ed.ac.uk) \\ 34 // Date: Tue Mar 31 1998 \\ 35 // -------------------------------------------------------------------- \\ 36 // Java wrapper around items. \\ 37 // \\ 38 //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ 39 40 package cstr.est; 41 42 import java.lang.*; 43 import java.util.*; 44 import java.awt.*; 45 46 import cstr.util.*; 47 import java.io.*; 48 49 public class Item 50 implements Named, Keyed, Featured 51 { Item()52 public Item() 53 { 54 this(0L, true, null); 55 } 56 Item(long handle)57 public Item(long handle) 58 { 59 this(handle, false, null); 60 } 61 Item(long handle, Object utterance)62 public Item(long handle, Object utterance) 63 { 64 this(handle, false, utterance); 65 } 66 Item(long handle, boolean m, Object from_utterance)67 Item(long handle, boolean m, Object from_utterance) 68 { 69 } 70 finalize()71 protected void finalize() throws Throwable 72 { 73 super.finalize(); 74 } 75 getItem(long handle)76 protected final Item getItem(long handle) 77 { 78 return null; 79 } 80 name()81 public String name() 82 { 83 return null; 84 } 85 getName()86 public String getName() 87 { 88 return null; 89 } 90 setName(String name)91 public void setName(String name) 92 { 93 } 94 getContent()95 public final Item_Content getContent() 96 { 97 return null; 98 } 99 getKey()100 public final Object getKey() 101 { 102 return null; 103 } 104 getS(String n)105 public String getS(String n) 106 { 107 return null; 108 } 109 getS(String n, String def)110 public String getS(String n, String def) 111 { 112 return def; 113 } 114 getFeature(String n)115 public String getFeature(String n) 116 { 117 return null; 118 } 119 getF(String n)120 public float getF(String n) 121 { 122 return (float)0.0; 123 } 124 type()125 public String type() 126 { 127 return null; 128 } 129 getStartTime()130 public float getStartTime() 131 { 132 return (float)0.0; 133 } 134 getMidTime()135 public float getMidTime() 136 { 137 return (float)0.0; 138 } 139 getEndTime()140 public float getEndTime() 141 { 142 return (float)0.0; 143 } 144 next()145 public Item next() 146 { 147 return null; 148 } 149 prev()150 public Item prev() 151 { 152 return null; 153 } 154 up()155 public Item up() 156 { 157 return null; 158 } 159 down()160 public Item down() 161 { 162 return null; 163 } 164 } 165