org.fcrepo.server
Class MultiValueMap
java.lang.Object
org.fcrepo.server.MultiValueMap
public class MultiValueMap
- extends Object
|
Constructor Summary |
MultiValueMap()
Creates and initializes the WritableContext. |
here
protected static final String here
MultiValueMap
public MultiValueMap()
- Creates and initializes the
WritableContext.
A pre-loaded Map of name-value pairs comprising the context.
setReturn
public String setReturn(String name,
Object value)
throws Exception
- Throws:
Exception
set
public void set(String name,
Object value)
throws Exception
- Throws:
Exception
lock
public void lock()
names
public Iterator<String> names()
length
public int length(String name)
getString
public String getString(String name)
getStringArray
public String[] getStringArray(String name)
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object obj)
- Test whether this map is equal to another similar one. We can't just test
for equality of the underlying maps, since they may contain arrays of
Strings as values, and those arrays are only equal if identical.
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2012 DuraSpace. All Rights Reserved.