|
CAR (Context-Aware Retrieval) v1.0 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--AttributeTuple
An AttributeTuple is a vector of Attributes.
See the Basic Terminology section of the User Manual for a description and how AttributeTuples form part of CAR's data structure..
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Fields inherited from interface CarFace |
BOOLEAN_LITERAL, COLLECTION, DOUBLE_LITERAL, EXTERNAL, grammarNames, INTERNAL, KEYPHRASE, LITERALcapacityIncrement, LITERALinitialCapacity, MARKUP, SERIAL, SESSION, STRING_LITERAL, STRINGVALUE_LITERAL |
Constructor Summary | |
AttributeTuple()
|
Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getValue(java.lang.String name)
gets the value of the name="value" attribute pair, using the provided name. |
boolean |
hasAttribute(java.lang.String name)
indicates whether the named attribute exists within this object (case of name is unimportant) |
int |
numberOfAttributes()
returns the number of Attributes in the AttributeTuple |
void |
removeAttribute(java.lang.String name)
removes the attribute with the provided name. |
boolean |
same(AttributeTuple at)
indicates whether this AttributeTuple contains the same attributeTuple (same name=value pairs - order insignificant) as the provided one |
void |
setAttribute(java.lang.String name,
java.lang.String value)
sets an attribute to the given name="value" pair. |
static void |
t(java.lang.String s)
Provides trace output of string if -dAttributeTuple on command line of CAR run |
java.lang.String |
toString()
converts the object to a string. |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
|
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Constructor Detail |
public AttributeTuple()
Method Detail |
public static final void t(java.lang.String s)
public java.lang.Object clone()
clone
in class java.util.Vector
public int numberOfAttributes()
public java.lang.String getValue(java.lang.String name)
public void removeAttribute(java.lang.String name)
name
- the name of an attribute.public void setAttribute(java.lang.String name, java.lang.String value)
public boolean same(AttributeTuple at)
public boolean hasAttribute(java.lang.String name)
public java.lang.String toString()
toString
in class java.util.Vector
|
CAR (Context-Aware Retrieval) v1.0 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |