org.fcrepo.server
Class MultiValueMap

java.lang.Object
  extended by org.fcrepo.server.MultiValueMap

public class MultiValueMap
extends Object


Field Summary
protected static String here
           
 
Constructor Summary
MultiValueMap()
          Creates and initializes the WritableContext.
 
Method Summary
 boolean equals(Object obj)
          Test whether this map is equal to another similar one.
 String getString(String name)
           
 String[] getStringArray(String name)
           
 int hashCode()
           
 int length(String name)
           
 void lock()
           
 Iterator names()
           
 void set(String name, Object value)
           
 String setReturn(String name, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

here

protected static final String here
Constructor Detail

MultiValueMap

public MultiValueMap()
Creates and initializes the WritableContext.

A pre-loaded Map of name-value pairs comprising the context.

Method Detail

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 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 © 2011 DuraSpace. All Rights Reserved.