Class MapHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.ametys.runtime.util.MapHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class MapHandler extends DefaultHandler
This class is intended to be use as a simple helper to construct Maps from SAX events.
The incoming SAX document must follow this structure :
<root>
  <Name1>value1</Name1>
  <Name2>value2</Name2>
  ...
</root>

Each pair Name/Value will be put (as Strings) in the constructed Map