org.edg.security.authorization.map
Class RegexMapCreator

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

public class RegexMapCreator
extends java.lang.Object
implements AttributeMapCreator

Class RegexMapCreator. Creates a RegexMap from the following XML snippet:

 <!-- the supplied "config" node -->
 <map type="regex">
   <!-- the underlying map to treat as a regex table -->
   <map>
   </map>
 </map>
 

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

Constructor Summary
RegexMapCreator()
           
 
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

RegexMapCreator

public RegexMapCreator()
Method Detail

create

public java.util.Map create(AttributeMapFactory factory,
                            org.w3c.dom.Element config)
                     throws java.lang.Exception
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
Throws:
java.lang.Exception - In case of an initialization error
See Also:
AttributeMapCreator.create(AttributeMapFactory, Element)