org.edg.security.authorization.map
Class TableMapCreator

java.lang.Object
  |
  +--org.edg.security.authorization.map.TableMapCreator
All Implemented Interfaces:
AttributeMapCreator

public class TableMapCreator
extends java.lang.Object
implements AttributeMapCreator

Class TableMapCreator. Creates a LinkedHashMap of a key mapping to a List of values, generated from the following XML snippet:

 <...>  -- the supplied "config" element
   <param key="key1" value="value1" />
   <param key="key1" value="value2" />
   <param key="key2" value="value3" />
    ...
 </...>
 

(The LinkedHashMap keeps the same iteration order as the entries were added.) NOTE: The map created from the XML snippet is not modifiable

Version:
%I%, %G%
Author:
Olle Mulmo
See Also:
AttributeMapCreator, AttributeMapFactory, LinkedHashMap

Constructor Summary
TableMapCreator()
           
 
Method Summary
 java.util.Map create(AttributeMapFactory factory, org.w3c.dom.Element config)
          Method create.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableMapCreator

public TableMapCreator()
Method Detail

create

public java.util.Map create(AttributeMapFactory factory,
                            org.w3c.dom.Element config)
Description copied from interface: AttributeMapCreator
Method create. Creates a Map from the supplied XML definition.

Specified by:
create in interface AttributeMapCreator
Parameters:
config - The configuration.
Returns:
Map The resulting map, mapping a key to a List of String values
See Also:
AttributeMapCreator.create(AttributeMapFactory, Element)