|
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
Attributes wrapper class which provides read only access.
Constructor Summary | |
ReadOnlyAttributes()
Construct empty attributes collection. |
|
ReadOnlyAttributes(int elems)
Construct attributes collection with given number of empty slots. |
|
ReadOnlyAttributes(Vector v)
Construct attributes collection using the vector of attributes. |
Method Summary | |
Enumeration |
attributes()
Return an Enumeration for iterating through the attributes. |
Object |
get(Name name)
Find the named attribute and return the associated value. |
Attribute |
lookup(Name name)
|
int |
size()
Return the number of attribute/value pairs in the collection. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ReadOnlyAttributes()
public ReadOnlyAttributes(Vector v)
v
- Attribute vectorpublic ReadOnlyAttributes(int elems)
elems
- the number of attributes to reserve initially.Method Detail |
public int size()
public Object get(Name name)
public Enumeration attributes()
public Attribute lookup(Name name)
public String toString()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |