|
Open SiteSearch 4.1.1 Final |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--ORG.oclc.xml.util.ReadOnlyAttributes
|
+--ORG.oclc.xml.util.Attributes
A class that encapsulates a list of attribute/value pairs.
| Constructor Summary | |
Attributes()
Construct empty attributes collection. |
|
Attributes(int elems)
Construct attributes collection with given number of empty slots. |
|
Attributes(ReadOnlyAttributes attrs)
Construct attributes collection by copying the passed attributes. |
|
Attributes(Vector v)
Construct attributes collection using the vector of attributes. |
|
| Method Summary | |
Object |
put(Attribute v)
Add a new attribute or replace the attribute if it already exists. |
Object |
put(Name name,
Object value)
Add a new attribute/value pair, or replace the value for attribute if it already exists. |
void |
remove(Name name)
Removed the named attribute from the collection. |
void |
removeAll()
|
| Methods inherited from class ORG.oclc.xml.util.ReadOnlyAttributes |
attributes,
get,
lookup,
size,
toString |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public Attributes()
public Attributes(int elems)
elems - the number of attributes to reserve initially.public Attributes(ReadOnlyAttributes attrs)
attrs - attributes to clonepublic Attributes(Vector v)
v - Attribute vector| Method Detail |
public void remove(Name name)
public Object put(Name name,
Object value)
public Object put(Attribute v)
public void removeAll()
|
Open SiteSearch 4.1.1 Final |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||